Jump to content
Server Maintenance This Week. ×

Search related fields in layout?


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

Recommended Posts

  • Newbies

We are trying to create a CDML page that will search related fields from "Table B" that are in a layout in "Table A". Here is a snippet of the code we're using. Email and Password are the fields don't live in Table A, but do appear in the WebLayout in TableA. FileMaker reports that no records match the request after clicking Submit. If I change the field names to ones that live in TableA the system works just fine.

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

<P><FORM ACTION="FMPro" METHOD="post">

<P><INPUT TYPE="hidden" NAME="-db" VALUE="TableA_.fp5">

<P><INPUT TYPE="hidden" NAME="-lay" VALUE="WebLayout">

<P><INPUT TYPE="hidden" NAME="-format" VALUE="results.html">

<input type="hidden" name="Email" value="==">

<input type="text" name="Email">

<input type="hidden" name="Password" value="==">

<input type="password" name="Password">

<input type="submit" name="-Find" value="Go!">

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

Any ideas?

Thanks!

Link to comment
Share on other sites

  • Newbies

OK, I think I just answered my own question. I created a new calculated field in Table A that corresponded to the fields I needed from Table B. I can't index the fields so finds are a bit sluggish at first - but hey, it works and that's good enough for me right now.

Link to comment
Share on other sites

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