Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which Method to put Query in?
Message
From
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:
00226671
Views:
21
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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform