Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASession(), but for session names?
Message
De
07/07/2008 15:46:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/07/2008 15:02:20
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01329560
Message ID:
01329572
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform