Lookup

E

Eric

I try to get the value in subform 2. So i go to the table of subform 2
name tbl_Events and create a field name equip and in the lookup i wrote
this query but it still not showing any thing in the field:

SELECT tbl_EquipmentChronology.Equipment1 FROM tbl_EquipmentChronology
WHERE
tbl_events.PPVVOD_Outlet=tbl_EquipmentChronology.Outlet;

There are two sub forms in main form. One has value which are comming
from Table: tbl_EquipmentChronology

Outlet Equipment
2 ABCBCBD
3 DKJDKJD
4 KDJKDJK

Second has also a variable name outlet of table tblEvents. I need help
how to i display the equipment next to the outlet in

2nd subform from first subform. I dont want to save this into table
just need a display in the second subform.

Thanks,
 
G

Guest

SELECT [tbl_EquipmentChronology]![ Equipment1] & " " & [tblEvents ]![ outlet]
AS SomeName FROM tbl_EquipmentChronology RIGHT JOIN tblEvents ON
tbl_events.PPVVOD_Outlet=tbl_EquipmentChronology.Outlet;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top