Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open a table listed in a listbox
Message
 
To
03/07/2006 09:59:02
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133409
Message ID:
01133412
Views:
12
>Hi all,
>I put names in a listbox representing list of tables in a dir. How to directly open/use a table by doubleclicking one of the names in the listbox. Right now I use getfile(‘dbf’) but I want to directly open/use it just by select and click one of the items/names in the listbox.Thank you.
>
>Regards
>
>Syah N

I have a list with a RowSource Type of '7 - Files' and name of List1
my code on a seperate button to open the file is
use ThisForm.List1.list[2]+ThisForm.List1.displayvalue

I suppose you could try placing in the .DoubleClick() of List
use This.list[2]+This.displayvalue
Previous
Reply
Map
View

Click here to load this message in the networking platform