Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXCLUSIVE and USED()
Message
 
To
02/09/2008 15:59:24
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01344237
Message ID:
01344291
Views:
13
Jay,

My attention span is short as I am trying to solve some problems of my own, so I took a quick peek, the only two comments I have are

1) It seems to me that you are only storing the Exclusive status of the table, what about order, record pointer, relationships etc?
2) I would package the commands into a couple of functions one for saving the status and the other to restore, something like

loAlias1Status = SaveStatus('Alias1')
...
RestoreStatus(loAlias1Status)

where SaveStatus creates an object with the table name, exclusive status, record pointer etc as properties and RestoreStatus uses this object to restore it
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform