Board index » delphi » Error: Dataset not in edit / insert mode

Error: Dataset not in edit / insert mode

I am trying to have 1 form with a page control edit more than one table.  I
have (1) dbnavigator control and depending on which page is active, I have
an expression "dbnavigate.datasource  :=  mydata.dsNames".  This seems to
work fine, but when I press the ADD button which has the line
"dbnavigate.datasource.insert" I get the error mentioned on the subject
line.  Help

thanks

 

Re:Error: Dataset not in edit / insert mode


Quote
>>, I have an expression "dbnavigate.datasource  :=  mydata.dsNames".  This seems to
>>work fine, but when I press the ADD button which has the line
>>"dbnavigate.datasource.insert" I get the error mentioned on the subject
>>line.  Help

Try doing an application.processmessages after you set the datasource for the navigator...?

===
Bill

Re:Error: Dataset not in edit / insert mode


Did not help any.  Any other suggestions?

Quote
WmBurke(TeamB) wrote in message <65v3ld$...@forums.borland.com>...
>Try doing an application.processmessages after you set the datasource for
the navigator...?

>===
>Bill

Other Threads