Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Simon Arnold
  Where is Simon Arnold?
 Halifax
 United Kingdom
 Simon Arnold
 To: Asmed Miranda
  Where is Asmed Miranda?
 Lowell
 Massachusetts - United States
 Asmed Miranda
 Tags
Subject: RE: What settings (form & tables) are needed for multiuser application???
Thread ID: 740 Message ID: 745 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Wednesday, June 13, 2001 9:17:08 AM         
   


> > > 1- how can i get from nt4 the userid used at login from each station in vfp?
> > Use SYS(0)/
> >
> > > 2- Forms & tables settings to keep in mind for multiusers, retrieving-saving-editing-deleting recods?
> > Take a look at the datasession property, SET EXCL setting, table/record buffering etc. The tastrade sample app is a nice sample.
> >
> > --
> > Eric den Doop
> > www.foxite.com - The Home Of The Visual FoxPro Experts
>
> ******------------
> thank you Eric, will check tastrade app...

Under NT you can obtain the username from an Environment Variable called USERNAME

Try the following in VFP:

lcUserName = GETENV("USERNAME")

Hope this helps.

Simon Arnold
Westlake Computer Systems Ltd.
Halifax, UK.
simon.arnold@foxite.com

ENTIRE THREAD

What settings (form & tables) are needed for multiuser application??? Posted by Asmed Miranda @ 6/13/2001 7:54:08 AM
RE: What settings (form & tables) are needed for multiuser application??? Posted by Eric den Doop @ 6/13/2001 8:00:22 AM
RE: What settings (form & tables) are needed for multiuser application??? Posted by Asmed Miranda @ 6/13/2001 8:19:06 AM
RE: What settings (form & tables) are needed for multiuser application??? Posted by Simon Arnold @ 6/13/2001 9:17:08 AM
RE: What settings (form & tables) are needed for multiuser application??? Posted by Boudewijn Lutgerink @ 6/14/2001 11:36:46 PM