Good morning.
I have a simple form we use w/access dbase. The fields are
inserted as is, the way it is typed in and works just fine. I also
output so they can view what it was they just added. (Customer
info)
The next step is to take the new records and create a TXT
file to email. This also works. I build the array first from my
query; I then build the .txt file with my array and email it, and
also output it to screen.
The output to screen is what I need to modify in my TXT file.
As per our vendor, each field has to have x number of characters.
Those values are set in the form. IE: name is 32 chars, Address, 32
chars, etc.
An example of what I do for my CFOUTPUT is as follows
As you can see, the NAME field must contain 32 characters for
the file and I'm just looping to add spaces to make up the
difference. (If anyone else has an idea I'm open to it).
What I want to do is when the record is added to the
database, I want to make sure each field contains the required
number of spaces.
can someone suggest a way to do this in my insert?
TIA
Terry