shawnj985 Posted August 1, 2012 Posted August 1, 2012 Hello all Is there a command to capture the field name, not its contents, into a local variable?
fmhappyguy Posted August 1, 2012 Posted August 1, 2012 Usually you would use GetFieldName ( demo::fieldName ) What do you want it for?
shawnj985 Posted August 1, 2012 Author Posted August 1, 2012 I have a database with a layout with 4 fields to display images. Next to each one is a button to delete or clear out the field. Instead of using 4 different scripts based on each field, I would like to use one script but the script need to know what field name its focused on.
comment Posted August 1, 2012 Posted August 1, 2012 Unless the cursor is in the container field, there is nothing to capture. However, you can use the script parameter to pass the name of the field associated with each button.
Recommended Posts
This topic is 4848 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