mclifford82
New member
- Local time
- Today, 13:12
- Joined
- Jun 28, 2009
- Messages
- 5
Hello everyone,
I have a query that I am using as a source to append data into a linked Oracle table. One of the field names in the destination table is RT&T, but whenever I close the query window, it changes the table name to RT & T, and the query no longer works. If I run the query from within design view after removing the spaces, it runs. It's only after the query window is closed does access change the field name.
Now, aside from the fact that it's probably not a good idea to have an ampersand in a table name, how can I get Access to understand that there can't be spaces around the ampersand in the field name?
I've tried [RT&T], "RT&T", RT&&T, RT\&T and none of those work. There are other applications that rely on this table, so changing the field name is not a very good option for what seems to be an Access quirk.
Any help is greatly appreciated!
I have a query that I am using as a source to append data into a linked Oracle table. One of the field names in the destination table is RT&T, but whenever I close the query window, it changes the table name to RT & T, and the query no longer works. If I run the query from within design view after removing the spaces, it runs. It's only after the query window is closed does access change the field name.
Now, aside from the fact that it's probably not a good idea to have an ampersand in a table name, how can I get Access to understand that there can't be spaces around the ampersand in the field name?
I've tried [RT&T], "RT&T", RT&&T, RT\&T and none of those work. There are other applications that rely on this table, so changing the field name is not a very good option for what seems to be an Access quirk.
Any help is greatly appreciated!
Last edited: