Glenn Johansen
2008-12-03 11:59:53 UTC
see "reprocess" in the OLH.
- glenn
- glenn
Hello everyone,
I have an application running on a network, so implicit locking is a bit
of an issue with me.
I'm trying to figure out how to use isRowLocked so that I can check
(before I have the user edit fields of a row in a form) if the row is
being edited right then.
In my code, I have the line in my EditButton_onClick function
if form.rowset.isRowLocked()
msgbox("Rowset is being edited right now")
return
endif
To test, I run the application and have a workstation edit a row in the
form. Then I go to another workstation and do the same thing. I am
expecting to see the above message box, but I don't. Instead, the window
"Row is in use by another. Retrying lock..."
If it is indeed locked, then why doesn't isRowLocked() work?
TIA for your help.
Gabriel Picache
I have an application running on a network, so implicit locking is a bit
of an issue with me.
I'm trying to figure out how to use isRowLocked so that I can check
(before I have the user edit fields of a row in a form) if the row is
being edited right then.
In my code, I have the line in my EditButton_onClick function
if form.rowset.isRowLocked()
msgbox("Rowset is being edited right now")
return
endif
To test, I run the application and have a workstation edit a row in the
form. Then I go to another workstation and do the same thing. I am
expecting to see the above message box, but I don't. Instead, the window
"Row is in use by another. Retrying lock..."
If it is indeed locked, then why doesn't isRowLocked() work?
TIA for your help.
Gabriel Picache