G
Guest
I have a field named CityStateZip that shows the City Name, a comma, State
and Zip. i.e. Houston, TX 77478.
I used SQL as below:
Trim(Mid([04 Name address].[CityStateZip],1,InStr([04 Name
address].[CityStateZip],",")-1)) AS Cities, Right(Trim([04 Name
address].[CityStateZip]),Len(Trim([04 Name
address].[CityStateZip]))-InStr(1,[04 Name address].[CityStateZip],", ")) AS
State
However, I got a error message "Invalid procedure call". Please someone
helps and explain to me what did I do wrong? Thanks a million.
and Zip. i.e. Houston, TX 77478.
I used SQL as below:
Trim(Mid([04 Name address].[CityStateZip],1,InStr([04 Name
address].[CityStateZip],",")-1)) AS Cities, Right(Trim([04 Name
address].[CityStateZip]),Len(Trim([04 Name
address].[CityStateZip]))-InStr(1,[04 Name address].[CityStateZip],", ")) AS
State
However, I got a error message "Invalid procedure call". Please someone
helps and explain to me what did I do wrong? Thanks a million.