I have a database concerning real estate. Many objects. One table (and subsequent form) is information on properties. Another is notes on that property. The reason I didn't simply add a Notes field to the main properties table is that the client wants a date for each note. So I created table and form and am using it in main form as a subform.
Here is what I was wondering about ....
A lot of times, when there are a lot of tables with necessary ID numbers, I will assign a formatting to a field in a table that distinguishes that this is the number for xxx. For instance, there is a separate table and form for properties that have been leased, so the auto-assigned ID is formatted as 000-LSD, so that I know that number is the lease info ID #. Just helps from getting confused when you are dealing with tons of tables that each have auto-assigned IDs.
So, I was wondering if there was any way to format the Notes ID field to give me a note # attached to the Property ID. The reason being here, is that there could be multiple notes on one property. I can't do it by date, as there may be several notes entered concerning a single property on a single date.
So, if the note ID is 001 and the Property ID is 01467, I would really like for the format of the note ID to show as 001-01467, and the 2nd note on this property to show as 002-01467, but if it is a different property (02195), then I would want the numbering to start over for THAT property, EX: 001-02195.
That way I would be able to identify each note by the property and be able to distinguish how many notes have been written about this property.
Is there a fairly easy way to do this, or is it even possible at all? Not a great big deal but would be a nice addition for my client.
Barely know VB, so I can't actually write a code myself, but I can alter code to fit my database.
Thanks!
Here is what I was wondering about ....
A lot of times, when there are a lot of tables with necessary ID numbers, I will assign a formatting to a field in a table that distinguishes that this is the number for xxx. For instance, there is a separate table and form for properties that have been leased, so the auto-assigned ID is formatted as 000-LSD, so that I know that number is the lease info ID #. Just helps from getting confused when you are dealing with tons of tables that each have auto-assigned IDs.
So, I was wondering if there was any way to format the Notes ID field to give me a note # attached to the Property ID. The reason being here, is that there could be multiple notes on one property. I can't do it by date, as there may be several notes entered concerning a single property on a single date.
So, if the note ID is 001 and the Property ID is 01467, I would really like for the format of the note ID to show as 001-01467, and the 2nd note on this property to show as 002-01467, but if it is a different property (02195), then I would want the numbering to start over for THAT property, EX: 001-02195.
That way I would be able to identify each note by the property and be able to distinguish how many notes have been written about this property.
Is there a fairly easy way to do this, or is it even possible at all? Not a great big deal but would be a nice addition for my client.

Barely know VB, so I can't actually write a code myself, but I can alter code to fit my database.
Thanks!
