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.

Database A Database B

Featured Replies

Hello,

I have database A that has a auto entered serial number field called eventID. And I have a database B that has a text field called eventID.

I have done a find and listed out all the database A records and now want to list database B records based on if eventID (A) is matching eventID (:

Right now it is listing all the records from database B. Does anyone see what I have done wrong?

<a href="http://xxx.xxx.xxx.xxx/FMPro?-DB=scoe_roster.fp5&-Format=scoe/rosterlist.html&-Lay=roster&-eventID=[FMP-field: eventID, url]&-Max=all&-Find">

Thank you

Kent

When all the records are returned, go to the db scoe_roster.fp5 and perform a Modify Last Find. It will show you what data was entered upon which the find was acting.

[ February 19, 2002, 06:16 PM: Message edited by: Keith M. Davie ]

Kent,

Should this:

&-eventID=[FMP-field: eventID, url]&

be:

&eventID=[FMP-field: eventID, url]&

Garry

  • Author

Gary you where right about the hypen. So now I am getting my results. Within the results I am trying to call out to Database B and have it display some results. The results are not displaying? Keith I took your advice and the "Modify Last Find" is {participantID} So I think this is my problem but not sure. There is a participantID field in each database also.

[FMP-Record]

[FMP-field: eventID] [FMP-field: participantID]

FMP-InlineAction: -db=scoe_participant.fp5, -lay=participant, participantID={participantID}, -find]

[FMP-field: first] [FMP-field: last]<br>

[/FMP-InlineAction]

[/FMP-Record]

Thank you

Kent

[ February 19, 2002, 07:42 PM: Message edited by: Turansky ]

Kent,

I would use a portal in Database A. First, set-up the Relationship from DB A to DB B, based on the EventID field. Then in Layout mode create a portal on the 'participant' layout. Add the relevent fields to the portal.

Now your cdml would look like this:

[FMP-Record]

[FMP-field: eventID]

FMP-Portal: myrelationship]

[FMP-field: myrelationship::first] [FMP-field: myrelationship::last]<br>

[/FMP-Portal]

[/FMP-Record]

This may be a bit easier than passing values to an [FMP-InlinAction]. Unless an intratag exists like {field:eventID}.

All the best.

Garry

[ February 19, 2002, 07:54 PM: Message edited by: Garry Claridge ]

  • Author

Your right that would work Gary, but I just figured out my mistake.

participantID={participantID}

should have been

participantID={FMP-field: participantID}

I kept going back to what Keith said and there must have been a reason for the last find to be {participantID}

Thank you Gary and Keith

By the way Keith I bought two books you recomended. Research is good for the soul!

Kent

Kent, You're welcome. I'm glad my suggestion helped.

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.