V
VBeejit
Hi,
Having read thru previous postings I am trying to use the
Dbl_Click event of a SubFrm named CDMachSubFrm, within
CustDetFrm where it is named sCDMachSubFrm, and the
TextBox within the continuos form that you Dbl click is
named txtSerNum. This should then open another form based
on myQry1 with a Criteria against matching field SerNum
worded thus:
[Forms]![CustDetFrm]![sCDMachSubFrm].[Form]![txtSerNum]
The 2nd form MCSelFrm opens & displays the data correctly
in all the bound fields, but if I try and calculate
additional totals etc. from the On_Load or On_Open event
of the form to display in Unbound TextBoxes I get no
values and if I then look at myQry1 it is always empty at
that point without any requery'ing by code.
what am I doing wrong?
VBeejit
Having read thru previous postings I am trying to use the
Dbl_Click event of a SubFrm named CDMachSubFrm, within
CustDetFrm where it is named sCDMachSubFrm, and the
TextBox within the continuos form that you Dbl click is
named txtSerNum. This should then open another form based
on myQry1 with a Criteria against matching field SerNum
worded thus:
[Forms]![CustDetFrm]![sCDMachSubFrm].[Form]![txtSerNum]
The 2nd form MCSelFrm opens & displays the data correctly
in all the bound fields, but if I try and calculate
additional totals etc. from the On_Load or On_Open event
of the form to display in Unbound TextBoxes I get no
values and if I then look at myQry1 it is always empty at
that point without any requery'ing by code.
what am I doing wrong?
VBeejit