Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

How to update data to newer version of a solution?


This topic is 7300 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a solution with several tables and each table with several fields, is there an easy way to import the data to the new solution version everytime I update the solution?

Posted

The best way is probably to separate the scripts, calculations, and rules of the system from the raw data. That way you would never have to worry about importing unless you actually changed a field definition (see the Separation Model forum for more information about this.) But if you didn't build your solution this way to begin with, this would require a major redesign of your database.

The simplest to implement in an existing solution would probably be a script that imports the data from the old version of each table into the new version. If you always rename the old version to a preset filename, this could be automated to a single button click. It would require a little effort to set up the first time, but you could then basically click a button and have the import run itself.

The biggest thing to beware of is accidentally changing database keys during the import process. Make sure you always uncheck the "Perform Auto Enter Operations" box when importing, or you may scramble your database relationships and lose historical information. Also make sure you Set Next Serial Value to a value higher than the current highest value for each auto increment field.

This topic is 7300 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.