G
Guest
I simply need to provide a fiscal quarter value to a date by month. I've
tried doing this by calling a function within a query and by programming an
event procedure within the form, but can't get the syntax right. Here's one
of my tries
Private Sub Form_Load()
If Format(Me.[DateLastYr], "mmm") Like "Jan" Then
Me.QUART99.Value = 3
End If
End Sub
The error is get shows the syntax in the If line is wrong. I've tried single
quotes, no quotes, etc.
Thanks for your help
tried doing this by calling a function within a query and by programming an
event procedure within the form, but can't get the syntax right. Here's one
of my tries
Private Sub Form_Load()
If Format(Me.[DateLastYr], "mmm") Like "Jan" Then
Me.QUART99.Value = 3
End If
End Sub
The error is get shows the syntax in the If line is wrong. I've tried single
quotes, no quotes, etc.
Thanks for your help