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 8763 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Any idea how to assign "+" to -token without it being parsed into a blank space?

The database I'm designing features a log-in screen where the user enters their institution (eg "University of Victoria") and password. The institution name is then passed throughout the database using tokens - a robust alternative to cookies.

However, unless "University+of+Victoria" appears in the -find request below, a "document contains no data" error occurs:

<A href="FMPro?-db=ProgramInformation&-lay=ProgInfoView&-format=coopdb_proginfo.html&-op=bw&instiname===[FMP-field: insti_input]&-max=10&-token.1=[FMP-field: insti_input]&-find">Program Information</A>

How do you tell FileMaker you *want* to pass on the "+" character???

Posted

"I receive a "document contains no data" error if the field value contains spaces."

Instead of "+" it needs formatting with "%20" to take care of spaces. "See the thread this forum 'Data formatting' It may provide a clue."

[This message has been edited by Keith M. Davie (edited February 02, 2001).]

Posted

> Not clear why you are using a "+". Not sure that is what you mean.

For a -find request performed through a hyperlink (eg <A href="FMPro?-db=ProgramInformation&-lay=ProgInfoView&-format=coopdb_proginfo.html&instiname=[FMP-field: insti_input]&-find">Program Information</A> ), I receive a "document contains no data" error if the field value contains spaces.

If you replace the spaces with "+" characters in the field value, the -find request works. (The FileMaker Pro Developer user guide and CDML Reference feature such an example under "-lop".)

Using tokens, I wish to pass the institution name entered on the log-in page to subsequent pages. Because they also contain hyperlink -find requests, I wish to retain the "+" characters in the field value.

Any idea how to preserve the "+" character than without having -token parse it into a space? Perhaps a special character which must precede the "+"?

Meanwhile, the only solution I can think of is pasting a field value formatted with "+" characters into a global variable and referring back to it rather than a token.

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