Best way to display fields with a large amount of data

bikermo

Registered User.
Local time
Today, 01:52
Joined
Jan 8, 2013
Messages
38
Need advice on the best way to display a “notes” field that gets updated/added to multiple times, in a form. (Access 2007)
I’ve got a DB to track information about product changes. Each month we have a meeting and discuss problem products. I’m concerned with a notes/comments section. Currently it is a memo field in the source table that can be added to, so the notes are cumulative. But we want to auto-add a date to each new entry (in case the person inputting the data forgets, and so that notes can be sorted by order on a report).
There may be many comments on a certain product or there may be none. Sometimes the note may be very long, other notes on the same product may be very short. I created a new table with a one-to-many relationship to case ID (to link it to the main form), auto-populate a date field, and field for notes in order to link multiple notes to each case (and of course an autonumber PK). I can put the subform in the original form, but then the note field will be the same size for every note, though notes are not all uniform in size/length, and it ends up taking up a LOT of room on the main form. So I created a button to click to open the subform, but it brings up all records for all cases, not just the currently selected case. Again, have the problem of one uniform field size for all notes, regardless of size/length.
Then I considered a report to view past history (field size can shrink or grow as needed) then a button on the report that opens a form for data entry/entry of new note. But again the report displays all records for all cases, not just the currently selected case.
I’m out of ideas. How would you handle this?
 
As far as getting a separate form to open showing only the current record's related notes, that's just a matter of passing the current record's PK value in the Where Condition of the OpenForm method. Example;

DoCmd.OpenForm "frmYourForm", , , "CustomerID=" & Me.CustomerID

As far as having the text box be able to grow in form view, you can check out what Stephen Lebans has here.
 
i think i can work with the bit of code in your example, but when i switched the form in the "cangrow" database to continuous forms the field size is always the same so i don't think it'll work exactly as i was hoping. but at least i'm headed in the right direction. thanks!
 

Users who are viewing this thread

Back
Top Bottom