Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Added record in SQL query uses wrong primary key record
Message
From
03/11/1999 13:40:13
Rex Mahel
Realm Software, Llc
Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00285258
Message ID:
00286337
Views:
27
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,
Previous
Reply
Map
View

Click here to load this message in the networking platform