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

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

Recommended Posts

Posted

I have made a button to export records and some specified fields to an excel file on my desktop - the button and associated script works fine for me ( with administrator privileges) but it doesn't work for other users - they get the error message 'file is locked or in use' - can anyone tell me if I have made an error in the way the script works or is it a feature of Filemaker that you cannot make a button to export records?

My script is very simple ->

Export Records [Restore, "issue selection report.csv"]

Other users can use File > Export records OK, but aren't successful using my button.

Grateful for any help

Carol

Posted

... Most likely the file path is invalid? I.e. your desktop path is likely to be:

C:Documents and SettingsCarrol WilliamsDesktopyourfilehere.csv

Where as another users might be:

C:Documents and SettingsAlex BabkovDesktopyourfilehere.csv

Posted

hi

many thanks for this - it sounds like you're right - if I edit the script so it uses a dialog before exporting could this be the way for individual users to nominate where to place their file?

Carol

Posted

Carol

I thought I would just mention that there is a function Get(DesktopPath) which returns the path to the desktop folder for the current user.

You might be able to use this to keep things fully automated if you so wish

Phil

Posted

hi

thanks for this suggestion - we will be moving to FM 8 in the next six months so this may be something I can learn to do then

best regards

Carol

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