P
Paul C
Hi,
I'm trying to export a union query to a Fixed Width File.
The query refers to a control on a form for one of its
parameters. When the Export Wizard starts I get an
error "Too few Parameters. Expected 1".
I think this problem relates to the way Jet handles form
referenced parameters but I can't find any details as to
how the problem is solved. Can anyone give me some advice?
Thanks
A summary of the query is as follows:
SELECT ChqID, SupAccountCode, Right([DatePaid],4)+Mid
([DatePaid],4,2)+Left([DatePaid],2) AS
TransactionDate, "Debit" as DCMarker
From tblInvoices
Where SupAccountCode = [Forms]![ParamForm]![ParamControl]
Union All SELECT ChqID, SupAccountCode,
Right([DatePaid],4)+Mid([DatePaid],4,2)+Left([DatePaid],2)
AS TransactionDate, "Credit" as DCmarker
from tblInvoices
Where SupAccountCode = [Forms]![ParamForm]![ParamControl]
I'm trying to export a union query to a Fixed Width File.
The query refers to a control on a form for one of its
parameters. When the Export Wizard starts I get an
error "Too few Parameters. Expected 1".
I think this problem relates to the way Jet handles form
referenced parameters but I can't find any details as to
how the problem is solved. Can anyone give me some advice?
Thanks
A summary of the query is as follows:
SELECT ChqID, SupAccountCode, Right([DatePaid],4)+Mid
([DatePaid],4,2)+Left([DatePaid],2) AS
TransactionDate, "Debit" as DCMarker
From tblInvoices
Where SupAccountCode = [Forms]![ParamForm]![ParamControl]
Union All SELECT ChqID, SupAccountCode,
Right([DatePaid],4)+Mid([DatePaid],4,2)+Left([DatePaid],2)
AS TransactionDate, "Credit" as DCmarker
from tblInvoices
Where SupAccountCode = [Forms]![ParamForm]![ParamControl]