Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Concatenating
Message
De
04/06/1998 14:13:09
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00104850
Message ID:
00104853
Vues:
23
>Hi,
>
>I have a ComboBox based on a "Contacts" view. In this view I have 6 fields. I want my first column to be a concatenation of the first 3 fields, my second column the 4th field and so on.
>I tried in the RowSource property :
>
>v_Contacts.ds_tratamento_pre+v_Contacts.nm_contact+v_Contacts.ds_tratamento_pos,v_Contacts.dp_contact,v_Contacts.ncg_contact,v_Contacts.id_contact
>
>And it didn't worked.
>
>If I create 6 columns with :
>
>v_Contacts.ds_tratamento_pre,v_Contacts.nm_contact,v_Contacts.ds_tratamento_pos,v_Contacts.dp_contact,v_Contacts.ncg_contact,v_Contacts.id_contact
>
>everything works fine (but it's not exactly what I want).
>
>I know that must be something stupid that I'm doing, but I could not find any references to this problem in the documentation.
>
>Regards,

Create a temporary cursor using SELECT - SQL. Do the concatenating there. Then set the rowsourcetype property to 3 and the rowsource to the name of the cursor.

Hope this helps.
Ryan Hirschey
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform