Results 1 to 3 of 3

Thread: Error in

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    Salem, OH, USA
    Posts
    2
    I am trying to delete a table form an Access database but I am getting a sntax error in my drop table statement. The problem is arising because the table's name is one of the user's names so therefore it has a space in it.

    ex.
    John Doe ---- where that is the person's name which also makes it their table's name. The space between the first name and last name is giving me the error, i think. I had this working before but the table names at that time were the user's ID numbers. Now that i switched to their names, it will not work. Any ideas on what i can do to fix this??

    thanx alot!!
    SupirMan

  2. #2
    New Member
    Join Date
    Apr 2000
    Posts
    1
    Well I think that what you may need to do is place brackets around the name if it contains a space; so your John Doe would be [John Doe]. I'm not sure if this is what you need to know but try it and see if it works.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    Salem, OH, USA
    Posts
    2
    Thank you Edward.
    I placed brackets around the TableName and it is now functional. Thanks once again.
    SupirMan

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