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

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

Recommended Posts

Posted (edited)

I have a script which copies sets of records from reference tables into temporary tables where they can be worked on.

So let's say I'm working with the "Priorities" table. I've got 3 records in there. "High", "Med" and "Low"

I use the import records script step (pointing it at our server fmnet:/192.168.2.250/Master.fp7) and I've set up the proper import order...

The only problem is, the script doesn't work. First it would only import one record. Now it won't import any records, and indeed, when I hit the "Specify.." import order button, normally I can page through the records with the right and left arrow buttons but here I cannot, it's as if there are no records. (But if I go to the layout in my solution, I see that there ARE records)

I have eliminated the possibility that I'm pointing at the wrong table and all potential pitfalls regarding script, layout, or record permissions.

I came to the conclusion that it must be a file corruption issue, so I tried exporting all the records in the reference table, deleting them, and then re-importing them. This made no difference. The same script step written the same way is successfully copying other tables so... what can I do? If it comes to it, I'll manually code the copying of the records, but I'd prefer to use the one script step if I can.

Anyone have any insight?

Edited by Guest
  • 3 weeks later...
Posted

The same result. Import reliability is sporadic. Sometimes you get one record, sometimes you get them all, sometimes you get none.

I figured out another way to accomplish what I was doing, but I'm still interested in why this might happen.

Posted

Are you making sure that you are showing all the records that need to be imported first? The import step will import the found set.

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