D
Dale C Gray
Ok this is probably elementry..but I can't figure out how to do this:
Here is the function:
Function fExtractStr(ByVal strInString As String) As String
Works fine from the debug window: fExtractStr("ab789") returns "ab"
But I want to call it from a form with the control name being AHC, control
source PHN...
Tried fExtractStr([AHC]) and fExtractStr("[AHC]")...to no avail. Is it
fExtractStr(strinString:=[AHC])?
Access 97
Thanks for your help.
Here is the function:
Function fExtractStr(ByVal strInString As String) As String
Works fine from the debug window: fExtractStr("ab789") returns "ab"
But I want to call it from a form with the control name being AHC, control
source PHN...
Tried fExtractStr([AHC]) and fExtractStr("[AHC]")...to no avail. Is it
fExtractStr(strinString:=[AHC])?
Access 97
Thanks for your help.