Top Experts [
learn more
]
Top 4-10
webko
9743 K
bandmandq
2458 K
Genx
1525 K
4.
tcmeyers
5.
kbata
6.
Martie
7.
Hammerton
8.
rrenfrow
9.
bneeman
10.
plegler
Welcome,
Guest
. Please
login
or
register
.
June 18, 2013, 10:48:57 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Welcome to the FileMaker Web Masters Exchange. If you have any questions about how to use this forum, please watch the getting started movie at:
http://www.fmwebschool.com/movies/forum1/forum1.html
27507
Posts in
6073
Topics by
1524
Members
Latest Member:
fmwebster
fmwebschool.com
FMTouch
FMTouch - FileMaker Databases on the iPhone and iPod iTouch
[SOLVED] How do you sync only a subset of all the database records?
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: [SOLVED] How do you sync only a subset of all the database records? (Read 2474 times)
dennislittlefield
Newbie
Offline
Posts: 2
[SOLVED] How do you sync only a subset of all the database records?
[Was worth 50 Kudos points!]
«
on:
October 17, 2008, 02:13:32 PM »
How do you sync only a subset of the database records? What if you only care about a small group of records? It would help the file be smaller on your iPhone.
Dennis
Logged
Michael Petrov
Chief Software Developer
Administrator
Hero Member
Offline
Posts: 4286
Kudos: 15522
Applications:
BlackBelt
(Guru)
FMTouch
(Guru)
Dolphin Cart Pro
(Guru)
FMStudio
(Guru)
USB Export
(Expert)
IPOST Web
(Expert)
Re: How do you sync only a subset of all the database records?
«
Reply #1 on:
October 17, 2008, 03:44:15 PM »
There is no way for the sync plugin to only pull a subset of records over - it has no access to found sets in FileMaker. Your best choice is to create a script that copies your subset of records to another table and then create a DDR file that uses only layouts based on that table - this solution works really well for a number of users who are using FMTouch today.
Logged
Michael Petrov,
Chief Software Developer
FMWebschool
800.353.7950
michael@fmwebschool.com
Keep up with our development, follow me on
Twitter
DrK
Newbie
Offline
Posts: 7
Re: [SOLVED] How do you sync only a subset of all the database records?
«
Reply #2 on:
October 21, 2008, 10:45:48 AM »
I'm sorry that this is "solved" as it seems that a mobile database would be much more efficient if you only had records that you needed. The FM database I used in the past on the Palm could only pull found records (it would execute the script before syncing). There must be a more elegant way to do this. As a physician, I do not need access to all my patients in my database, only the active patients.
Maybe if someone could show me an example of how to pull 850 records from 4280 records, as well as from linked records, I would understand. Would the database be two-syncing? My current Db is horribly slow, and that with only a few fields. I am not fully implemented, as I am waiting for the encryption to be restated, but may not be able to use FMTouch if it has to have my entire database.
Logged
jpruden
Newbie
Offline
Posts: 15
Re: [SOLVED] How do you sync only a subset of all the database records?
«
Reply #3 on:
November 10, 2008, 12:27:08 PM »
The way *I* would handle this situation would be to create a clone of the original database, find the records in the master file, then import the master into the clone.
The clone is now a copy of the original with only the found records. Sync this database to FMTouch and you've got your set.
Not quite as slick as the internal script, but infinitely simpler to implement for less savvy users.
Logged
DrK
Newbie
Offline
Posts: 7
Re: [SOLVED] How do you sync only a subset of all the database records?
«
Reply #4 on:
November 15, 2008, 12:22:20 PM »
But this would only be a static snapshot of the database, not a dynamic set. I would like to find a decent workaround for this, if FMtouch will never have this function. Any ideas would be appreciated. I was thinking of creating a portal to the original database that would only include active files, not inactive (for me).
Any other ideas? (I know this is "closed" but would still like a solution beyond "it can't do that". The FM community always seems to come up with something I never considered)
Thanks.
Logged
jpruden
Newbie
Offline
Posts: 15
Re: [SOLVED] How do you sync only a subset of all the database records?
«
Reply #5 on:
November 15, 2008, 01:03:36 PM »
The solution is only as static as you'd like it to be... the portal is probably a workable solution, but I wouldn't want to carry around the *whole* thing with me.
If you change the layouts, make a new clone and replace the old one.
If you change the data, it's pretty simple to set up a script that would run when you open the clone that would:
1. Delete the records in the subset database.
2. Perform a find in the original database that would find the records you'd like to sync.
3. Import the found set into the clone.
You can even have it sync back to the original database if you'd prefer.
Honestly, I mostly use FMTouch as a snapshot type of solution, but there are LOTS of ways to make FileMaker Pro do all of the work. Expecting too much from FMTouch will make it a monster... not exactly what we want on our phones...
Logged
DrK
Newbie
Offline
Posts: 7
Re: [SOLVED] How do you sync only a subset of all the database records?
«
Reply #6 on:
November 17, 2008, 09:59:49 PM »
That's an interesting solution with a clean import on sync. As I plan to have the FM touch database be a "Read Only" database, that should work fine. I'll hack it out. Thanks for the idea. I'm only a medium-use FM Pro person, not an expert. So some things that may be obvious to you can be an enlightenment to me.
Thanks. I'll let you know how it works out.
Logged
Michael Petrov
Chief Software Developer
Administrator
Hero Member
Offline
Posts: 4286
Kudos: 15522
Applications:
BlackBelt
(Guru)
FMTouch
(Guru)
Dolphin Cart Pro
(Guru)
FMStudio
(Guru)
USB Export
(Expert)
IPOST Web
(Expert)
Re: [SOLVED] How do you sync only a subset of all the database records?
«
Reply #7 on:
November 18, 2008, 12:55:31 PM »
Quote from: DrK on November 17, 2008, 09:59:49 PM
That's an interesting solution with a clean import on sync. As I plan to have the FM touch database be a "Read Only" database, that should work fine. I'll hack it out. Thanks for the idea. I'm only a medium-use FM Pro person, not an expert. So some things that may be obvious to you can be an enlightenment to me.
Thanks. I'll let you know how it works out.
In that case don't forget about the read only switch in the database settings which will make sure you don't make mistakes when browsing through your data.
Logged
Michael Petrov,
Chief Software Developer
FMWebschool
800.353.7950
michael@fmwebschool.com
Keep up with our development, follow me on
Twitter
DrK
Newbie
Offline
Posts: 7
Re: [SOLVED] How do you sync only a subset of all the database records?
«
Reply #8 on:
November 19, 2008, 08:03:01 AM »
Saw that. I did a test run and it worked great. It took the longest for the new database to import from the main database. The import into Fm Touch was very fast! Thanks.
PS Has anyone considered putting out some database templates for use with FMTouch (Contacts, inventory, etc)? I would love to see a test Db with different font sizes and styles to pick out the best to use with a specific database. For instance, in this database (as it is a view, only) I plan on using much smaller typeface so I can fit it on one screen, rather than the usual larger type for input. Any plans on doing this?
Logged
Michael Petrov
Chief Software Developer
Administrator
Hero Member
Offline
Posts: 4286
Kudos: 15522
Applications:
BlackBelt
(Guru)
FMTouch
(Guru)
Dolphin Cart Pro
(Guru)
FMStudio
(Guru)
USB Export
(Expert)
IPOST Web
(Expert)
Re: [SOLVED] How do you sync only a subset of all the database records?
«
Reply #9 on:
November 19, 2008, 08:47:29 AM »
Quote from: DrK on November 19, 2008, 08:03:01 AM
Saw that. I did a test run and it worked great. It took the longest for the new database to import from the main database. The import into Fm Touch was very fast! Thanks.
PS Has anyone considered putting out some database templates for use with FMTouch (Contacts, inventory, etc)? I would love to see a test Db with different font sizes and styles to pick out the best to use with a specific database. For instance, in this database (as it is a view, only) I plan on using much smaller typeface so I can fit it on one screen, rather than the usual larger type for input. Any plans on doing this?
We are going to be opening an FMTouch App Store within days which will have both paid and free premaid ready to customize solutions specifically designed with FMTouch in mind.
Logged
Michael Petrov,
Chief Software Developer
FMWebschool
800.353.7950
michael@fmwebschool.com
Keep up with our development, follow me on
Twitter
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Discussion and Announcements
-----------------------------
=> FMWebschools updates and announcements
===> FMWebschool Training Schedule
=> Newsletter and Community Discussion
=> Webinar and FMWebschool Events
=> General Discussion
===> CDML Old School FileMaker Web Publishing
===> FileMaker Mobile 7/8
=> Holiday Special Product Support
-----------------------------
FMTouch
-----------------------------
=> FMTouch - FileMaker Databases on the iPhone and iPod iTouch
===> FMTouch - Multi Language Discussion
=> FMTouch BlackBerry and FileMaker
-----------------------------
FMStudio
-----------------------------
=> FMStudio
===> FMStudio Connection and Installation Problems
=> FMStudio Pro
-----------------------------
FMWebschool Products and Solutions
-----------------------------
=> Dolphin Shopping Cart System
=> BlackBelt CDML Software
-----------------------------
FileMaker Books
-----------------------------
=> FileMaker Book Questions and Suggestions
-----------------------------
PHP Web Publishing Technologies
-----------------------------
=> FileMaker's New PHP API
=> FileMaker PHP, FX.php custom web publishing
===> Ajax Code and Examples
-----------------------------
FileMaker Inc Products and Technologies
-----------------------------
=> FileMaker Server 9
===> FileMaker Server 7 / 8 Advanced
=> Web Viewer
=> Instant Web Publishing
=> FileMaker XML, XSLT
-----------------------------
Other Resources
-----------------------------
=> Search Engine Optimization and Consulting
===> Marketing Book Reviews
=> FileMaker Web Resources
=> Free JavaScript Code Snips
=> Free PHP Code Snips
=> Web Jobs, Web Consulting
Loading...