J
Joe
Hello,
I want to run the following procedure on a query. How do I define the
[PRIMARY_BORR_NAME] to reference a field in a table or the query itself.
Query
select account#, FirstName() from accounts
Function
Public Function FirstName()
Dim source1 As String
Dim FName As String
source1 = "*LLC*"
FName = [PRIMARY_BORR_NAME]
IIf FName Like source1, "", Left(FName, InStr(FName, " ") - 1)
End Function
Thank You
I want to run the following procedure on a query. How do I define the
[PRIMARY_BORR_NAME] to reference a field in a table or the query itself.
Query
select account#, FirstName() from accounts
Function
Public Function FirstName()
Dim source1 As String
Dim FName As String
source1 = "*LLC*"
FName = [PRIMARY_BORR_NAME]
IIf FName Like source1, "", Left(FName, InStr(FName, " ") - 1)
End Function
Thank You