Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box RowSource
Message
From
11/08/1999 11:52:50
 
 
To
11/08/1999 11:03:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00252144
Message ID:
00252578
Views:
20
Nancy,
The only thing that's being populated in the combo box is the first record. The table (CORR_REG) contains question numbers. In this case, the only record that shows up when I click on the combo box is the first one which happens to be the number 1.

Here's a copy of the code. It's familiar to yours so I don't know what gives?

IF THIS.VALUE = 1
IF ThisForm.AnnCheck.ENABLED = .T.
ThisForm.AnnCheck.ENABLED = .F.
ELSE
IF ThisForm.MorCheck.ENABLED = .T.
ThisForm.MorCheck.ENABLED = .F.
ENDIF
ENDIF
ThisForm.CompTxt.VALUE = T_RENTER
ThisForm.ItemNumber.ROWSOURCE = CORR_REG.QUEST_NUM
ThisForm.ItemNumber.ROWSOURCETYPE = 6
ThisForm.ItemNumber.CONTROLSOURCE = CORR_REG.QUEST_NUM
ThisForm.ItemNumber.Requery()
ELSE
ThisForm.CompTxt.VALUE = ''
IF ThisForm.AnnCheck.ENABLED = .F.
ThisForm.AnnCheck.ENABLED = .T.
ELSE
IF ThisForm.MorCheck.ENABLED = .F.
ThisForm.MorCheck.ENABLED = .T.
ENDIF
ENDIF
ENDIF
Thanks in Advance.

J. Turner
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform