Jump to content
Salesforce and other SMB Solutions are coming soon. ×

A script to import records


Ron K

Recommended Posts

When I was using FM 5 I was able to import a found set of records into another file automatically via a script. Now when I try to do the same function in FM 7 the source file closes and when it is re opened all the records are present and imported.

 

My basic structure for this script is something like this.

In the receiving file I have a script to import from the sending file.

Then in the sending or source file I have a script

1- Find the records I want

2- Open the receiving file

3- Runt the external script (the import script)

 

What am I doing wrong?

 

Thanks,

Ron

Link to comment
Share on other sites

This may sound strange, but i've always found it worked better to do scripted imports by calling an external script set up as an Export.

 

So File1, File2.

 

Instead of writing a script in File1 that imports the data from File2. My button in File1, calls a script i wrote in file2 that Exports the relevent data to File1.

 

This seems stupid, but this method has always worked better for me.

 

Enjoy. laugh.gif

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...

Important Information

Terms of Use