Hi all,
I've run into a problem exporting data to dBase V format from an Access query. Normally, my solution would be to change the export format, but right now that isn't an option.
The process I'm describing works as such: I pull data from a SQL Server database, fold, spindle and mutilate it, then take the results and export them to a .dbf. This process is time tested and 100% automated as most of the jobs that follow this process are pretty straightforward.
The oddball job is different from all the others in that a final query that is actually exported contains a dozen fields with display data generated by an immediate if (field: iif(blah=true, X)). The problem is that since its a generated text type, the fieldsize defaults to 255 on a field with a single character. Multiply that by 12-15 and I get a consistent "field will not fit in record" error.
The obvious solution is to change the query to a make table or append query with predefined fieldsizes, but that would hamper the automation bit if I had to create a separate output table for each one of these jobs. Is there any way to force a fieldsize in a select query?
I've run into a problem exporting data to dBase V format from an Access query. Normally, my solution would be to change the export format, but right now that isn't an option.
The process I'm describing works as such: I pull data from a SQL Server database, fold, spindle and mutilate it, then take the results and export them to a .dbf. This process is time tested and 100% automated as most of the jobs that follow this process are pretty straightforward.
The oddball job is different from all the others in that a final query that is actually exported contains a dozen fields with display data generated by an immediate if (field: iif(blah=true, X)). The problem is that since its a generated text type, the fieldsize defaults to 255 on a field with a single character. Multiply that by 12-15 and I get a consistent "field will not fit in record" error.
The obvious solution is to change the query to a make table or append query with predefined fieldsizes, but that would hamper the automation bit if I had to create a separate output table for each one of these jobs. Is there any way to force a fieldsize in a select query?