Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An easy one for the experts
Message
From
17/03/2006 11:30:46
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
17/03/2006 11:23:10
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01105330
Message ID:
01105335
Views:
26
if used("myalias")
 select myalias
  if justfname(dbf())=myfilename
    *-------------- it's okey
  else
    *--------- don't success ----
  endi
else
    *--------- don't success ----
endi
>I am running an app that uses an alias to refer to a table. When I run a report I want to check and make sure that a file is open and the alias is being used else show a message box saying that a file is not open. If it is, then the report should run. I have tried quite a few ways to get this done, but with no luck. The alias is the cause of my trouble. If it were just a filename, I could do this. Any ideas?
Previous
Reply
Map
View

Click here to load this message in the networking platform