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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement