Newbies loril Posted April 27, 2011 Newbies Posted April 27, 2011 I am a newbie to filemaker pro 9 and have been thrown into making some changes to our existing database and would so appreciate any help before my hair turns any more grey. The existing database is used for issuing building permits for one location with each permit having its own reference number by using (automatic enter/serial number). For example 2011-01. We will be issuing permits for another entity that needs its own reference numbering system, but need to keep these two entities tied together. Is it better to have one database or two separate? If its one database how do make two numbering systems? If its two databases how do I tie them together.
comment Posted April 27, 2011 Posted April 27, 2011 need to keep these two entities tied together. What comes under the heading of "tied together"?
Newbies loril Posted April 27, 2011 Author Newbies Posted April 27, 2011 When people call in for an inspection of their building project I would like to be able to search the database of all (both entities) by address to be able to print out a inspection request.
comment Posted April 28, 2011 Posted April 28, 2011 I hesitate here, because the proper solution to this is not an easy one to implement. Obviously, at least some of the fields of the two kinds of permits must be in the same table (e.g. address - otherwise you'd have to do two finds for each call). OTOH, at least one field - the "private" serial number - should be in a "subtable" dedicated to the specific kind. IOW, each permit needs two records - one in the "general" table and one in the "specific". How will this be operated? Will the same people be issuing permits for both, using the same procedure and just selecting the "entity" during the process, or will they have to choose the "entity" before starting?
No_access Posted May 2, 2011 Posted May 2, 2011 In my Invoicing system I use 2 autoenter fields, the "Invoice" one starts at 4000000 for invoices and "quote" one starts at 1 for quoting. I also have a text field that gets a Q or an I depending on invoice or quote. then I have a calc field, that says if(textfield = "I";invoice;quote) all my reports are based on having an I in the text field, as for my app I do not care about the quotes.. hope this helps..
No_access Posted May 2, 2011 Posted May 2, 2011 One enters an invoice number one a quote number in my case.. then depending on the caculation field, if it is an I it uses the invoice number... Auto-entering what?
No_access Posted May 3, 2011 Posted May 3, 2011 see attached file, let me know if it helps, you can also change the numbers so one is always even and one always odd, then you never can get overlaping numbers I meant, what is the fields' definition? sample.zip
comment Posted May 3, 2011 Posted May 3, 2011 Well, this is fine - IF you don't mind the gaps in the series. I don't think that's what the OP had in mind, though it would be the easiest solution if they can accept that. And, of course, ONE auto-entered serial number would be quite sufficient in such case. Unfortunately, that is often not the case. Some of my clients would face serious repercussions if their invoice numbers were found to be non-consecutive.
Recommended Posts
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