Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KBizObj changes to allow default values (ie foreign keys
Message
De
12/03/2001 12:14:49
 
 
À
12/03/2001 11:35:55
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00479312
Message ID:
00484106
Vues:
31
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform