Michael and Michele

Having played around (as opposed to doing exhaustive testing), I'm of the opinion that the Excel column order is determined by the position of the fields on the layout. If the fields are in a grid, row1 (l to r) is followed by row2 (l to r) etc. If they are somewhat haphazard it's rather harder to determine the order - but it's basically from top to bottom / left to right. As far as I can see the time order that the fields are placed on the layout is irrelevant (as is the stacking order) - but maybe I'm wrong

cheers

Tom


On 5 Apr 2007, at 18:21, Michele Olson 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]
--
Michele Olson
FileMaker 7 Certified Developer
AppleSauce Productions, Inc.
Tel 218.327.2671

Reply via email to