Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying calculated field in a form
Message
De
12/08/2005 13:50:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Displaying calculated field in a form
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01040587
Message ID:
01040587
Vues:
50
Hi all,

I have a form that is to return a calculated weight. The way I have it set up is obviously wrong, as it's returning the following error message:

"CALCWEIGHT is not an object"

Here's my setup:

In the Refresh method for the Frame that Calcweight is on:

"calcweight=use_size*use_size*blunt*.222"

The field itself has the ControlName of "calcweight" and the Name "calcweight."

In the InteractiveChangeEvent for the fields that affect the calculated value (use_size and blunt), I've got:

"thisform.refresh"

Anytime I change use_size or blunt, I get the error message above.

What am I doing wrong?

Thanks very much!

John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform