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

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

Recommended Posts

Posted

Hello,

I was wondering if there is a Get function that retrieves the names of all of the fields from a specified table and returns them as a value list.

For example lets say you have a table of People with the following fields:

ID

FirstName

LastName

Address1

Address2

...

Then, GetFieldNames ( People ) would return:

ID

FirstName

LastName

Address1

Address2

...

A custom function could probably do this, but I am not very skilled at writing CFs. I did a really quick search of Brian Dunning's site, but did not see an appropriate CF.

Posted

No custom function necessary.

Use the FieldName() function but instead of a layout name for the second argument, supply the table occurrence name (making certain there is no layout with the same name).

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