Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

populate combo box

Status
Not open for further replies.

spoye

Programmer
Joined
Nov 5, 2009
Messages
8
Location
US
can anyone tell me why i cannot populat a combo-box with the below code



DEFINE VARIABLE i AS INTEGER.
DEFINE VARIABLE itmcode AS CHARACTER FORMAT "X(26)" LABEL "Item-code" VIEW-AS COMBO-BOX.

FORM
itmcode
WITH FRAME main-frame SIDE-LABELS.
ON ANY-PRINTABLE OF itmcode
DO:
FOR EACH iix NO-LOCK:

ASSIGN itmcode:LIST-ITEMS IN FRAME main-frame = iix.item-code.
ENABLE itmcode WITH FRAME main-frame.

END.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top