Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access the selected table...
Message
From
22/07/1999 11:26:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/07/1999 10:47:54
Paul Wyett
Resource Link Software
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00244721
Message ID:
00244758
Views:
13
>I have a combobox which selects data from a table with sql into a cursor on loading, which works fine - the combo box is filled with the correct data. I then right click in another control (list box) which brings up another form with some of the information of the first form filled in, allowing the user to complete the entry. When the user exits this form, I get the message "cannot access the selected table" and the combobox is no longer on the first form. If I use 'fields' instead of sql it works, but I would like to use sql for everything.
>
>Sql statement - select all consult.consult from consult.dbf into cursor clconsult
>
>I have other combo boxes on the form which do the exact same thing and work fine, just not this one. I have deleted the control and started over and re-entered the sql numerous times but can't find the problem. Any suggestions would be appreciated.
>
>
>Paul
Paul,
Do use SQL. But be sure any other combo (or another SQL -try cahnging its name) is not using the same cursor name "clconsult" .
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
Reply
Map
View

Click here to load this message in the networking platform