Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wierd PK Bug
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00684957
Message ID:
00688154
Vues:
24
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,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform