Newbies DavidT Posted April 15, 2004 Newbies Posted April 15, 2004 Hi, We are developing a system using FM to record quality management systems for our business. We have created unique batch numbers, within which each item has its own number code. The batch id has 2 fields which identify the lowest and highest individual item number respectively. On another layout, we use the item number to assess characteristics of that item, but we want to automate the other fields which relate to the parent batch. For example. Batch 001 has item codes 1000 to 2000. The batch was created on 11/04/04 and originally came from site A. This is in Layout called Intake QC. On Analysis QC layout we want to input item ID 1500 and have the details of date and source come up automatically. Any ideas how this can be done? Thanks FileMaker Version: 5 Platform: Windows XP
Ender Posted April 16, 2004 Posted April 16, 2004 It sounds like you want to do a lookup based on the Item ID being within a range of item codes for a batch. If I have that right, then I can think of two possible ways to try to do it: (this assumes two files; Batch and Item) 1. Create a relationships in Item between Item ID and Item Code Start in Batch. Create a Batch # field with a lookup Batch::Batch #, selecting the option 'If no exact match, use next lower value'. 2. Create a multi-key in Batch that keys all the values between the Item Code Start and Item Code End, then create a relationship between Item ID in Item and the multi-key Item Code Range. I'm not sure about the formula for a multi-key of a number range, there may be a topic on this somewhere. Hope I answered the right question.
Newbies DavidT Posted April 18, 2004 Author Newbies Posted April 18, 2004 Thanks Ender, Yes you got the gist of what I need to do. I'll try it. Many Thanks David
Recommended Posts
This topic is 7871 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 accountSign in
Already have an account? Sign in here.
Sign In Now