Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add lookup values 'On the fly' in MMF
Message
From
16/02/2000 13:34:58
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00332839
Message ID:
00333011
Views:
19
James,

The way MM works is you save the Parent information, then save all the Child information for that Parent. What I am looking for is a way to save information in the Lookup and have it available immediately, not after the Parent.Save(). For this to happen, I would need to save the Lookup information, and requery the lookup view. This would leave that information if the Lookup base table regardless of the outcome of the Parent.Save()

I was looking to see if this is possible, and how to accomplish this.

Thanks

Rex

>>Kevin. et al
>>
>>How can I add new information to my comboboxl.RowSource view 'on the fly'?
>>
>>Example:
>>
>>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.
>>
>>Have you had to solve this problem? How?
>>
>>TIA
>>
>>Rex
>
>Check out the cancel child on cancel parent option and the requery child on delete parent option in the bizobj (page 3). This should take care of the problem.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform