PDA

View Full Version : DELPHI question


dealwi8me
05-17-2003, 09:22 PM
I have just started with DEPLHI and i have this question


I keep getting this error

"Dataset not in edit or insert mode"

Do u know what should i do?


Thanks in advance

pwmasters
05-18-2003, 03:22 AM
The error message is pretty much as it implys, you haven't set the dataset to either edit or insert mode.

you will need to enter on of the following before u try and save the data to the datasource.

<dsname>.Edit;

or

<dsname>.Insert;

obviously replace <dsname> with whatever your Dataset is called.

Hope this helps