A few months back I started a database App.
Using a cmd Button for the MoveNext/MovePrevious I have to click the cmd Button, to move next or previous.
This is VisualBasic Code, is there someone that can code this to Basic4ppc code for me?
Private Sub tmrSchaltf_Timer()
If Toolbar1.Buttons("prev").value = tbrPressed Then
Data1.Recordset.MovePrevious
If Data1.Recordset.BOF Then
Data1.Recordset.MoveFirst
End If
ElseIf Toolbar1.Buttons("next").value = tbrPressed Then
Data1.Recordset.MoveNext
If Data1.Recordset.EOF Then
Data1.Recordset.MoveLast
End If
End If
End Sub
Thx to all for your hlp.
Best Regards
WmC
Using a cmd Button for the MoveNext/MovePrevious I have to click the cmd Button, to move next or previous.
This is VisualBasic Code, is there someone that can code this to Basic4ppc code for me?
Private Sub tmrSchaltf_Timer()
If Toolbar1.Buttons("prev").value = tbrPressed Then
Data1.Recordset.MovePrevious
If Data1.Recordset.BOF Then
Data1.Recordset.MoveFirst
End If
ElseIf Toolbar1.Buttons("next").value = tbrPressed Then
Data1.Recordset.MoveNext
If Data1.Recordset.EOF Then
Data1.Recordset.MoveLast
End If
End If
End Sub
Thx to all for your hlp.
Best Regards
WmC