Hi Stephen,
I use a function StringTrans() for such tasks. In your case use it in the
query like this:
JobNum: StringTrans([Job Number]; "*")
Good luck!
--Just put code below in a module-------------------------------
Public Function StringTrans(strString As String, strSearch As String,
strReplace As String, Optional blnExact As Boolean) As String
Dim nCurPos As Integer
If IsMissing(blnExact) Then
blnExact = True
End If
nCurPos = InStr(1, strString, strSearch, IIf(blnExact, 0, 1))
While nCurPos > 0
strString = Left(strString, nCurPos - 1) + strReplace +
Mid(strString, nCurPos + Len(strSearch))
nCurPos = InStr(nCurPos + Len(strReplace), strString, strSearch,
IIf(blnExact, 0, 1))
Wend
StringTrans = strString
End Function
------------------------------------------------------------------
Sid.
Stephen Hynes said:
I have a table with the following fields ,
1. Job Numer ( Text )
2. Value ( Currency )
3. Memo ( Memo )
in the Job number fields there is data like
023142
023143
023445
023446**
023447*
How do I get rid of the Asterix's
Tks
STephen