The is a simple example of code that worked in access 2003 but does
not in access 2007. I have checked it with the debugger and the
reason is the value of formField1 does not change in ver. 2007 in the
code as the docmd.gotorecor d,,acnext moves down the records. But it
does in ver 2003. Any Suggestions?
Example of Table displayed in a continous form with 5 records.
1
1
1
2
3
Example Code:
When double Clicking on the 1st record the cursor should move to
record 4.
Private Sub formField1_DblC lick(Cancel As Integer)
dim vTest as Byte
vTest = 1
Do While [formField1] = vTest
DoCmd.GoToRecor d , , acNext
Loop
End Sub
Thanks.
not in access 2007. I have checked it with the debugger and the
reason is the value of formField1 does not change in ver. 2007 in the
code as the docmd.gotorecor d,,acnext moves down the records. But it
does in ver 2003. Any Suggestions?
Example of Table displayed in a continous form with 5 records.
1
1
1
2
3
Example Code:
When double Clicking on the 1st record the cursor should move to
record 4.
Private Sub formField1_DblC lick(Cancel As Integer)
dim vTest as Byte
vTest = 1
Do While [formField1] = vTest
DoCmd.GoToRecor d , , acNext
Loop
End Sub
Thanks.
Comment