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

exporting- saving multiple file, cross platform


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

Recommended Posts

Posted

Hello.

With the help of the forums and many hours of trial and error, i have successfully gotten my exporting working... mostly.

My script does a find for specific records, then saves those as a FP7 file, then does another find for other records saves those and so on...

ie:

find records A... export as "records_A_found.fp7"

find records B... export as "records_B_found.fp7"

etc...

The problem is that i have the export to path hard coded in and this works great on my mac, and i have even been able to getting working on my windows XP, however, it will not work on windows Vista. so, what id like to do is setup a variable to find the desktop path, locate a folder called Exports, then save the found records in that folder after each find but with the proper file name that i hard code... Im not sure this makes sense...i hope so...

I have found some topics on Get(DesktopPath) and such but cant seem to figure out how to add the folder name onto the end of the desktop path, then use the proper file name for the records that were found. Is this all done in a script, or do i need to setup some fields in the database with calculated results that each does a portion of the job needed, then setup a script that pulls it all together?

Im sorry if this isnt making much sense...its been a long day, but any thoughts would be much appreciated.

Thank you!

Posted

Hello.

With the help of the forums and many hours of trial and error, i have successfully gotten my exporting working... mostly.

My script does a find for specific records, then saves those as a FP7 file, then does another find for other records saves those and so on...

ie:

find records A... export as "records_A_found.fp7"

find records B... export as "records_B_found.fp7"

etc...

The problem is that i have the export to path hard coded in and this works great on my mac, and i have even been able to getting working on my windows XP, however, it will not work on windows Vista. so, what id like to do is setup a variable to find the desktop path, locate a folder called Exports, then save the found records in that folder after each find but with the proper file name that i hard code... Im not sure this makes sense...i hope so...

I have found some topics on Get(DesktopPath) and such but cant seem to figure out how to add the folder name onto the end of the desktop path, then use the proper file name for the records that were found. Is this all done in a script, or do i need to setup some fields in the database with calculated results that each does a portion of the job needed, then setup a script that pulls it all together?

Im sorry if this isnt making much sense...its been a long day, but any thoughts would be much appreciated.

Thank you!

Search help for "creating file paths"

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