Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASession(), but for session names?
Message
From
07/07/2008 15:46:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/07/2008 15:02:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01329560
Message ID:
01329572
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>I'm writing a tool which needs to do a few things on a few tables in... well, it needs to know in which datasession (too late now to rewrite it to work in development - it's already almost there to work at runtime). I need a tool to get me a list of datasessions with their names, just like the VFP's Data Session window shows. Does it cycle through _screen.forms, or is there a more elegant solution?
>
>Doesn't need to be for the faint of heart, this is programmers' tool.

Asession() gets all ids into an array and in VFP only session object and forms can have 'DataSessionID'.
Before VFP6 I was looping forms to find out the sessions. Probably you can use both and have them with 'names'?
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