Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a word off of a query using a form

Status
Not open for further replies.

DIRENE

Technical User
Jan 19, 2004
51
US
I need to sent customer letter when the purchase a new vehicle from us. What I need to do is have a form with option goup on it 1month, 2month ect. and a button that if option 1month is select that word opens with a letter named :eek:ne month making a letter from each person that matches the query. Then if 2month is select word open with a letter named 2month ect. Do you have any easy ansrews.
I try createWordLetter() function but I don't not how to change the line:

.ActiveDocument.Bookmarks("LASTNAME").Select
.Selection.Text = (CStr(Forms![frmTestWord]![LastName]))

from a form to a query and even if it's able too.

Thank you Irene
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top