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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Isloaded works for table? 1

Status
Not open for further replies.

gertNo1

Technical User
Sep 30, 2007
42
0
0
Hey Guys, got a question. Can you use the "CurrentProject" and the ISLOADED function to tell if a table is open? If not is there a way to tell if a table is open?

Thanks
 
Even better, is there a way to tell of the table has been updated? Whenever someone updates the table the owner wants to validate it.

Thanx again,
 
Is there a way to tell if a table is open:

If SysCmd (acSysCmdGetObjectState, acTable, "TableName") > 0 Then ' Table is Open

It returns 0 if the table isn't open.

For table validation, as Access doesn't support triggers you either need to lock down the interface and use forms with code to audit the changes, or restrict entries using check constraints, primary/foreign keys etc to only valid values.

John

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top