Link to home
Start Free TrialLog in
Avatar of blash
blash

asked on

Table2: Dataset not in Edit or Insert mode

I get this error message:
Table2: Dataset not in Edit or Insert mode.

How do I work it around.

Blash

Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

Hello

  That's you are trying to call post method for the table, but u didn't add new record or modify record
you need to call append or edit befor post

 Table2.Edit;
 Table2['CustNo'] := 99;
 Table2.Post;

  but if you didn't call edit, it will give you the error message that u wrote

Best regards
Mohammed Nasman
ASKER CERTIFIED SOLUTION
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial