Access 2007 sp2
I am using an export to write values from a query out to a text file.
the source query returns data based on the choices from a form.
All standard stuff.
I have included the form fields as parameters in the query.
When I use the vba to try and export I am constantly getting “Too few parameters Expected:4”
This is directly related to the parameters in the query but try as I might I cannot get the parameters recognised with the vba code output.
I have reduced and replaced the query criteria with fixed text and integer values and proven that the code does work when no parameter criteria are entered.
Has anyone experienced/resolved this prviously?
(previously found a thread on “Too Few Parameters” but it did not cover this issue”
Thanks
Alan