jjfcpa
enthusiast
Posts: 49
Post Rank (AVG):
FMP: 11 Advanced OS: Cross Platform
Tweet This Post!
|
I am a newbie and looking for a head start on the normal procedure that would be followed to update a solution.
I have a single-file solution that is close to being distributed and I know there will need to be updates. How do I give them an updated file without losing any data that they've entered? Any help or ideas appreciated.
|
bcooney
consultant
Posts: 3617

Loc: New York
Post Rank (AVG):
FMP: 10 Advanced OS: Cross Platform
Member: TechNet Skill: Advance
Certified:
Tweet This Post!
|
In response to jjfcpa
Try a search for "runtime", there are many posts. Here's one:
http://fmforums.com/forum/showtopic.php?tid/209924/
|
Fenton
Carpal Tunnel
Posts: 4987

Loc: San Diego, CA
Post Rank (AVG):
FMP: 10 Advanced OS: Mac OS X Leopard
Member: TechNet, FBA Skill: Advance
FMPug
Tweet This Post!
|
In response to bcooney
Here's another I posted today, long and tedious :-]
http://www.fmforums.com/forum/showtopic.php?tid/215871/post/361679/fromacti...
|
jjfcpa
enthusiast
Posts: 49
Post Rank (AVG):
FMP: 11 Advanced OS: Cross Platform
Tweet This Post!
|
In response to bcooney
Barbara
I read through the thread that you recommended and it's a little more clear. It seems that this is all a little more complicated than it should be because Filemaker's file management capabilities (those that interact with the OS) are lacking.
For example, is there an open file dialog that you can use to select the old file? I didn't see one.
I have to admit, there is a lot to like about Filemaker, but there is also a few things that make it much less flexible than other development systems. The overriding consideration that I like about Filemaker is the speed with which you can develop a working solution.
Not sure it's right for every solution, but then, what is?
|
TheTominator
master
Posts: 328
Post Rank (AVG):
FMP: 10 Advanced OS: Cross Platform
Member: TechNet Skill: Advance
Tweet This Post!
|
In response to jjfcpa
For example, is there an open file dialog that you can use to select the old file? I didn't see one.
I use a global container field (hidden on the layout) and the Insert File script step. GetAsText() on the field to get the filename they selected. It isn't a perfect UI solution, but it works without needing a plug-in.
|
bcooney
consultant
Posts: 3617

Loc: New York
Post Rank (AVG):
FMP: 10 Advanced OS: Cross Platform
Member: TechNet Skill: Advance
Certified:
Tweet This Post!
|
In response to jjfcpa
My script imports from a known path, and only throws an open dialog if it cannot find the file. After a user selects a file, its name is validated.
|