G
george
Hi,
I have two forms based on two tables t1 and t2 (each form
based on one table). I also have a union query based on
the two tables. Based on this query I have a list box. Is
it possible to program the click event of the list box so
that it opens the corresponding form (out of the two
forms) for the specific entry? Could you give me some
sample code?
UNION QUERY:
SELECT ti.field1, t1.field2
FROM t1
UNION
SELECT t2.field1, t2.field2
FROM t2
Thanks in advance, George
I have two forms based on two tables t1 and t2 (each form
based on one table). I also have a union query based on
the two tables. Based on this query I have a list box. Is
it possible to program the click event of the list box so
that it opens the corresponding form (out of the two
forms) for the specific entry? Could you give me some
sample code?
UNION QUERY:
SELECT ti.field1, t1.field2
FROM t1
UNION
SELECT t2.field1, t2.field2
FROM t2
Thanks in advance, George