Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Currentcontrol and sparse
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01621870
Message ID:
01621880
Vues:
48
>Strange, it gives error "The data source for this object must be a variable reference".
>When I do
>THIS.txt.ControlSource = THIS.Controlsource, then it works.
>But
>THIS.txt.ControlSource = THIS.ControlSource + "/10" then it gives the error.

Can you try assigning the controlsource in the property sheet or as 'MyTable.MyColumn/10' if in the code?

Also, check my _Assign method. You can try to do the same thing, have a property for the main value and just set ControlSource to be

tcSource + "/10", don't mention ControlSource in the code the way you do.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform