Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Contents of a .DBC
Message
 
 
To
09/05/2002 11:15:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00654513
Message ID:
00654522
Views:
16
>Is there an easy way to determine if a view exists in an OPEN database before trying to open the view? Opening the .DBC as a table and then locating the viewname only works if the database is first closed.
>
>Thanks in advance.

Eric,
Use the following:
adbobjects(ladbobjects,'VIEW')
return Ascan(ladbobjects,'V_MYVIEW') <> 0
HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform