fmp6andfmp7 Posted September 29, 2005 Posted September 29, 2005 I have a database of products which need to be exported in groups of 1000. There can be as many as 40000 or as few as 8000. The steps as I see them are: l. loop to export the records 2. if record count is greater then 1000 then export 1000 as file name 1.csv 3. else export remaining records and name as 1.csv I understand the logic of it but I do not know how to script it? My scripting ability is very basic. Any help would be great!
Reed Posted September 30, 2005 Posted September 30, 2005 Here is a file that will demonstrate what you are trying to do. In FMP8, it is easy to use variables to dynamically name the exported files, but with prior versions you have to use plugins or Applescript etc. (depending on the platform) In any case, you should be able to open the script in v7 if you don't have 8 yet, and see the logic behind it. You'll just have to use global fields instead of variables to set the position within the found set prior to omitting records. export1000.fp7.zip
Recommended Posts
This topic is 6996 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