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

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

Recommended Posts

Posted
Get(ActiveFieldName) will return the name of the field that has the focus - if that will do it for you
 
Martie
Posted

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"
Posted

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. 

Posted

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

  • Like 2
Posted

... 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!

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