Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change value in combo
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00494464
Message ID:
00495646
Views:
13
>Hi Ko.
>
>>> Set the rowsourcetype to View, <<
>
>Not quite < s >. There is not such RowSourceType as view. I'm sure that what you really meant was RowSourceType = 3-SQL.
>
>>> && Then requery the view with the list of names in it. (This is the view from the rowsource)
> Requery('cNames') <<
>
>Since the RowSource is a SQL statement, there is no view to requery. All that is needed is to Requery the combo here.
>
>Also, keep in mind that SQL operates on the contents of the file on disk and does not "see" what is in the buffer. Therefore, if you make changes to the users table and you want the Requery() to "see" them, you have to commit the changes before you requery() the combo.


However, there is a rowsource type of ALIAS which can be a view. I would guess that is what he is talking about.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform