P
Paul Foster
Can anyone please explain to me why this statement doesnt
work:
Private Sub Form_Current()
Dim varihigh
varihigh = CInt(225 * Me!frmRMsubform![txtROWCOUNT])
End Sub
From the immediate window i get that
Me!frmRMsubform![txtROWCOUNT]) = 4
CInt(225 * Me!frmRMsubform![txtROWCOUNT]) = 900
varihigh = 0 ( in the locals window it says its empty)
I dont understand. Could somebody please explain.
Thanks in advance
Paul Foster
Bournemouth UK
pfos.uk NOSPAMPLEASE @ ntlworld . com
work:
Private Sub Form_Current()
Dim varihigh
varihigh = CInt(225 * Me!frmRMsubform![txtROWCOUNT])
End Sub
From the immediate window i get that
Me!frmRMsubform![txtROWCOUNT]) = 4
CInt(225 * Me!frmRMsubform![txtROWCOUNT]) = 900
varihigh = 0 ( in the locals window it says its empty)
I dont understand. Could somebody please explain.
Thanks in advance
Paul Foster
Bournemouth UK
pfos.uk NOSPAMPLEASE @ ntlworld . com