Edit Extended / Edit WorkArea - ABM / ABM2
Moderator: Rathinagiri
Re: recordlocking
My problem is not that I do not understand the different locking methods.
I want the EDIT EXTENDED to work with 'prelocking' - but I don' t know how to adapt the code.
Richard
I want the EDIT EXTENDED to work with 'prelocking' - but I don' t know how to adapt the code.
Richard
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: recordlocking
Hi Richard
Something like this does will help you ?
Happy HMG'ing
Something like this does will help you ?
Happy HMG'ing
Viva INTERNATIONAL HMG
Re: recordlocking
Hi Esgici,
Very nice job, I just had the time for a quick first look... some rermarks:
1. When a user Cancels or OK a record that is edited the record should be immediatly UNLOCKED (I think it stays locked until other record is selected)
2. When a user intends to add a NEW record (append blank) other users get (sometimes) RECORD LOCKED. Other users must do another append blank and lock that one.
The way it works now, only one user can enter new data.
3. When deleting a record I sometimes get: "record locked by another user" (something left from original code?)
4.. The text could be: Record is locked by another user; please try again.
Best regards
Richard
Very nice job, I just had the time for a quick first look... some rermarks:
1. When a user Cancels or OK a record that is edited the record should be immediatly UNLOCKED (I think it stays locked until other record is selected)
2. When a user intends to add a NEW record (append blank) other users get (sometimes) RECORD LOCKED. Other users must do another append blank and lock that one.
The way it works now, only one user can enter new data.
3. When deleting a record I sometimes get: "record locked by another user" (something left from original code?)
4.. The text could be: Record is locked by another user; please try again.
Best regards
Richard
Re: recordlocking
I had a little more time and figured finally out how the .CH system works.t57042 wrote:Hi Esgici,
Very nice job, I just had the time for a quick first look... some rermarks:
1. When a user Cancels or OK a record that is edited the record should be immediatly UNLOCKED (I think it stays locked until other record is selected)
2. When a user intends to add a NEW record (append blank) other users get (sometimes) RECORD LOCKED. Other users must do another append blank and lock that one.
The way it works now, only one user can enter new data.
3. When deleting a record I sometimes get: "record locked by another user" (something left from original code?)
4.. The text could be: Record is locked by another user; please try again.
Best regards
Richard
I already corrected points 1 and 4.
I get back when have more.
regards
Richard
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: recordlocking
Good newst57042 wrote: I had a little more time and figured finally out how the .CH system works.
OK, I'll wait.I already corrected points 1 and 4.
I get back when have more.
Regards
Viva INTERNATIONAL HMG
Re: recordlocking
Hello,
Included is zip file containing changes for Prelock of records in multuser network:
1. When opening dbf check is made to see if file is not exlusively in use by someone else.
2. When adding, deleting and editing a record it is locked before action
and unlocked when saving (or cancel) the action.
regards
Richard
Included is zip file containing changes for Prelock of records in multuser network:
1. When opening dbf check is made to see if file is not exlusively in use by someone else.
2. When adding, deleting and editing a record it is locked before action
and unlocked when saving (or cancel) the action.
regards
Richard
- Attachments
-
- edit_ex.zip
- (37.08 KiB) Downloaded 312 times
Edit Extended
The language selection doesn't seem to work here.
I tried to set it with HB_LANGSELECT in the sourcecode and with the 'language select' option in the menu.
Always get english.
How does it work?
Where is the sourcefile with the differnet language texts?
Richard
I tried to set it with HB_LANGSELECT in the sourcecode and with the 'language select' option in the menu.
Always get english.
How does it work?
Where is the sourcefile with the differnet language texts?
Richard
Re: edit (R)extended
With version 3.0.28 it works - with version 3.0.48 it doesn't?
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: edit (R)extended
It's just time of jump to UT8t57042 wrote:With version 3.0.28 it works - with version 3.0.48 it doesn't?
Regards
Viva INTERNATIONAL HMG