S
slickdock
I posted previously, but I'm not sure I did it right, so I'm going to try
again. I'm not sure of the etiquette, so I hope I'm not being a dope:
I would like to transfer this text with the TransferText command to a txt
file, without quotes (which I get when I select Transfer Type: Export Word
for Windows Merge, or Export HTML), and without spaces at the end of the
field (which I get when I select Transfer Type: Export Fixed Width). I would
like a simple text list, like you see below:
blue
green
pink
orange
red
It works fine in a very basic select query when, while viewing the query
results, I select File, Export, and get the Export Wizard, then under
specifications I select {none} for text qualifier.
The problem comes with a more complex query. The query I want to use this
technique with has parameters. It returns the desired record based on
criteria:
The CustomerID field in the query has the criteria
[forms]![frmCustomers]![CustomerID].
Now when I go to the File, Export, FileType:
Text files, I now get the error message:
Export Text Wizard: Too Few Parameters. Expected 1.
I know that the problem is the criteria, because when I remove the
[forms]![frmCustomers]![CustomerID] criteria, the wizard works fine.
Is there a solution?
Thank you again.
again. I'm not sure of the etiquette, so I hope I'm not being a dope:
I would like to transfer this text with the TransferText command to a txt
file, without quotes (which I get when I select Transfer Type: Export Word
for Windows Merge, or Export HTML), and without spaces at the end of the
field (which I get when I select Transfer Type: Export Fixed Width). I would
like a simple text list, like you see below:
blue
green
pink
orange
red
It works fine in a very basic select query when, while viewing the query
results, I select File, Export, and get the Export Wizard, then under
specifications I select {none} for text qualifier.
The problem comes with a more complex query. The query I want to use this
technique with has parameters. It returns the desired record based on
criteria:
The CustomerID field in the query has the criteria
[forms]![frmCustomers]![CustomerID].
Now when I go to the File, Export, FileType:
Text files, I now get the error message:
Export Text Wizard: Too Few Parameters. Expected 1.
I know that the problem is the criteria, because when I remove the
[forms]![frmCustomers]![CustomerID] criteria, the wizard works fine.
Is there a solution?
Thank you again.