Formatting recordset data into an email

Moose3

New member
Local time
Today, 06:29
Joined
Oct 28, 2010
Messages
4
Hey Everybody,

Does anyone know what the correct VBA syntax is to start columns at a certain field number? I know when using Debug.Print its Tab(24) to start at line 24. But it gives me an error when exporting a recordset into an email.

Here is a subset of my string:

strLtrContent = strLtrContent & vbNewLine & rsComplete![Project#] & "-" & rsComplete![Detail]

Where the "-" is shown, is where I want to be able to start that column of data at a certain spot and keep all my fields lined up.

Thanks!!!
 

Users who are viewing this thread

Back
Top Bottom