G
gator
how do I check if the current record is the first record?
gator said:how do I check if the current record is the first record?
gator said:does this seem feasible to grab a previous record value?
Private Sub Form_Current()
If Me.CurrentRecord = 1 Then
Cancel = True
Else
DoCmd.GoToRecord acActiveDataObject, , acPrevious
newValue = Me.TranType.Value
DoCmd.GoToRecord acActiveDataObject, , acNext
Me.TranType.Value = newValue
End If
End Sub
gator said:what do you think about this one....it's the option value I'm after....
Private Sub Frame0_AfterUpdate()
If Frame0.Value = 1 Then
Frame0.DefaultValue = 1
Else
Frame0.DefaultValue = 2
End If
End Sub