uvic_coop Posted February 1, 2001 Posted February 1, 2001 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???
Keith M. Davie Posted February 2, 2001 Posted February 2, 2001 Not clear why you are using a "+". Not sure that is what you mean. See the thread this forum "Data formatting". It may provide a clue. Peace Keith M. Davie
Keith M. Davie Posted February 3, 2001 Posted February 3, 2001 "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).]
uvic_coop Posted February 3, 2001 Author Posted February 3, 2001 > 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now