G
Guest
I have two fields defined in a table, each as a text field with a length of
5. They are defined identically. I create a new record in a recordset using
..AddNew and assign values to these fields., then use .Update to write the new
record. I assign values to each field using a String variable. When the
variable has a length of four, one of the fields works as expected, but the
other one ends up with a blank or unprintable character at the end. I went
into debug mode and viewed the values. At the assignment statement the string
variable has a value of "2809", but after it is assigned to the table's text
field, the text field has a value of "2809 ". I can't for the life of me
figure out why this is happening. Any idea? Any help is appreciated! Thanks.
Jim Burke
5. They are defined identically. I create a new record in a recordset using
..AddNew and assign values to these fields., then use .Update to write the new
record. I assign values to each field using a String variable. When the
variable has a length of four, one of the fields works as expected, but the
other one ends up with a blank or unprintable character at the end. I went
into debug mode and viewed the values. At the assignment statement the string
variable has a value of "2809", but after it is assigned to the table's text
field, the text field has a value of "2809 ". I can't for the life of me
figure out why this is happening. Any idea? Any help is appreciated! Thanks.
Jim Burke