PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV (earlier versions) → combo box in Windev 12 Express
combo box in Windev 12 Express
Started by Wim Steynen, Mar., 15 2010 5:11 PM - No answer
Posted on March, 15 2010 - 5:11 PM
I used the combo box wizard to set up a combo box named COMBO_EXPRESS_Leeftijd. I linked this combo to the field EXPRESS.ID. The RAD added a button to display a screen with an record for the current field EXPRESS_Leeftijd. However the value EXPRESS_Spel.Id always contains ZERO and not the chosen value. What do I do wrong?

HReadSeekFirst(EXPRESS_Leeftijd,Id,EXPRESS_Spel.Id)

// If EXPRESS_Leeftijd does not exist
IF HFound(EXPRESS_Leeftijd) = False THEN

// Message indicating that there is no EXPRESS_Leeftijd record linked to the current EXPRESS_Spel record
Info("No EXPRESS_Leeftijd record linked to the current record.")

RETURN

END

// Open the form window of EXPRESS_Leeftijd
Open(EXPRESS_WIN_Form_EXPRESS_Leeftijd)