Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Is there a way that you can pull the comments that you type under the Field (in Define Fields), other than doing a DDR?

TIA

Kia

Posted

Hi David,

Thank You Sir. I went right by that function. I was convinced that it was going to be a "Get Function"

:)

Thanks Again,

Kia

  • 1 year later...
Posted

I am trying to output the field comment but when I use the syntax:

FieldComment (filename;fieldName) I get an interrogation mark instead of the comment (I have made sure the size of the field is large enough to display the comment). The field to display the comment that I am trying to put on a layout is defined as follows:

fieldcomment("Filename";"fieldname").

Also tried

fieldcomment("Filename";"Tablename::Fieldname")

and

fieldcomment(Get(Filename);"Tablename::Fieldname")

Any idea what I'm doing wrong?

Posted

Thanks for your reply but lthough they appear to be unnecessary, removing the quotes around the field name doesn't help. I did get rid of the interrogation mark by changing the storage option to make it a global field but now the field comes out blank (I have, of course, put a comment in the field I am using for testing).

Posted

Hm. You do need the quotes on both the file and field name. I wonder what that says about the how the function operates...usually you don't need quotes around a field name.

FieldComment("mysandbox"; "table::fieldname") works correctly in my file.

Posted

Any chance you could send me a small sample database so I can see the syntax correctly. It's probably some very trivial thing that I'll see right away in a sample file.

Thanks.

Posted

Yes, this did help! Since it worked and I couldn't see any difference in the syntax, I realized the problem was in my file. Turns out that you cannot have a space in the filename. I usually avoid spaces in filenames but this file was developed by someone else and the filename consisted of 2 words; removing the second word did the trick. Thanks for your help!

Posted

File names can have spaces, but not periods. Periods breaks the Get( FileName ) function.

Posted

Right Vaughan, it was not the space in the name finally. There is just something very unreliable about the fieldcomment function. I can seem to figure out why sometimes it works, sometimes not. One example of how weird it is is that if I erase the comment in the field defintion, it will still appear on the layout! And if I try to change the def, the old def still appears. I have to delete the field that displays the comment and then sometimes I'm back to square zero because it will no longer display anything. Grrrrrrrrr. I think I'll use a repeating field to document the fields as someone else suggested.

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