Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which Method to put Query in?
Message
 
To
04/06/1999 16:07:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00226611
Message ID:
00226918
Views:
23
No dropdown - just a listbox. Works great - thanks for pointing me in the right direction - I think I've been leaning on my old ways too much. Inching my way into OO instead of jumping in.

>It would. This is dropdownlist as I get. Right ? If not you would need a tricky SQL unioning the displayvalue (check old -last week I think- threads fo cmbself_edit class code).
>Cetin
>>Cetin;
>>
>>I can probably do that! Will my list box still display OK when the result of the query is empty?
>>
>>>>I have a modal CHOOSER form which contains two list boxes. The list boxes point to cursors which are populated in the form's ACTIVATE based upon a passed parameter (DO FORM Chooser WITH "Manufacturer").
>>>>
>>>>Every SECOND time I run this form from my application, I get the error: "Cannot Access Selected Table", and one of the list boxes disappears. When I run the form a third time, it works OK.
>>>>
>>>>I've tried SELECTing a real table to make sure the form is not on a non-existant cursor at the wrong time - but....
>>>>
>>>>IAC - I suspect I'm putting my SQL to cursor queries in the wrong place. Which method should this stuff go into?
>>>>
>>>>TIA
>>>Michael,
>>>Directly make SQL "rowsource" and "rowsourcetype=SQL (3?)". Then combo(s) would only need a this.requery() in any case you want to change SQL where part.
>>>Cetin
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Previous
Reply
Map
View

Click here to load this message in the networking platform