Hello,
Using ADO I have created a table and have also created fields.
To create fields, I have used the following:
.Columns.Append "Field_Name", adWChar, 6
I load records into this created table including into this field.
I notice that if the value that I load into this field is less than the full defined length of 6 chars, the balance is padded with spaces.
For example in this 6 length Char field, if I want to load the value "APP1" then what really gets loaded is "APP1 " which has 2 spaces padded at the end.
The value "APP1" is contained in another field and definitely has NO padded spaces at the right. Even using something like:
!Field_Name = Trim(Another_field)
does not help.
Any suggestions?
Thanks in advance.
Uttam
Using ADO I have created a table and have also created fields.
To create fields, I have used the following:
.Columns.Append "Field_Name", adWChar, 6
I load records into this created table including into this field.
I notice that if the value that I load into this field is less than the full defined length of 6 chars, the balance is padded with spaces.
For example in this 6 length Char field, if I want to load the value "APP1" then what really gets loaded is "APP1 " which has 2 spaces padded at the end.
The value "APP1" is contained in another field and definitely has NO padded spaces at the right. Even using something like:
!Field_Name = Trim(Another_field)
does not help.
Any suggestions?
Thanks in advance.
Uttam