G
Guest
Hello
I have builded a msg triggered from few events, to track, while debugging, on which record I’m when performing some operation
The msg is
MsgBox chi & "/new_record? " & Me.NewRecord & " record#: " & Me.CurrentRecord & " of " & Me.Recordset.RecordCoun
This msg is showed when the beforeupdate event is called so that I can see which record would been updated
And it is also triggered by clicking a command button on the form
The cycle property is settled to current record. So when the record is updated I’m still seeing it. If I click the command button after the record is been updated, what is different is that Me.NewRecord switched to “falseâ€
Fine
Also closing the form calls the msg
In this case I need to know why the current record is “0†while I suppose it should be 1..or 2…or whatever, depending on what record I was in that moment
Thank
Rocco
I have builded a msg triggered from few events, to track, while debugging, on which record I’m when performing some operation
The msg is
MsgBox chi & "/new_record? " & Me.NewRecord & " record#: " & Me.CurrentRecord & " of " & Me.Recordset.RecordCoun
This msg is showed when the beforeupdate event is called so that I can see which record would been updated
And it is also triggered by clicking a command button on the form
The cycle property is settled to current record. So when the record is updated I’m still seeing it. If I click the command button after the record is been updated, what is different is that Me.NewRecord switched to “falseâ€
Fine
Also closing the form calls the msg
In this case I need to know why the current record is “0†while I suppose it should be 1..or 2…or whatever, depending on what record I was in that moment
Thank
Rocco