002. xfnReplaceMany

xfnReplaceMany 함수

구문

반환값

참고

예제

코드

'주소록 테이블에서 사용자 ID와 전화번호로 데이터를 찾는 쿼리 작성

strSQL = "SELECT * FROM dbo.Contacts WHERE UserID = [_UserID_] AND Tel = [_Tel_]"

strSQL = xfnReplaceMany(strSQL _

            , "[_UserID_]", xfnDbInsVal(OrderID.Value, xenlQuotationMarkYes, True) _

            , "[_Tel_]", xfnDbInsVal(OrgID.Value, xenlQuotationMarkYes, True) _

                        )