M
Maureen227
I am setting up cascading combo box to listbox. The combo box is based
on a query with this sql
SELECT [Query for Cust List].[CustNum], [Query for Cust
List].[CustName] FROM [Query for Cust List];
The list box should display all the invoices for the customer number
chosen in the combo box.
The sql for the list box is
SELECT distinct JobHeader.JobInvoice, JobHeader.CustNum,
JobHeader.JobDescript, JobHeader.JobDate
FROM JobHeader
WHERE ((JobHeader.CustNum= [Forms]![Existing Customer
List].[form]![cboCustList]))
UNION select distinct null, null
ORDER BY JobHeader.JobInvoice;
I get two difference error messages
When creating the list box based on a query with the above sql I get
the error.
"No value given for one or more required parameters"
If I paste the sql into the list box rowsoursce I get this message,
when I open the form.
"Query input must contain at least one table or query"
I have working cascading combo box on other forms using different value
the sql structure looks the same.
Any help would be appreciated
Maureen
on a query with this sql
SELECT [Query for Cust List].[CustNum], [Query for Cust
List].[CustName] FROM [Query for Cust List];
The list box should display all the invoices for the customer number
chosen in the combo box.
The sql for the list box is
SELECT distinct JobHeader.JobInvoice, JobHeader.CustNum,
JobHeader.JobDescript, JobHeader.JobDate
FROM JobHeader
WHERE ((JobHeader.CustNum= [Forms]![Existing Customer
List].[form]![cboCustList]))
UNION select distinct null, null
ORDER BY JobHeader.JobInvoice;
I get two difference error messages
When creating the list box based on a query with the above sql I get
the error.
"No value given for one or more required parameters"
If I paste the sql into the list box rowsoursce I get this message,
when I open the form.
"Query input must contain at least one table or query"
I have working cascading combo box on other forms using different value
the sql structure looks the same.
Any help would be appreciated
Maureen