March 13, 201312 yr How can I return the actual name of a field in a calculation? If the field is "guarantee" to return the text "guarantee" Thanks
March 13, 201312 yr Get(ActiveFieldName) will return the name of the field that has the focus - if that will do it for you Martie
March 13, 201312 yr Why do you need the field name? I don't know about the OP, but I use it for indirection methods all the time. Let's say you have a script that insert's the current time into a field, rounded to the nearest 5 min. increment; then let's say you need to be able to set 10 different time fields with this script, depending on the button a user clicks. I send the script a parameter with the field name I want to set, then use the 'Set Field by Name' step to set the specified field. Use this function to get the field name as text: GetFieldName ( Table::Field ) = "Table::Field" To extract just the field name portion of a fully-qualified field name, I use this calculation: GetValue ( Substitute ( GetFieldName ( Table::Field ) ; "::" ; ¶ ) ; 2 ) = "Field"
March 15, 201312 yr Author thank you works great I need the field name because I have lots of container fields that I store pictures in . I have named the fields after a specific web page and I will need to the names of the fields to easily make a text function that I can use to substitute code in dreamweaver.
March 15, 201312 yr Sounds questionable. Sounds like they should be related records where the attribute (page name or whatever) is one field; and the image is another field
March 15, 201312 yr ... Sounds like they should be related records where the attribute (page name or whatever) is one field; and the image is another field I second this opinion!
Create an account or sign in to comment