Hi Folks,
I have been enjoying B4J a lot thanks to the creators!
I have a program that shows customers in a tableview and on selection the details are shown in textfields.
These may be changed/added/deleted etc and when one user is using the program all works well, however, with two users there is a problem.
An issue I have come across is that if you have two users changing the same file, when db.TransactionSuccessful is executed a "db locked" message comes up.
As both users were not trying to update at the same time I can only assume that a Read Lock is set and that jams the works up. Is there any way to prevent the Read Lock and only lock the db for updates? If that is not sensible is there any other way around it?
Thanks,
Hilton.
I have been enjoying B4J a lot thanks to the creators!
I have a program that shows customers in a tableview and on selection the details are shown in textfields.
These may be changed/added/deleted etc and when one user is using the program all works well, however, with two users there is a problem.
An issue I have come across is that if you have two users changing the same file, when db.TransactionSuccessful is executed a "db locked" message comes up.
As both users were not trying to update at the same time I can only assume that a Read Lock is set and that jams the works up. Is there any way to prevent the Read Lock and only lock the db for updates? If that is not sensible is there any other way around it?
Thanks,
Hilton.