Hi Ronald,
>In a multi-user program, what is the easiest way to tell if a table is opened by another user. I need to use the table from time to time exclusivly to do maintainance and will need to make sure all users are out of the table.
You could write a FOR loop to loop through any open datasessions and then use the USED() function to see if the specific table is open is that work area.
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote TechnologiesDeveloper's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development