I have an add form called fdlgEventDetailAdd and an edit form called fdlgEventDetailEdit, which is different. Then I have a note field in a separate table called fdlgEventNote. I created three forms for the note field because of the Default Value, which are below:
I created the fdlgEventNoteAdd_2 form to get it to open to the correct EventID in add mode, when adding a note when you are in [Forms]![fdlgEventDetailEdit]![txtEventID].
Then I created fdlgEventNoteEdit form to work with fdlgEventDetailEdit. So, when you click the edit button to edit the current note for this record it will open correctly when the Default Value =[Forms]![fdlgEventDetailEdit]![txtEventID].
It seems like I have too many forms just for this one EventNote field.
What do you all think? Is there a better way? Why can't I have just one form--EventNote form?
Thanks for any suggestions.
fdlgEventNoteAdd --- Default Value = [Forms]![fdlgEventDetailAdd]![txtEventID]
fdlgEventNoteAdd_2 --- Default Value =[Forms]![fdlgEventDetailEdit]![txtEventID]
fdlgEventNoteEdit --- Default Value =[Forms]![fdlgEventDetailEdit]![txtEventID]
Basically, I created the EventNoteAdd form to get it open to the correct EventID in add mode. That is, when adding an event while in fdlgEventDetailAdd form and you click to add a note, the Default Value = [Forms]![fdlgEventDetailAdd]![txtEventID].fdlgEventNoteAdd_2 --- Default Value =[Forms]![fdlgEventDetailEdit]![txtEventID]
fdlgEventNoteEdit --- Default Value =[Forms]![fdlgEventDetailEdit]![txtEventID]
I created the fdlgEventNoteAdd_2 form to get it to open to the correct EventID in add mode, when adding a note when you are in [Forms]![fdlgEventDetailEdit]![txtEventID].
Then I created fdlgEventNoteEdit form to work with fdlgEventDetailEdit. So, when you click the edit button to edit the current note for this record it will open correctly when the Default Value =[Forms]![fdlgEventDetailEdit]![txtEventID].
It seems like I have too many forms just for this one EventNote field.
What do you all think? Is there a better way? Why can't I have just one form--EventNote form?
Thanks for any suggestions.