November 29, 200619 yr 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
November 29, 200619 yr ... 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
November 29, 200619 yr Author 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
November 30, 200619 yr 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
November 30, 200619 yr Author 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
November 30, 200619 yr Well no, I do that all the time It's just wrong to give people false hope hehehe.
Create an account or sign in to comment