S
Sunny
Here is the situation.
Tables:Clients,Orders,OrderDetails link to SQL server
Passthrough Query:
SELECT Clients.ClientId, Clients.ClientName, Orders.OrderDate,
Orders.OrderTotal, OrderStatus
FROM Clients INNER JOIN Orders ON Orders.ClientId = Clients.ClientId
Now on my form I would like to have a listbox which show all the clients who
has plcaed the order. Also I have one check box which allows users to see
all the clients or only clients whoes order is pending. I am thinking to add
code in checkbox click event to change listbox information. Now how can I
assign my passthrough query result into rowsource property of the listbox?
Thanks.
Tables:Clients,Orders,OrderDetails link to SQL server
Passthrough Query:
SELECT Clients.ClientId, Clients.ClientName, Orders.OrderDate,
Orders.OrderTotal, OrderStatus
FROM Clients INNER JOIN Orders ON Orders.ClientId = Clients.ClientId
Now on my form I would like to have a listbox which show all the clients who
has plcaed the order. Also I have one check box which allows users to see
all the clients or only clients whoes order is pending. I am thinking to add
code in checkbox click event to change listbox information. Now how can I
assign my passthrough query result into rowsource property of the listbox?
Thanks.