Something to start with
dim stFilename as string
dim stName as string
dim stAddress as string
stfilename = "C:\mytext.txt"
Open stfilename for output as #1
Place code here to fill the variables from wherever you get them (db or controls or whatever)
print #1 "Name: " & stname
Print #1 "Address: " & staddress
close recordsets
Close #1
Standard open file and write to it. Many examples on web.
Andy Baldwin
"Testing is the most overlooked programming language on the books!"
Ask a great question, get a great answer. Ask a vague question, get a vague answer.
Find out how to get great answers FAQ219-2884.