CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BCB1][BCB3] Dataset not in Edit or Insert mode



A good way to troubleshoot this is to make use of Builders links to your 
data prior to compile. If you place a grid on your form, you can then 
change items in the object inspector and if all is well when you make 
the Table or TQuery Active property true you will see your data in the 
grid. Doing this is a lot easier then trying to debug during runtime. 
However if you need to debug during run time I just put a break point in 
the code just prior to opening the datafile and then skip one line at a 
time until you get the error mx. I have been surprised in the past by 
which line is in fact causing the error. In your case I would guess that 
your code is in fact doing something that is making the BDE thing that 
it must write to the current record.
Good Luck
Mike Young


W Komornicki's Home Page | Main Index | Thread Index