tovanah Posted September 24, 2015 Share Posted September 24, 2015 Using FMPA 13 and FMGo 13 on iPad running iOS 8.4 ... I have a script to save compacted copy of the current database. The database includes records with a container field with pictures taken with the iPad in FMGo. The compacted copy is large and includes all pictures! Intended behavior? Quote Link to comment Share on other sites More sharing options...
Feirefiz Posted September 24, 2015 Share Posted September 24, 2015 The compacted copy doesn't save field indexes, as far as I know. And according to FMI: When you save a compacted copy of a file, FileMaker Pro re-creates the entire database, fitting as much data into each block as possible. This copies the logical structure, or arrangement, into the new file and reclaims unused space. [/Quote] Quote Link to comment Share on other sites More sharing options...
Josh Ormond Posted September 24, 2015 Share Posted September 24, 2015 "Compacted" just means that it reduces all of the empty space in the file. Why would you expect it NOT to include the container data? Quote Link to comment Share on other sites More sharing options...
tovanah Posted September 24, 2015 Author Share Posted September 24, 2015 I thought it would exclude container data because the help page for FMP13 states the following about self-contained copies: For files used in FileMaker Go, choose self-contained copy(single file). Container objects will be embedded in the copy. To me that implies that self-contained embeds container data, and compacted excludes container data. Just an assumption on my part I suppose... Any suggestions on going about this anyway? Maybe store the pictures in a related local database? Thanks. Quote Link to comment Share on other sites More sharing options...
Feirefiz Posted September 25, 2015 Share Posted September 25, 2015 What's your goal? Quote Link to comment Share on other sites More sharing options...
Josh Ormond Posted September 25, 2015 Share Posted September 25, 2015 I almost always store photos/etc in a separate file or at least a separate table. What version of FM are you using? What is the connection to FM Go? ( since that is the forum you posted in ) Have you looked at Remote Containers ( if you are using FM 13 or 14 )? Quote Link to comment Share on other sites More sharing options...
tovanah Posted September 26, 2015 Author Share Posted September 26, 2015 I think external container storage will solve the problem, thanks Josh. Not sure why I didn't think of that easy solution! My goal is to be able to email a compact version of the database from an iPad. Having many records with a container field of photos taken on the iPad prohibits emailing a copy due to the file size. I'll test soon. Thanks. Quote Link to comment Share on other sites More sharing options...
tovanah Posted October 8, 2015 Author Share Posted October 8, 2015 Not external container storage... Remote containers... What do you mean by this specifically? A related file? Quote Link to comment Share on other sites More sharing options...
Josh Ormond Posted October 8, 2015 Share Posted October 8, 2015 http://help.filemaker.com/app/answers/detail/a_id/10244/~/storing-container-field-data-externally Storing externally in the sense you are talking about is the same as Remote Containers. As for the debate about including RC data or not...the best way to explain it is to direct you to this thread. It has a full discussion on it. Pay particular attention to Wim's comments. https://community.filemaker.com/thread/85886?start=0&tstart=0 What I referred to with the separate table or database, was storing the images in a separate file. And having a 1-to-1 relationship with the record you want to so the image on. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.