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.

simple print script... no records found

Featured Replies

Ok. i have a very simple print script set up in my database.

Show All Records

Omit Record

Show Omitted

Enter Preview Mode [Pause]

Print

Enter Browse Mode

When this is run there should always be 1 record in the found set when it gets to the Preview Mode step. What could possibly cause it to have no records in the found set when it gets to the Preview Mode step?

Filemaker 6 on Windows 2000

If it were me, I'd perform the script steps manually, one at a time, by going under "Records" in the menu. Then see what you end up with after your 3rd step "Show Omitted Only". This is the same as running the script to that point, but you see the results of each step.

Good Luck!

Well, it should work, but you could actually end up with more than one record found, if the file is multi-user. A more reliable method is to create a self-relationship based on the serial and use a Go to Related Record [show only related, "selfserial"] step to isolate the current record.

  • Author

Well, it should work, but you could actually end up with more than one record found, if the file is multi-user.

Really? I've never encountered that problem with Multi-user before. But I still can't figure out why no records are coming up.

I'll give the "Goto Related Record" a try.

If a record is created by someone else, between the omit and show omitted steps, you would end up with your original record plus the newly created one. Rare but possible.

What do you get if you halt the script after the Show Omitted step?

An alternative solution would be to replace the Show/Omit/Show steps with:

Go to Related Record [show, self]

Where "self" is a self-relationship based on the serial number -- you do have some kind of unique ID, I hope?

If a record is created by someone else, between the omit and show omitted steps, you would end up with your original record plus the newly created one. Rare but possible.

True, good catch, -Queue-! I hadn't thought of the possibility of a record being created during the running of the script. But I'm still puzzled as to why NO records are found.

I am, too. No word back yet on what happened after putting the Halt after Show Omitted. Ask.gif

  • Author

ok... a few things to report... after a little more digging, i realized that the problem only occurs when logging into the database through citrix metaframe (We use the whole seemless windows thing, so sometimes it totally slips my mind that I'm working through metaframe). And we have had some lag issues with this that have caused wierd problems before, so this may have something to do with that.

but I changed the script to use "Go to related record" and so far it seems to be working fine.

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.