|
-
Apr 1st, 2000, 06:56 AM
#1
Thread Starter
New Member
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!!
-
Apr 2nd, 2000, 07:42 AM
#2
New Member
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.
-
Apr 2nd, 2000, 04:56 PM
#3
Thread Starter
New Member
Thank you Edward.
I placed brackets around the TableName and it is now functional. Thanks once again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|