473,490 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Link Tables to SQL Error

I'm linking a bunch of tables that are in SQL to my Access db and I get
the following error on 3 of the tables: "Seq.Group is not a valid
name." I tried doing an import instead of a link, but I got the same
error. ???

FYI I am not the SQL dba and I'm not able to change table names or
reload data. I need a way around this issue stat!!

Thanks,
Shelley

Aug 16 '06 #1
4 1983
FYI I'm using Access 2002 (XP).

Aug 16 '06 #2
sbowman wrote:
I'm linking a bunch of tables that are in SQL to my Access db and I
get the following error on 3 of the tables: "Seq.Group is not a valid
name." I tried doing an import instead of a link, but I got the same
error. ???

FYI I am not the SQL dba and I'm not able to change table names or
reload data. I need a way around this issue stat!!

Thanks,
Shelley
SQL apparently allows characters in table names that Access does not.
Unless you can get the name changed on the server or have a view created on
the server with a proper name then you will not be able to create the link.
At least not through the linking wizard. Creating the link via code "might"
work. I'd have to test that.

Have you tried a passthrough query instead of a link?
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Aug 16 '06 #3
Rick Brandt wrote:
sbowman wrote:
>I'm linking a bunch of tables that are in SQL to my Access db and I
get the following error on 3 of the tables: "Seq.Group is not a valid
name." I tried doing an import instead of a link, but I got the same
error. ???

FYI I am not the SQL dba and I'm not able to change table names or
reload data. I need a way around this issue stat!!

Thanks,
Shelley

SQL apparently allows characters in table names that Access does not.
Unless you can get the name changed on the server or have a view
created on the server with a proper name then you will not be able to
create the link. At least not through the linking wizard. Creating
the link via code "might" work. I'd have to test that.

Have you tried a passthrough query instead of a link?
Just tested. Apparently you have field names with periods in them. That
will not work in Access even when creating the link in code.

Tell the creator of the tables that he needs to fix them or create a view
with proper names that you can link to. IMO anyone that would put special
characters in a field name doesn't know what he's doing.

A passthrough will work, but the field name will show up as only the portion
after the period. That will make it difficult to work with because criteria
still has to be applied to the illegal name with square brackets around it.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Aug 16 '06 #4
Bri


Rick Brandt wrote:
Rick Brandt wrote:
>>sbowman wrote:
>>>I'm linking a bunch of tables that are in SQL to my Access db and I
get the following error on 3 of the tables: "Seq.Group is not a valid
name." I tried doing an import instead of a link, but I got the same
error. ???

FYI I am not the SQL dba and I'm not able to change table names or
reload data. I need a way around this issue stat!!

Thanks,
Shelley

SQL apparently allows characters in table names that Access does not.
Unless you can get the name changed on the server or have a view
created on the server with a proper name then you will not be able to
create the link. At least not through the linking wizard. Creating
the link via code "might" work. I'd have to test that.

Have you tried a passthrough query instead of a link?


Just tested. Apparently you have field names with periods in them. That
will not work in Access even when creating the link in code.

Tell the creator of the tables that he needs to fix them or create a view
with proper names that you can link to. IMO anyone that would put special
characters in a field name doesn't know what he's doing.

A passthrough will work, but the field name will show up as only the portion
after the period. That will make it difficult to work with because criteria
still has to be applied to the illegal name with square brackets around it.
Just speculating, but if the view was created with the fields aliased to
names that Access would allow, he should be OK. Without the View, a
passthrough (also with Alias' for the field names) would be another
option as long as the tables don't need to be updated (unless updated
via another passthrough of course).

--
Bri

Aug 19 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7849
by: Lothar Armbr?ster | last post by:
Hello out there, this morning I had to get some rows via flashback query. Since my undo retention is just 3h, the undo segments were already aged out. But I have a physical standby database that...
8
16213
by: ZRexRider | last post by:
Hi, I have an application that uses MS-SQL Linked tables. I have a utility routine that drops all links and re-establishes them. It works great when my connection string is a DSN connection...
2
1534
by: scott | last post by:
Hi all First off, thank you for any one that can help. I have a problem trying to link a DataGrideTableStyle to a DataGrid. I have a dataset which reads from a file a xml schema and a xml...
3
2156
by: debbie | last post by:
I have an Access 2002 program that I install using Wise. The first thing my program does when a front end is opened is re-link, then it checks the version and if needed upgrades the backend. My...
7
4053
by: Lisa | last post by:
I have an Access 2000 application that uses the following function to re-link my tables when I switch from my Current back end to a Dummy back end. I also use it to refresh my links. Function...
13
4877
by: rdemyan via AccessMonster.com | last post by:
My front-end code manually links to the backend file. I was wondering what stops Access from linking to the system tables in the backend file. Is it just by virtue that they are hidden? This...
1
2173
by: pemigh | last post by:
I'm almost done with an application, and trying to lock it down tightly. But I still want users to be able to point to a new location for the data file. The code below fires off to detect and...
7
2936
by: ApexData | last post by:
Hello I currently Link the FE/BE using the LinkTables Option and the Linked Table Manager. Any time I need to move the BE to another location, I have to go through this process over again. I...
3
4909
by: Vee007 | last post by:
Following is my code: Dim objCatalog As ADOX.Catalog Dim objTableLink As ADOX.Table Dim objADOConnection As ADODB.Connection Try objADOConnection = New...
0
7108
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6847
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7352
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5445
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
272
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.