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

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

Recommended Posts

  • Newbies
Posted

My apologies if this topic has previously been discussed but I wasn't able to find a thread on this specific issue.

I'm trying to script the import of a found set of records from one table to another within the same file. Unlike importing between tables of different files, the current import copies over all records in the table despite there being a window for that table with a found set. I've scripted this numerous times between files without a hitch (and in various versions). Is there an additional step that needs to be taken when the import takes place within a single file? ...or is importing a found set only supported between different files?

Thanks for your help.

  • Newbies
Posted

Sorry for wasting space here... In verbalizing the problem to a coworker it dawned on me that it might be an active window issue. Sure enough, when I added a step to make the found set window active (versus the destination table window) the import performed correctly. The need to do so didn't initially occur to me because I've typically performed imports between different files, each with only one window open, so specifying the active window was never necessary.

Hopefully my rambling here will serve as a help for someone else in a similar position :)

Posted

the current import copies over all records in the table despite there being a window for that table with a found set.

Is this the same window in which the script runs? If yes, then make sure the layout with the found set belongs to the same TO that is used in the import.

  • Newbies
Posted

Yes, it's the same TO. The problem was simply that I wasn't making it the active window during the import script step. (see my comment above)

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