Jump to content

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

Recommended Posts

Posted

I have noticed that some of you name global fields gfieldname. I was wondering if there is an entire naming convention standard usually or often used by FM developers. I am just getting back into development after years and would find this very useful. Whatever we used in the olden days for COBOL etc. wouldn't quite cut it.

Thanks, regards, and yes I'm old, Kay ;-)

Posted

quote:

Originally posted by kattatonic:

I have noticed that some of you name global fields gfieldname. I was wondering if there is an entire naming convention standard usually or often used by FM developers. I am just getting back into development after years and would find this very useful. Whatever we used in the olden days for COBOL etc. wouldn't quite cut it.


Theories abound, but no standard has been set forth by anyone in the industry.

I originally started with the standard Hungarian notation, but found its short, more cryptic names did not suit FMP that well.

The "g" notation for global fields is fine, but they end up getting stuck amongst normal fields.

I use the following:

User input fields are named normally

Global fields are named _GlobalField

Calculations are named [calc] CalcField

Summary fields are named [sum] SummaryField

Display calcs are named [disp] DisplayCalculation

And so on...

This is nice becuase it not only allows sorting by name, but also by a category.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.database-resources.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

Posted

The other thing that I do in my development is to start field name with a 3 to 4 character initial file designator. This can be particularly helpful identifying the originating file of a field in a multi-file solution.

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