Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variables
Message
From
29/11/1999 12:20:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Variables
Miscellaneous
Thread ID:
00296416
Message ID:
00296416
Views:
67
I have a form that has a combo box and a command button. The combo box references a table called 'doctors' for example. The table has a field called drname which is displayed in a dropdown combo box.
The command button under command1.click runs a query to search the drname field for the highlighted name in the combo box. How do I tell the query under command.click which name is currently highlighted in the combo box?
I've tried referincing the combo box in the query by--
Under command.click I placed:

'vdrnam = thisform.combo1.value'

then my query filter says:

'where drname = m.vdrnam'

Any suggestions on what else I could try?
Next
Reply
Map
View

Click here to load this message in the networking platform