Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wierd PK Bug
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00684957
Message ID:
00688154
Views:
23
Kevin,

Thanks for the ideas. Item 2, specifying the VFP table in the NEWID() function, I do standard with all my tables.

Your STRTOFILE() idea is interested, and I'll try it out.

>David,
>
>It's hard to tell from here why your alias is getting switched when your run the application, but not when you step through the code, but I have a few suggestions for you.
>
>1. Add STRTOFILE() statements in your code that write out the current method, line number and alias. This will help you nail down when the alias is getting switched.
>
>2. FYI, when specify the default value for a primary key in the VFP Table Designer, rather than just specifying NewID(), you can pass the name of the table: NewID("MyTable").
>
>Regards,
Previous
Reply
Map
View

Click here to load this message in the networking platform