I have a mainForm (for tblMain) and a subForm (for tblComments).
A text field (control source "Comment") in the subForm populates tblComments with that text (comments). The keyed autonumbering extends from 1 to as many comments as there are in the database, of which tblMain is but one.
A number field in mainForm populates tblMain with numerals from 1 to 5 (their control sources being "Cmnt1" to "Cmnt5". Hence, for each record in subForm, up to 5 comments can be made (actually, at this stage in my programming, more can be made but they won't get recognised).
For each record in mainForm, as I enter comments in subForm, I want the entries to be assigned a number (from 1 to 5 in order of entry) i.e. corresponding with the subForm record numbers, and for those numbers to then be passed to the corresponding Cmnt1 - Cmnt5 fields in mainForm - and thus to tblMain.
How can this be achieved?
I have pored over similar postings, but my skills are too rudimentary to recognise their relevance!
RodH
A text field (control source "Comment") in the subForm populates tblComments with that text (comments). The keyed autonumbering extends from 1 to as many comments as there are in the database, of which tblMain is but one.
A number field in mainForm populates tblMain with numerals from 1 to 5 (their control sources being "Cmnt1" to "Cmnt5". Hence, for each record in subForm, up to 5 comments can be made (actually, at this stage in my programming, more can be made but they won't get recognised).
For each record in mainForm, as I enter comments in subForm, I want the entries to be assigned a number (from 1 to 5 in order of entry) i.e. corresponding with the subForm record numbers, and for those numbers to then be passed to the corresponding Cmnt1 - Cmnt5 fields in mainForm - and thus to tblMain.
How can this be achieved?
I have pored over similar postings, but my skills are too rudimentary to recognise their relevance!
RodH