Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Message Populating Control Source in Grid
Message
De
16/02/2015 07:45:02
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
16/02/2015 07:39:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01615357
Message ID:
01615360
Vues:
36
>I am attempting to load my grid by combinging two separate fields in my table (first and last name).
>
>The code is: thisform.mygrid1.controlsource = allt(first_name) + ' ' + alltl(last_name)
>
>I placed the code in the Load event of the form.
>
>When it pulls up, I received the following error message: The data source for this object must be a variable reference (Error 1742)

I think the trick was to put it like
thisform.mygrid1.controlsource = '['+alltrim(first_name) + ' ' + alltl(last_name)+']'
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform