Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is the Table Open?
Message
From
13/04/2000 12:40:31
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00359251
Message ID:
00359350
Views:
10
>I think I understand what you are saying, so wouldn't the following determine wether or not the view is open?
>
>if used("viewname")
> if juststem(cursorgetprop("database", "viewname")) = "source"
> wait window "source!viewname is open" nowait
> else
> wait window "viewname is from a different database" nowait
> endif
>else
> use source!viewname in 0
>endif

This will work. cursorgetprop will return the name of the database of the currently open view, not rather a view (as I thought) existed as part of the database.

"There's always more than one way to do things!"

Thanks for your patience, Neil!
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform