Firstly, many thanks to Jerry Dennison, for help on my last (similar) question... it worked!
I have simple database with two TABLES and one FORM.
Two of the fields in the form are a date field (short date format) and a text field. The date field, for this form, is applied to one of the underlying tables (SHIFTLOG)
The second table (DIARY), is a very simple table with two fields, the first is a date field named (DATE), the second is a text field named (COMMENTS) - Entries are added directly into this table, without using a form.
What I am trying to do is, get the text field on the form, to look at the DIARY table and see if there is an entry that matches the date entered, in the date field of the form. If a record is found, then to simply add the text contained in COMMENTS field of the DIARY table, into the forms text field.
Any ideas how to do this? As usual, I have tried using my limited knowledge, without success, so any help would be greatly appreciated.
Brent - Levi Strauss (UK)
I have simple database with two TABLES and one FORM.
Two of the fields in the form are a date field (short date format) and a text field. The date field, for this form, is applied to one of the underlying tables (SHIFTLOG)
The second table (DIARY), is a very simple table with two fields, the first is a date field named (DATE), the second is a text field named (COMMENTS) - Entries are added directly into this table, without using a form.
What I am trying to do is, get the text field on the form, to look at the DIARY table and see if there is an entry that matches the date entered, in the date field of the form. If a record is found, then to simply add the text contained in COMMENTS field of the DIARY table, into the forms text field.
Any ideas how to do this? As usual, I have tried using my limited knowledge, without success, so any help would be greatly appreciated.
Brent - Levi Strauss (UK)