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

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

Recommended Posts

  • Newbies
Posted

How on earth do access the data in a -max field.

ordinarily it is formname.fieldname.value="5"

however search.-max.value="5" doesn't work.

Thanks in advance.

Ric

Posted

What it does

Specifies the maximum number of records that should be returned per page.

Value is

A number from 1 thru 2147483647, or the word "All". The default value is 25.

Syntax example(s)

Specify the maximum number of records using a link

<a href="FMPro?-DB=Contacts&-Format=format.html&-Max=10&-FindAll">First 10 Records</a>

Specify the maximum number of records using a form action

< form action="FMPro" method="post">

<input type="hidden" name="-DB" value="contacts.fp5">

<input type="hidden" name="-Format" value="format.html">

<input type="hidden" name="-Max" value="10">

<input type="submit" name="-FindAll" value="First 10 Records">

</form>

I've put space after the <

Posted

Just to make the fact explicit: the -max tag has nothing to do with Javascript or Java, it's CDML.

Have you downloaded the CDML Reference database from the FileMaker web site? They're all in there.

  • Newbies
Posted

Thanks garrycl I will try that, I was hoping not to do it that awy because if I extend the form it will change. Any how, at least it will work!!!

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