Hi All
I have recently upgrade from FWH11.05 to FWH14.04 and also converted to Harbour but I don't think the problem comes from Harbour.
I use MDI in my apps and the tdatabase class.
I have one window that has a product database and using xbrowse bOnPostEdit I enter the delivered quantity of a product into a cell
(there can be multiple lines of items )- leaving that screen open I open another screen to invoice the product and when I save the invoice
I get a 'record in use' error - all the items in the first screen get processed except the last one I entered data into.
This does not happen with FWH11.05 and xHarbour
Cheers
Colin
Record in Use
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Record in Use
Are you locking the record while it is being edited?
-
- Posts: 310
- Joined: Mon Oct 10, 2005 5:10 am
Re: Record in Use
Hi James
I leave the record locking/unlocking to tDatabase and xBrowse.
Cheers
Colin
I leave the record locking/unlocking to tDatabase and xBrowse.
Cheers
Colin
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Record in Use
Colin,
Then I would guess it is due to changes in FWH in the newer version. I doubt that it is Harbour, but you could test this by compiling with the newer version of xHarbour and the newer version of FWH. If you still get the error, then it is due to changes in FWH.
However, either way, I think you will need to fix the problem by changes to your code.
James
Then I would guess it is due to changes in FWH in the newer version. I doubt that it is Harbour, but you could test this by compiling with the newer version of xHarbour and the newer version of FWH. If you still get the error, then it is due to changes in FWH.
However, either way, I think you will need to fix the problem by changes to your code.
James
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Record in Use
Mr Colin
We would like to investigate the problem. We shall be glad if you can post a self contained example which we can compile and test at our end. You may use any DBFs in the samples folder.
Note: By default, xbrowse creates bOnPostEdit codeblocks internally. They work efficiently. It is desirable not to override these default codeblocks with user codeblocks.
We would like to investigate the problem. We shall be glad if you can post a self contained example which we can compile and test at our end. You may use any DBFs in the samples folder.
Note: By default, xbrowse creates bOnPostEdit codeblocks internally. They work efficiently. It is desirable not to override these default codeblocks with user codeblocks.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
-
- Posts: 310
- Joined: Mon Oct 10, 2005 5:10 am
Re: Record in Use
Mr Rao
Can you give me your email address and I will send a sample - colin@techdata.net.au
Regards
Colin
Can you give me your email address and I will send a sample - colin@techdata.net.au
Regards
Colin
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Record in Use
Thanks for pointing out the issue.
This is fixed in ver 14.06 to be released soon.
This is fixed in ver 14.06 to be released soon.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India