Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Added record in SQL query uses wrong primary key record
Message
De
03/11/1999 13:40:13
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00285258
Message ID:
00286337
Vues:
25
Thanks



>Rex,
>
>>When I add a new record, I get two calls to NewId(), one for UInvDet.iId and one for iLotId, but they both increment the UInvDet record.>
>
>>I am trying to update both UInvDet and UInvLot from this view. UInvLot only really needs to be updated when a new lot number is added.
>
>In the "Default Value" call to NewID(), I recommend explicitly passing the table name (specified in the ID.dbf table). This ensures that NewID() uses the proper record in ID.dbf.
>
>Regards,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform