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

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

Recommended Posts

  • Newbies
Posted

I have two similar contact files. One big, one small. I want to put the records from the small one into the big one, one at a time if I need to. How do I create a new record in the big file, and copy fields from the small file to paste into the big one. I can use a relationship but not lookups because the small file will eventually go away. I've tried a simple script starting in the small file using an external subscript which creates a new record in the big file and then selects a field in the small file, copies that and then pastes it in the selected field (based on the relationship I set up which I'm now realizing doesn't work)

Posted

Any reason why you can't just import the records?

If not, give it a try. Make a backup of your file first, then try the "Import Records" menu option. It will walk you through the process.

  • Newbies
Posted

I'm actually trying to set up a script so a user can click a button to copy a specific record and create that new record in the big file.

Posted

That is what I were doing to export some contacts of my Main Contact file to my Palm Contact File.

1 constant relationship from Palm Contact to Main Contact using global = 1 at left and index calc = 1 at right. (g_Hook in Palm, cHook in Main)

a set of global fields for adress, phone, name, ID.

The script goes in Main Contact file :

Set globals

External script - New records

External script - Set fields

(Setfield (Name,Constant::g_Name),....

I now use a portal and it is easier.

I can use a relationship but not lookups because the small file will eventually go away

Well, this would not be a problem as a lookup field is not a related field...

Posted

Further to what Ugo was saying, a lookup field might be a good way to go since the lookup field data is stored. Do not confuse it with a related field. The data will only change when you enter a new, valid key in the key field. When you're ready to get rid of the source database, you can simply convert the fields into regular fields if you like. The data will remain.

This topic is 7939 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.