Allan H Posted June 1, 2007 Posted June 1, 2007 Hi everyone, I've been trying (for some time now) to figure out a way to automate the naming of an exported file from a calculated field, without the user having to paste the information in themselves. Is there a simple way to do this without using external coding ie AppleScript or VB? Cheers all Allan }:(
comment Posted June 1, 2007 Posted June 1, 2007 Yes, there is. See Help > Creating a database > Using variables.
Reed Posted June 1, 2007 Posted June 1, 2007 Using variables, you can set a dynamic path and filename in a script, and then use the variable in your file reference. Set Variable [$path; Get(DocumentsPath)&"/files/"&fieldName] Then in the export dialog: "filemac:$path" or "filewin:$path" or both depending on your platform.
Allan H Posted June 1, 2007 Author Posted June 1, 2007 Thanks Guys, I can't believe I've not been able to find that in the help menu before... It's so simple. Cheers Allan
Recommended Posts
This topic is 6384 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 accountSign in
Already have an account? Sign in here.
Sign In Now