Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KBizObj changes to allow default values (ie foreign keys
Message
From
12/03/2001 12:14:49
 
 
To
12/03/2001 11:35:55
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00479312
Message ID:
00484106
Views:
32
Rex,

Thank you, I beleive you've solved my problem. Is it because of the "REPLACE" command that allow the defaults to be applied and not get the field states to trigger "Save Changes?" and also allow the record to be update to the underlying table?

If I wanted to 'pick up' the already existing defaults from the underlying table, and still populate the aDefaultValue array to use your algorithm - do you see any problem with that approach? I would like to set default values at the lowest level (table definition) and have them propagate where they would be used. If you don't see a problem, do you know what code snipit would go here to accomplish that in lieu of hardcoding the assignments?:

*!*****************************************************
*!* Store the specified valaues in the array property
*!*****************************************************
This.aDefaultValues[lnRows,1] = tcName
This.aDefaultValues[lnRows,2] = tcExpr

I will use your solution as is or with the above enhancement, if I can determine the code for it. Either way, thank you very much.

Gary.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform