I'm having problems running the following within a module in that Access will not recognize the Me! aspect of the code:
'If Me!AgentSeconda = " " Then
' Fdf_Output.FDFSetValue "GA1", " ", False
'Else
' Fdf_Output.FDFSetValue "GA1", "1746", False
'End If
What I want this function to do is that if the AgentSeconda field is blank I want the FDFValue of GA1 to be blank as well...if AgentSeconda is not blank then I want the FDFValue of GA1 to fill in with 1746...
Any ideas on what I can use instead of Me! or does anyone have another way of writing this function?
Thanks,
Ryan.
'If Me!AgentSeconda = " " Then
' Fdf_Output.FDFSetValue "GA1", " ", False
'Else
' Fdf_Output.FDFSetValue "GA1", "1746", False
'End If
What I want this function to do is that if the AgentSeconda field is blank I want the FDFValue of GA1 to be blank as well...if AgentSeconda is not blank then I want the FDFValue of GA1 to fill in with 1746...
Any ideas on what I can use instead of Me! or does anyone have another way of writing this function?
Thanks,
Ryan.