thetempuser
Programmer
Hello,
I have a VFP table opened as shared. The table sits in a shared folder (with read/write priv) on my LAN. Users append records from a form then they close it. It works great. But only one user at a time can append. If more than 1 user opens the form and appends, the first one that appends can write into the table, the rest have to wait for him to close the form. I know that append blank locks the table header.
Ideally it would be to lock just appended blank records, so that all users can append. But I don't know the recno() to LOCK(). Is there a way for users to append all in the same shared table?
How can I overcome this so that users won't have to wait for 1 user to finish?
Or is there any other method for multi-appending in a shared table, besides append blank?
I used this as example:
Select c:\testing\test2 SHARED
APPEND BLANK
------how can I lock just this appended record?
Thank you,
Andrei.
I have a VFP table opened as shared. The table sits in a shared folder (with read/write priv) on my LAN. Users append records from a form then they close it. It works great. But only one user at a time can append. If more than 1 user opens the form and appends, the first one that appends can write into the table, the rest have to wait for him to close the form. I know that append blank locks the table header.
Ideally it would be to lock just appended blank records, so that all users can append. But I don't know the recno() to LOCK(). Is there a way for users to append all in the same shared table?
How can I overcome this so that users won't have to wait for 1 user to finish?
Or is there any other method for multi-appending in a shared table, besides append blank?
I used this as example:
Select c:\testing\test2 SHARED
APPEND BLANK
------how can I lock just this appended record?
Thank you,
Andrei.