Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataCombo (OLEDB)
Message
 
 
To
22/11/2001 05:59:33
Douglas Salla
Folhamatic Sistemas
Americana, Brazil
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00584840
Message ID:
00584962
Views:
27
Hi Doug,

The ListField property does allow only one filed to be displayed. You can create a third field in your recorset that combines previous two just for display. Something like
* ADO recordset
SELECT ACRONYM, DESCRIPTION, ACRONYM + DESCRIPTION ...
...
* Form
  .ListField = xestados.Fields(2).Name
>I know that already posted here that message in the group but I didn't still get to obtain success in which I want to do, it is the following:
>I have a RECORSET of a table of States that I created in ACCESS, that table has TWO FIELDS, the field of ACRONYM OF THE STATE and the field of DESCRIPTION OF THE STATE, it would like to play the TWO FIELDS FOR DATACOMBO (OLEDB), even so I only get to show A, see the code below:
>
>With ThisForm.Ole_Combo
> .BoundColumn = xestados.Fields(1) .Name
> .ListField = xestados.Fields(0) .Name
> .RowSource = xestados
>EndWith
>
>the one that I could do to play the TWO fields in DATACOMBO (OLEDB), I already sought in HELP, in sites that speak about DATACOMBO (OLEDB) but I didn't get to solve the problem.
>
>I am using VFP 7.0
>
>Thank you very much for the help of everybody.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform