Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trouble linking two databases. Please help.

Featured Replies

  • Newbies

Hello everyone,

I am having some trouble. This is the situation. I have two databases, one called Profiles(holds the Last Name of a person and some other info) and the other called Records. I want to link these through the web so that when I create a new record in the Profiles database and enter all the data in it, I want the text field that holds the Last Name in the Profiles database to transfer into another text field in the Records database. Essentially, the Records database is almost like a sub-database to the names in the Profiles database. I am ale to do this using buttons, and Input, and Form, but I wondered how I would do it simply using A HREF?

The following is the code I used for a page with a button to create a new record in the Records database, after the data in the Profiles had been entered for that person:

"

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

<P><INPUT TYPE="hidden" NAME="-db" VALUE="profile.FP3"></P>

<P><INPUT TYPE="hidden" NAME="-lay" VALUE="Layout #1"></P>

<P><INPUT TYPE="hidden" NAME="-format" VALUE="newrecord.htm"></P>

<P><INPUT TYPE="hidden" NAME="-RecID" VALUE="[FMP-currentrecid]"></P>

<P><INPUT TYPE="submit" NAME="-findall" VALUE="Create New

  • 1 month later...

FMPro?-db=profile.FP3&-lay=layout%20#1&-format=newrecord.htm&-RecID=[FMP-CurrentRecID]&-Findall

A couple of things here:

1) check the html code for the # character in the layout name;

2) this form specifies a particular record in the database CurrentRecID then uses the action tag -Findall to create a new record. Why? I'd use -New. Perhaps this is just a typo.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.