kyle1234567
Registered User.
- Local time
- Yesterday, 18:47
- Joined
- Aug 27, 2012
- Messages
- 10
Hello, everyone:
I have a split form titled, frmPhoneLog. On the top half, I have multiple textboxs that allow the user to input information about a single phone encounter with a client (i.e., the client calls us, we call them, etc.) There are fields like CallerName, CallDate, CallSubject, CallNotes, etc. There also three command buttons: cmdAddNew, cmdSaveEdits, and cmdClear. On the bottom of the split form is the characteristic table. Here is what I would like to do:
1. Allow the user to log an unlimited number of phone encounters with the client by inputting information in the upper part of the window and having it show up in the lower part. cmdAddNew will create a new row each time different information is entered.
2. Allow the user to select any of the phone encounters listed in the datasheet, for that information to re-populate into the textboxes described above for the purpose of editing/changes, and then for cmdSaveEdits to rewrite the table data accordingly.
Now, here is the rub... this entire form view needs to be specific to a single primary key. In other words, the purpose of the form is ONLY to log phone encounters with client John Smith (one person). Client Patty Sue has a different primary key and, thus, a different set of phone encounters. How can I link MULTIPLE records in a split form datasheet like this to ONE primary key and have it show up accordingly?
Lastly, I will need to work this out in the backend, too. Can Access automatically create table fields based on how many phone encounter records have been created? Can you point me to some resource for learning more about this "auto-population" or "cascade creation?"
Thanks for your help. I have learned so much about Access using this forum.
I have a split form titled, frmPhoneLog. On the top half, I have multiple textboxs that allow the user to input information about a single phone encounter with a client (i.e., the client calls us, we call them, etc.) There are fields like CallerName, CallDate, CallSubject, CallNotes, etc. There also three command buttons: cmdAddNew, cmdSaveEdits, and cmdClear. On the bottom of the split form is the characteristic table. Here is what I would like to do:
1. Allow the user to log an unlimited number of phone encounters with the client by inputting information in the upper part of the window and having it show up in the lower part. cmdAddNew will create a new row each time different information is entered.
2. Allow the user to select any of the phone encounters listed in the datasheet, for that information to re-populate into the textboxes described above for the purpose of editing/changes, and then for cmdSaveEdits to rewrite the table data accordingly.
Now, here is the rub... this entire form view needs to be specific to a single primary key. In other words, the purpose of the form is ONLY to log phone encounters with client John Smith (one person). Client Patty Sue has a different primary key and, thus, a different set of phone encounters. How can I link MULTIPLE records in a split form datasheet like this to ONE primary key and have it show up accordingly?
Lastly, I will need to work this out in the backend, too. Can Access automatically create table fields based on how many phone encounter records have been created? Can you point me to some resource for learning more about this "auto-population" or "cascade creation?"
Thanks for your help. I have learned so much about Access using this forum.