Thanks, Michele, the cut and paste did it. What a strange, undocumented way to do it. I've used the variable technique before, but here I wanted to let the user determine the filename and location but wanted the order to preset. Maybe not the only way to do this, but the way I fell into.
Mike on 4/5/07 12:21 PM, Michele Olson at [EMAIL PROTECTED] wrote: > On Apr 5, 2007, at 11:47 AM, Michael D. Conner wrote: > >> In Pro 8.0, is there anyway to control the field order when using >> the Save >> As Excel script step? I have a simple layout of three fields. >> However, it >> insists on writing the Excel file with the fields in the order Project >> Count, Project Amount, Year when I want Year, Project Count, >> Project Amount. >> What I don't understand is that the order FM is using is not >> alphabetical >> (or reverse), creation order, or tab order. >> How does it determine the field >> order for Save Records as Excel? > The export order is the order the fields were placed on the layout. > You can cut and paste the fields in the order you want, or remove/ > delete, then use field tool to bring back on in the order you want. > > >> I want to save >> the records to Excel and would rather do it this way than with Export >> Records so the user doesn't have to set it to be an Excel file. > > You can use a variable to name the exporting file and you can control > both the file format and the fields that are exported by the user > without having to have a layout just to hold the fields you want > exported. > > > HTH, > > Michele > > > > [Mac OSX 10.4.8 Intel Dual Core FMPA 8.5v1]
