Skip 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.

Question on printing related records

Featured Replies

Hello All:

I ran across another challange with my DB described in http://fmforums.com/forum/showtopic.php?tid/192648

What I am essentially trying to do is:

- select a set the records from a table

- based on the criteria that I get from another table for a field that relates the two, and then

- further reducing the set to those records that has a quantity greater than zero.

I have the following script:

[i am starting this script from a button on a layout that is displaying a record from "equipment_repaired" table. ]

Set Variable[$r_t_no; Value:equipment_repaired::Repair_Ticket_No]

Perform Find [Restore]

#COMMENT: Criteria: Parts_Used::Repair_ticket_from_main:[=$r_t_no]

#COMMENT: Criteria 2: Parts_Used::Quantity_Used: [> 0]

Go to Layout[Parts_Used]

Sort Records [Restore; No dialog]

Print[Restore; No dialog]

go to layout [original layout]

  • Author

Problem solved.I use a different set of script commands:

Go to Related Record [ From table: “Parts_Used”; Using layout: “R_Parts_Used” (Parts_Used) ]

[ Show only related records ]

Constrain Found Set [ Specified Find Requests: Find Records; Criteria: Parts_Used:: Quantity_Used: “> 0” ]

[ Restore ]

Sort Records [ Specified Sort Order: Parts_Used::Part_No; ascending ]

[ Restore; No dialog ]

Print [ Records being browsed; All Pages; Orientation: Portrait; Paper size: 8.5" x 11" ]

[ Restore ]

Go to Layout [ original layout ]

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.