Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: mk sharma
  Where is mk sharma?
 mumbai
 India
 mk sharma
 To: sandeep singh
  Where is sandeep singh?
 ludhiana
 India
 sandeep singh
 Tags
Subject: RE: Alias name
Thread ID: 365360 Message ID: 365420 # Views: 47 # Ratings: 1
Version: Visual FoxPro 9 Category: VFP and .NET
Date: Wednesday, December 26, 2012 8:48:31 AM         
   


> Thank for Answer
> i used only Alias name
> some time 10-15 diffrent alias used one time
> i close All used dbs
> but some time some Alias used how can find used alias name in loop command
>
>
> > If you know the table name and the datasession number that you want the alias of then you can use AUSED() to get the alias name. Otherwise (which is weird since it is your own application/design), then I guess you just have to loop through all the workarea numbers of all the datasession(s) and check the ALIAS() of each.
> >
> > David
> > ..
> > .
> >
> >
> >
>
>
>
> Sandeep Singh (Ludhiana)

Try this.

lncount=aused(lotablename)
for i = 1  to lncount
  ?lotablename(i,1)
endfor



Warm Regards,
mk.

ENTIRE THREAD

Alias name Posted by sandeep singh @ 12/25/2012 10:43:20 AM
RE: Alias name Posted by David Mustakim @ 12/25/2012 11:19:00 AM
RE: Alias name Posted by sandeep singh @ 12/26/2012 8:39:33 AM
RE: Alias name Posted by mk sharma @ 12/26/2012 8:48:31 AM
RE: Alias name Posted by sandeep singh @ 12/26/2012 1:16:04 PM
RE: Alias name Posted by David Mustakim @ 12/26/2012 8:48:17 AM
RE: Alias name Posted by tushar @ 12/26/2012 9:47:16 AM