Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving the DBC name in a SP
Message
From
21/04/2005 09:49:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/04/2005 09:45:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01006870
Message ID:
01006972
Views:
20
>Hi Cetin,
>
>Thank you for your answer. But I didn't understand how your solution would work : won't it always return the current database, like DBC() would ?
>
>>use SomeTableFromDBC in 0 again alias Temp && Or loop and find one in use
>lcDatabase = cursorgetprop('Database','temp')
>use in 'temp'
>
>David

No David,
A table would return only its belonging database path not the dbc() which returns current.
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