Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form not working
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Form not working
Divers
Thread ID:
00929159
Message ID:
00929159
Vues:
57
I have a label caption on a form which tells me the total amount for a particular field on a table. Therefore when I run my form in the load event I have the following code:
SET default to "C:\Foxpro Projects\Lottery\Tables\"
LOCAL lcneil

USE winnings

sum ALL amount TO lcneil
thisform.label6.Caption = str(lcneil,5,2)
The problem is that I get an error message saying 'Unknown member label6'. I think it is something to do with when the form is loading is doesn't know the controls on the form at that point. What am I doing wrong?

Many Thanks in advance
Neil Lewis
IT R&D Manager
Velmore Ltd
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform