Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to switch of AutoIncError properly
Message
 
To
20/01/2004 22:15:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00868523
Message ID:
00870388
Views:
14
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
Map
View

Click here to load this message in the networking platform