NetTalk Central

Author Topic: Multiple data sets and FM3  (Read 2541 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Multiple data sets and FM3
« on: December 04, 2011, 10:06:25 AM »
I was just working on a global Users file and it ocurred to me ....

If you have many data sets in different folders, how do you use FM3 to upgrade them all when there is a file change?

The file path names are set in the WebHandler so at runtime when the user logs in they will log in to their own data set. So if the dictionary has changed their data files will need to be upgraded.

You see, with a tradition Clarion app you always know the static location of the data. With multiple data sets it is a variable location depending on the loginID in my case.

I hope that makes sense.

John
« Last Edit: December 04, 2011, 10:08:43 AM by ambrit »

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: Multiple data sets and FM3
« Reply #1 on: December 04, 2011, 11:03:21 PM »
Hallo John,

You can do a process. but I did not bother to much to upgrade all files myself :-) FM3 will upgrade the file every time user will login.
So if you want to upgrade all , make a process of the changed file and put code to change the path and it will upgrade one by one...

Robert