Hi
I’ve been asked to write some data dump routines in my work database so that the results of queries can be downloaded into Excel. I’m trying to work this out manually in the query builder before writing code to hide the process.
There is a boolean field in my table called “ResSex”. The underlying field has no formatting, as I do this explicitly in all the forms and reports that reference this field. In the query builder I have given the field the format ;”Male”;”Female”. When the query runs I get the tick boxes and when I transfer the data to Excel using the toolbar button I get TRUE or FALSE. I’ve tried to use male/female as Access rejects ;”M”;”F” and substitutes /M/F for some reason.
How can I set up the query so that the words Male or Female get passed to Excel?