Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5235 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have an invoice layout (it's a Form) in my database that I need to export to Excel. Fields are sometimes stacked on top of one another, side by side, etc. When I export as Excel, or Save as Excel, it just lays out all the fields as columns side by side in a table. I need to export this data to excel so it looks like it does on the Form layout. What's the best way to do this?

Thanks,

Mike

Posted

What's the best way to do this?

Hi Mike,

Excel isn't the best choice here. Excel will always produce rows (which are FM records) and columns (which are FM fields). If you want a reproduction, Save As PDF. Otherwise you will need to use a layout where the fields are not stacked and only the fields you wish to display are on the layout but it STILL will not end up looking like your invoice.

And if you have a portal (lineitems), the first row of the lineitem will have the invoice information but the rest of the portal lines will not.

Posted

Possibly. I am not sure how one stacks fields on top of one another in Excel. Try recreating the form in Excel and saving it as Excel 2002/2003 XML format. If it still looks alright, you can use the file as the basis for your XSLT style sheet.

Posted

OK. Thanks, guys. So, if a client needs access to data in an editable format is it kind of standard practice to deliver both a formatted PDF and then an excel doc of just the line items portion of the invoice in a table view?

I could try the XSLT approach to reproduce the form layout, but if it's non-standard I'm not sure I want to take the time to write it.

Posted

I am not aware of any standard practice in this area. I think the client has access to editable data in Filemaker? Though if it's past invoices, they shouldn't be allowed to edit them anyway.

Posted

Sorry, I should have said "vendor" before instead of client. Yes, the client would most certainly have access to editable data.

I think I'm going to give that XSLT approach a shot. Would come in very handy.

Thanks again!

Posted

Why would you want anyone to edit data outside of the database? What good is the data in the database, then?

Posted

Well, if the vendor needs to injest the invoice into their own database it would need to be in a format amenable to that. A PDF won't work so well. They would need to re-enter all the data. That's why we're looking to excel.

So, yes, they would not be editing data in our database. They'd just be injesting into their own database.

Posted (edited)

If they need to import the data into their own system, then the layout is not important. On the contrary, they would want the data to be organized in a standard rows/columns format (spreadsheet, tab or comma delimited, or XML) that can be easily imported.

Edited by Guest

This topic is 5235 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.