Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access the selected table
Message
From
28/08/1998 06:31:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/08/1998 06:09:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00130903
Message ID:
00130905
Views:
18
>I have a list box in which a SQL statement is the data source, but at times it gives me the error while running as 'cannot access the data base' which is nor persistant and the list box goes blank..
>
>Does any one has solution for this.
>
>Thanks
>SHahsi
Shashi,
Cursor used in SQL seem to be external to listbox. I mean you might have set the rowsourcetype = alias and SQL selecting to that alias. If so instead directly set the rowsourcetype = SQL and rowsource something like "select mylookup from mytable into cursor crsLstBox" and only thisform.lstBox.requery when data needs to be updated.
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