Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show memo field in textbox
Message
De
11/10/2007 15:06:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01260360
Message ID:
01260391
Vues:
12
>>I would like to show memo field in textbox object. I have tried this
>>SELECT SUBSTR(memofield,1,40) as field1 FROM tableA INTO CURSOR aa
>>
>>Thisform.mygrid.Column1.text1.ControlSource = 'aa.field1'
>>
>>The problem is the content of Column1 is showed as Memo, not as SUBSTR of memo field
>
>1. What is the recordsource in that Grid?
>2. Where you did this SELECT?
>3. If the RecordSource is TableA why no just set ControlSource of that column to be : "=LEFT(memofield,40)"?

This SQL is simplified form of my original SQL.
The recordsource of the grid is aa

Ok. Thanks. It works with
SELECT LEFT(memofield,40) as field1 FROM tableA INTO CURSOR aa
Antonio Carlos Kleinübing
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform