Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add lookup values 'On the fly' in MMF
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00332839
Message ID:
00333358
Views:
12
>Rex,
>
>>I have an inventory transaction form. In the form I have a Parent of v_Inventory with a Child of v_InventoryDetail. The Child has a Lookup (DropDown Combo) of v_InventoryLot which is related to Child by an iInventoryLotId field. If I add a new element in Lookup and execute a Lookup.Save(), then cancel the Parent transaction, I still have the Lookup entry.>
>
>The cleanest implementation is to not save the Lookup until the Parent is saved. You can make the Lookup cursor table buffered so you can add new records without having them saved to the source table until you're ready.
>
>Regards,

Leave it to Kevin to come up with a simple, yet elegant solution!
Previous
Reply
Map
View

Click here to load this message in the networking platform