Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Is it possible to limit the number of new records that are created on a layout before the complete layout MUST be cleared? I need only a maximum of 14 new records in rows on the layout and I have information listed in the header and footer that stays the same for all 14(maximum) records, however, I don't want the user to be able to create 15 records without having to generate a new document (requisition). Any ideas?

Posted

Are these related records in a portal?

If so you can create the related records by script using something like

[pseudo code]

If Count[related record ID does not equal 14]

go to related table and create the new record

Else

Show custom dialog "Too many records"

Exit script

End if

Posted

No, as of now I don't have them in a portal. I have the body of the layout shortened so that each time the use creates a new record, the group of fields will show just beneath the previous group, however, that is my delimma right now, I have no way to keep a user from creating more than 14 records on the layout. They could ultimately create an infinate number of records without having to start a new requisition number.

Posted

The problem is not clear. If they do start a new requisition number - are they then allowed to create more records? If yes, then this has nothing to do with the layout, or the table of the layout.

I think you want to use a table of Requisitions, with a portal to a related RequisitionLines table. Then you can make the portal 14 rows high, and possibly use field validation to enforce the rule on the data level as well.

BTW, why cannot a requisition have more than 14 items?

Posted

Hopefully by answering your last question first, that will help. The reason that a requisition cannot have more than 14 records (or lines) is because the actual requisition is a pre-printed, pre-numbered (unique requisition number), three page, carbon copy form that comes to us in books of about 20 requisitions. After 14 lines of entry on one, the user has to start a new requisition, which in turn means they receive a new requisition number. So, the purpose here is to incorporate the existing forms with the database. Maybe that will also answer your first question also.

Posted

the actual requisition is a pre-printed, pre-numbered (unique requisition number), three page, carbon copy form that comes to us in books

I'd be interested in seeing how these get fed through a printer. ;)

These should not be any consideration on the database design.

Posted

A laser printer with a feed tray takes them in and prints them pretty efficiently. Defeats the purpose of the carbon copy (I should add that the carbon copy isn't the old thin black carbon paper, this is a thicker bond type paper).

Posted

It depends: if it's only a matter of printing 14 records to a page, then all that's needed is to design the printing layout (based on the Items table!) so.

If each group of 14 items needs a unique group number, then you would need another table for the groups and a script to assign a new number to each group of 14 new items. But I am not sure I understand the situation completely - esp. why a computerized database needs to be designed around an old paper form (which will surely go out of style in a short time?).

Posted

The old paper form IS the complication, however, the reason for its use to date (in regards to my company) is because we have a lot of supervisors in "the field" without access to computers and they hand write these to request materials.

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