Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box RowSource
Message
De
11/08/1999 11:52:50
 
 
À
11/08/1999 11:03:57
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00252144
Message ID:
00252578
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform