Hi!
How you add a new record? Append Blank or INSERT command? When second - this is a bug in VFP comnfirmed by MS here:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q260227>Hi. VFP7 user.
>I am developing an invoice form that would print a completed invoice to a customer who is purchasing several items.
>
>Here's an outline of my problem:
>Form-contains a pageframe
>--page 1 contains a grid called from a class with 'AddObject'
>2. I click the 'Add line' button to add a line to the grid
>-- all works fine
>3. [Heres the problem]
>- I click on an active line (ie: edit) the grid *first*
>-- Then, when I click on the 'Add Line' button, I get the message 'Database in use by another user.' This is the problem.
>Note 1: I am working on my Win98 at home as a single user. I take the same laptop to work and plug it into the network.
>Note 2: I have code to add a line in the last field of the grid. I wanted my end users to be able to click on the button if they wanted to add a line without finding the last line on the existing form.
>
>Sorry if this is confusing. Thanks, Randy
>
>PS: is there an easier way to do a filled-in invoice?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.