C
CompleteNewb
Hi All.
I'm trying to use the Trim function in the Query builder, where I started
with one SQL statement:
UPDATE tblName SET FieldName = Trim(FieldName)
I then went into Design view, and added all my other fields and tried to
copy the Trim function into all of them. however, whenever I left that
field (column) in the builder, Access auctomatically enclosed my FieldName
in quotes. So as soon as I clicked out of the field, this:
=Trim(FieldName2)
became this:
=Trim("Fieldname2")
When I go into the Update To part to delete the quotes, it puts them back
again as soon as I click out. I discovered that if I went into SQL view and
removed the quotes, then BACK into Design view, it did not do that, and
didn't do it if I clicked in and out of the field.
So what's with the Query Builder in Design view trying to add quotes, but
going from SQL to Design it doesn't? I would have thought this would be
acommon question, but I could find no posts about it.
Thanks for any input on this.
I'm trying to use the Trim function in the Query builder, where I started
with one SQL statement:
UPDATE tblName SET FieldName = Trim(FieldName)
I then went into Design view, and added all my other fields and tried to
copy the Trim function into all of them. however, whenever I left that
field (column) in the builder, Access auctomatically enclosed my FieldName
in quotes. So as soon as I clicked out of the field, this:
=Trim(FieldName2)
became this:
=Trim("Fieldname2")
When I go into the Update To part to delete the quotes, it puts them back
again as soon as I click out. I discovered that if I went into SQL view and
removed the quotes, then BACK into Design view, it did not do that, and
didn't do it if I clicked in and out of the field.
So what's with the Query Builder in Design view trying to add quotes, but
going from SQL to Design it doesn't? I would have thought this would be
acommon question, but I could find no posts about it.
Thanks for any input on this.