Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Table

Status
Not open for further replies.

alisaif

ISP
Apr 6, 2013
418
AE
Hi

What is the best way to open a table whether it is open or not before. I am using the following syntax

If ! Used('RawPtm') && Here an alert occurs "File is in use"
Use rawPtm In 0 Shared && here I ignore it
Endif
Select rawPtm && Here it is saying "Alia RawPtm is not found"
..
..

If if the file is already in use why it is not selecting

Please help!

Saif
 
Here I want to say that I am using forms already saved in class.
If I change in that class it will change in all he forms.

Saif
 
Yes, you only need to change the class. You then may override it where needed.

Try it, but you'll see where you relied on tables already open and/or positioned on a certain record. That will need to be changed.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top