LVA Posted July 11, 2002 Posted July 11, 2002 I am using filemaker pro 5 and I need to export a filemaker report to excel using DBF format. When I do so , the field names don't appear as they are on the files. When the fields are from a related file after exported to excel they have the relationship name. How can I garantee that the name in excel will be the fields name like in filemaker or how can I change the name and choose what name I want to be written in excel ? Luiza
danjacoby Posted July 11, 2002 Posted July 11, 2002 How about exporting the records from the related file?
LVA Posted July 11, 2002 Author Posted July 11, 2002 The report I have to export has fields from the same file where the report layout is and another file. So I would have the same problem if I made the report using a different file. But the problem isn't the file where the report is. The problem is the layout field when exported to excel as I explained before. Anyway , thanks. Luiza
IdealData Posted July 12, 2002 Posted July 12, 2002 Consider building your report by making a new FM database which will have the values from the other files by doing some imports. Then make your report in the new file and do your DBF export. The file names will no longer be related, and you might want to take the opportunity to use different names in the new file.
IdealData Posted July 12, 2002 Posted July 12, 2002 ...alternatively For the related fields that cause the problem substitute them with calculated fields in the main file. The calculations are, of course, the related fields in the related file. It's a bit of extra storage, but it won't worry FMP.
danjacoby Posted July 12, 2002 Posted July 12, 2002 The problem is that you're trying to export related data. If it's a one-to-one relationship, you should just include the "related" data in the main file. If it's a one-to-many relationship, you can create a relationship in the related file, then create records in the related file which show the data from the main file, and export all the data directly from the related file. That way, all the field names will export. If it's a many-to-one relationship, just create calc fields in the main file that show the data from the related file.
LVA Posted July 23, 2002 Author Posted July 23, 2002 Thanks to you all ! I managed to do it by creating calculation fields (with the names I wanted to be printed on the report). These calculated fields recieved data from the fields I needed on the report. Then I exported these new calculated fields to excel . In my solution it would be better to create fields instead of creating another file. luiza
Recommended Posts
This topic is 8160 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 accountSign in
Already have an account? Sign in here.
Sign In Now