Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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

Posted

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!

Posted

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.

Posted

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?

Posted

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?

Posted

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.

Posted

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

Posted

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.

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