Hi Aleksey,
this works. But I had to change all dataenvironments in all
forms. Thanks.
Andreas
>>Hi,
>>
>>I just try to switch of the autoincrement error.
>>The command SET AUTOINCERROR OFF does not work
>>in the load event of a form with tables in
>>a dataenvironment. Unfortunately there is no property to set.
>>
>>I finally put the command in the load event:
>>CURSORSETPROP("autoincerror" ,.F., "mytable")
>>...
>>
>>This works. But every table has to be set unless
>>doing a FOR.
>>
>>Any suggestions. Thanks.
>>
>>Andreas
>
>Hi Andreas,
>
>Try to execute SET AUTOINCERROR command in DataEnvironment.BeforeOpenTables event.
>
>Thanks,
>Aleksey.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only