Click to See Complete Forum and Search --> : Error 3265


davehenry
March 1st, 2000, 08:42 AM
I get an Error 3265 when trying to update an ADO recordset when I try to copy data into a field name with spaces in it. The same block of code works fine when the field name contains no spaces. I tried putting [ ] and ' ' around the field name, but it hasn't helped. Any ideas?

March 1st, 2000, 09:18 AM
I don't think you need a quote, [] should be enough.

Thanks for attention

gknierim
March 1st, 2000, 09:36 AM
Personally, I wouldn't use a space in a fieldname. Fieldnames probably can contain spaces, however, good database design refrains from using spaces in fieldnames. :-) They may contain an underscore which is a commonly used substition. Probably depends on the type of database you are using.

Hope this helps a little.

davehenry
March 1st, 2000, 11:12 AM
Thanks! I am going with the underscore.

gknierim
March 1st, 2000, 02:01 PM
You did mean that the name of your fieldname (i.e. Full Name) that had a space in it and not the data that goes in that field right(i.e 'Joe Blow')? Just want to make sure I understood you right.