Hi! Help me with my problem please!!!

Keidy

Registered User.
Local time
Today, 07:22
Joined
Dec 5, 2006
Messages
26
Hi! I forgot completely how to join two fields of a table in one listbox, TAG and Equipment, i want to join them, but they have together separated by a comma or a space on a list box... could you help me?:rolleyes:
 
Last edited:
I'm assuming you're getting the values out of a table via a query.

In the source query, 'create' your own field with the following:
Fieldname: [TAG] & ", " & [Equipment]
 
thanks

thanks a lot, sorry for not being very clear, that's because i speak spanish. can you explain me how to do it but in SQL. It would be very nice and kind of you:D

Jonathan Kok said:
I'm assuming you're getting the values out of a table via a query.

In the source query, 'create' your own field with the following:
Fieldname: [TAG] & ", " & [Equipment]
 
Code:
SELECT [TAG] & ", " & [Equipment] AS fieldname FROM tablename;
 
Another Question

i have another question about that, if i want to create a field with that information but in the same table what do i have to do?
Jonathan Kok said:
Code:
SELECT [TAG] & ", " & [Equipment] AS fieldname FROM tablename;
 
1. Create the field in the table.
2. Add the field to your form.
3. Convert the field to a 'combo box'. This should bring up the wizard. Cancel it.
4. Set the source of the combobox to Table/Query, and put your SQL in the source box. Though you might get more mileage from using 'SELECT DISTINCTROW [TAG]....' instead.
 

Users who are viewing this thread

Back
Top Bottom