mhemans Posted December 7, 2004 Posted December 7, 2004 I am importing files from a pre-formatted Excel file. If only a couple of rows are filled in with info, and the rest of the fields are blank, but still formatted, Can I get FM to ignore the blank rows upon import?
Lee Smith Posted December 7, 2004 Posted December 7, 2004 Hi mhemans, I'm have trouble figuring out how can you know that the fields are formatted if they are blank? Could you mean that the records are blank? Excel exports separate records by rows, and fields by columns. Each row that has data in any of the columns will be imported as a record. Any row that is all blank, but is followed by rows that have data will be treated as a record (i.e. producing a blank record). I Hope that isn't too confusing. HTH Lee
mhemans Posted December 7, 2004 Author Posted December 7, 2004 They are formatted to include formulas for the Excel user. For example, column Z has a formula set in 43 rows. If data is only entered into the first 3 rows, FM still sees all 43 rows, and not just the 3 that have data. I don't want to have to import the extra 40 rows and then delete 40 records from FM. Hope that wasn't too confusing.
Lee Smith Posted December 7, 2004 Posted December 7, 2004 I don't think you have many choices here. Either you clear the field in Excel before export, or do a find for equal sign (=) in the field in FileMaker and Delete Found Set. I prefer to this in Excel, as if gives you a visual look to help ensure you are not deleting records you want to keep. HTH Lee
mhemans Posted December 7, 2004 Author Posted December 7, 2004 That is what I thought. Thanks for the help.
Newbies karen_kitch Posted December 7, 2004 Newbies Posted December 7, 2004 Have you thought about using the "update matching records in current found set add remaining records" This would make it so that you only have to delete one blank record instead of 40. I know it's still a pain though, and you would have to have unique data for one field in those three records that you could use as the "matching" field. I'm not sure what you're using it for so this way might not work for you.
Recommended Posts
This topic is 7292 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