View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
I have a memo field with text and field names such as "Hi <%=(clfirst)%>" that I want to do a text merge to create a merged letter. The code looks something like:
 
<%
USE letters IN 0
LOCATE FOR LID = LETTERID
M.LNOTES = LNOTES
 
USE CLIENTS in 0
LOCATE FOR CLID = CLIENTID
%>
 
<%SET TEXTMERGE ON%>
<%SELECT CLIENTS%>
<%=TEXTMERGE(M.LNOTES)%>
<%SET TEXTMERGE OFF%>
 
No matter how I write it it does not work. Perhaps I need delimiters such as "<<" and ">>" to make it work. Would anyone know what I'm doing wrong or would like to send me a code fragment that works Please?
 
Joe