... of sorting field ...
the sorting field event, not the form event
Otherwise the cursor will be reset
Together:
Use "After Insert" form ivent and "After Update" of sort field ivent.
Another way:
Use a Label control instead of a button, it also has an "On Click" event.
Private Sub LabelTest_Click()
MsgBox "There's no border around the Lable!", _
vbInformation, "Use a label instead of a button!"
End Sub
I know ... :)
I forgot to multiply the days by 24 hours.
I already corrected the line
TimeTo10Base = Val(Mid(sVal, 1, iPos - 1))
to:
TimeTo10Base = Val(Mid(sVal, 1, iPos - 1)) * 24
... post #4
Put code in any extended module
Example of Use:
SendEmailWtAttachment "name@domen.com; name02@domen02.com", "Subject Text", "Hi! ... message ...", "C:\Temp\filename.zip"
Oh that's easy, put the command:
Me.Combo_Emp_Name.Requery
After string:
lDep = Me.Combo_Dep
It should look like this:
' ...
Else
Me.Dirty = False
sPeriod = Me.cboPayPeriod
lDep = Me.Combo_Dep
Me.Combo_Emp_Name.Requery...