G
Guest
Hi all
I have a form with two listboxes. Listbox 1 is the result of a date range
query.
I would like to be able to select a customer in listbox 1 and show all past
orders by this customer in listbox 2. First, is this approach ok, and second
can someone show me how to do it? I have looked everywhere for examples, but
can't find any. I'm too new to figure this out. Below are the SQL statements
for the two listboxes. I sure would appreciate some help on this.
ListBox1:
SELECT [Order Date Query].CustomerID, [Order Date Query].StartDate, [Order
Date Query].Expr1, [Order Date Query].CustPhone, [Order Date Query].OrderID
FROM [Order Date Query];
ListBox2:
SELECT [Customer Query].CustomerID, [Customer Query].Expr1, [Customer
Query].Phone, [Customer Query].StartDate, [Customer Query].OrderID
FROM [Customer Query];
Thanks
I have a form with two listboxes. Listbox 1 is the result of a date range
query.
I would like to be able to select a customer in listbox 1 and show all past
orders by this customer in listbox 2. First, is this approach ok, and second
can someone show me how to do it? I have looked everywhere for examples, but
can't find any. I'm too new to figure this out. Below are the SQL statements
for the two listboxes. I sure would appreciate some help on this.
ListBox1:
SELECT [Order Date Query].CustomerID, [Order Date Query].StartDate, [Order
Date Query].Expr1, [Order Date Query].CustPhone, [Order Date Query].OrderID
FROM [Order Date Query];
ListBox2:
SELECT [Customer Query].CustomerID, [Customer Query].Expr1, [Customer
Query].Phone, [Customer Query].StartDate, [Customer Query].OrderID
FROM [Customer Query];
Thanks