Sorry in advance - this is long
I have a database in which I maintain information about patients. I am having problems getting the results of several calculations and "pulled" fields to display without closing the form and re-opening it.
What I'd like to have happen is that after a piece of information for tblPsychosocial is entered (which should create a record in tblPsychosocial) or a button is clicked, those "pulled" values and calculations are shown without the user having to close and re-open the form.
Suggestions please??? I've tried several versions of Repaint, Requery, Refresh and also considered that maybe there's a way to "rig" saving a record and requerying before closing out of the form??
I have a database in which I maintain information about patients. I am having problems getting the results of several calculations and "pulled" fields to display without closing the form and re-opening it.
- tblMaternalInfo - includes demographic info, as well as the fields EvaluationDate and EDC (due date). EvaluationDate is used as the basis of two of my calculations and EDC is "pulled" to my subform
- tblPsychosocial - table which is populated for only SOME patients. This table is used to document follow-up contact with the patient. Calculations are NOT performed in this table.
- frmPatientRecordbyLName - my main form, from which all patient information is available.
- sfmPsychosocial - queries MaternalInfo for some of the main info (including EvaluationDate and EDC) and any tblPsychosocial-specific info. This subform is on a tab of frmPatientRecordbyLName.
What I'd like to have happen is that after a piece of information for tblPsychosocial is entered (which should create a record in tblPsychosocial) or a button is clicked, those "pulled" values and calculations are shown without the user having to close and re-open the form.
Suggestions please??? I've tried several versions of Repaint, Requery, Refresh and also considered that maybe there's a way to "rig" saving a record and requerying before closing out of the form??