July 28, 201015 yr 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.
July 28, 201015 yr Try a search for "runtime", there are many posts. Here's one: http://fmforums.com/forum/showtopic.php?tid/209924/
July 28, 201015 yr Here's another I posted today, long and tedious :-] http://www.fmforums.com/forum/showtopic.php?tid/215871/post/361679/fromactivity/posts/#361679
July 29, 201015 yr Author 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?
July 29, 201015 yr 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.
July 29, 201015 yr 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.
Create an account or sign in to comment