andysuth
11-14-2008, 04:12 AM
Hi,
I'm modding a bit of code I wrote previously for a more simple form.
The original form kept all options on screen at the same time, but the new form has a pull down menu which changed what appeared on the form.
The issue is this XLS file isn't used in Excel, it's read into SolidEdge 2D - the free 2D cad program, and alters the drawings and then save the new drawing.
For this reason I'd always assumed that what was output was the record output, but it seems to be the form data. Hence when the fields are hidden, they don't appear on the XLS output.
This *can* be worked around, but for simplicities sake I'd prefer to have EVERY field of the record output. Can anyone seee a quick way of doing this?
I'd prefer not to monkey it up with a "show all", output XLS, then "re-hide the hidden" style sequence.
here is the two lines I currently use:
RunCommand acCmdSelectRecord
DoCmd.OutputTo acForm, "PanelOrderForm", "MicrosoftExcelBiff8(*.xls)", pathstring & "outfile.xls", False, "", 0
Thanks,
-Andy.
I'm modding a bit of code I wrote previously for a more simple form.
The original form kept all options on screen at the same time, but the new form has a pull down menu which changed what appeared on the form.
The issue is this XLS file isn't used in Excel, it's read into SolidEdge 2D - the free 2D cad program, and alters the drawings and then save the new drawing.
For this reason I'd always assumed that what was output was the record output, but it seems to be the form data. Hence when the fields are hidden, they don't appear on the XLS output.
This *can* be worked around, but for simplicities sake I'd prefer to have EVERY field of the record output. Can anyone seee a quick way of doing this?
I'd prefer not to monkey it up with a "show all", output XLS, then "re-hide the hidden" style sequence.
here is the two lines I currently use:
RunCommand acCmdSelectRecord
DoCmd.OutputTo acForm, "PanelOrderForm", "MicrosoftExcelBiff8(*.xls)", pathstring & "outfile.xls", False, "", 0
Thanks,
-Andy.