Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo field in combo box
Message
De
26/07/2000 10:11:04
 
 
À
26/07/2000 10:03:17
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00396895
Message ID:
00397045
Vues:
15
>>i have a form with a comboxbox and a grid. my combobox has 3 columns as follows:-
>>custid (Character 10)
>>custname (Character 30)
>>comments (Memofield)
>>the data of which when selected, are to be transferred to a 3 column Grid respectively. i put the following code in the combobox's interactive method:-
>>with thisform
>>.grid1.column1.text1.value=this.list(this.listindex,1)
>>thisform.grid1.column2.text1.value=this.list(this.listindex,2)
>>thisform.grid1.column3.text1.value=this.list(this.listindex,3)
>>thisform.refresh
>>
>>the grid's column1 and 2 are fine but all i get in column3 is the word Memo but not its data. please show me how to transfer the data to column3. tks
>
>You need to change the control in column3 from a text box to an editbox. Textboxes always show "Memo" for memo fields. Check knowledgebase article "Q127880 - How to View Memo Fields as Edit Boxes in a Grid" for instructions.
>
THe problem is not with the grid as I read it, he's trying to make the third column of the combobox a memo, and AFAIK, that's not supported at all.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform