CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Error 3265

  1. #1
    Join Date
    Mar 2000
    Posts
    2

    Error 3265

    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?


  2. #2
    Guest

    Re: Error 3265

    I don't think you need a quote, [] should be enough.

    Thanks for attention


  3. #3
    Join Date
    Jan 2000
    Posts
    264

    Re: Error 3265

    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.



  4. #4
    Join Date
    Mar 2000
    Posts
    2

    Re: Error 3265

    Thanks! I am going with the underscore.


  5. #5
    Join Date
    Jan 2000
    Posts
    264

    Re: Error 3265

    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.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured