Avatar billede vante Nybegynder
09. juli 2009 - 12:11 Der er 7 kommentarer

hjælp til ODBC forbindelse til Oracle

Hej Eksperten

Håber der er en der kan hjælpe mig.

Jeg har forsøgt at forbinde Access til en Oracle database via en ODBC driver. Det virker også fint nok men den vil ikke åbne i tabeller der indenholder æ, ø eller å i navnet er der nogen der kan hjælpe mig?

Pft
Vante
Avatar billede terry Ekspert
09. juli 2009 - 13:17 #1
Just to make sure I understand the problem.
You sya that if the linked table name contains æ,ø,å then you cant open the table, is that correct?

Have you tried altering the name of the table? What you see in the database windows is just an alias.
Avatar billede vante Nybegynder
09. juli 2009 - 13:48 #2
It's not possible for me to change the name of the tables, because I'am getting the tables from our oracle datawarehouse. But shouldn't it be possible to get an ODBC connection that can handle æøå?
Avatar billede terry Ekspert
09. juli 2009 - 14:16 #3
When you link a table via ODBC you can alter the alias name by right clicking on the name in the database window (in Access) and choosing rename. The ODBC connection should, I would have thought, have no problem with æøå, but its never a good idea to use special characters in object names.
Avatar billede terry Ekspert
09. juli 2009 - 14:20 #4
You could also take a look at th efollowing link which may also be the reason for your error.

http://support.microsoft.com/kb/295172
Avatar billede vante Nybegynder
09. juli 2009 - 15:51 #5
Nothing seems to help, and I know it's a bad idea to use speciel characters, but it's not my choose. Do you have any other ideas? I have seen your link and that didn't seem to be the problem.
Avatar billede terry Ekspert
09. juli 2009 - 16:06 #6
did you change the name?

Make a view on the Oracle server and use the view instead of the table.

Whar error do you actually get?
Avatar billede vante Nybegynder
22. juli 2009 - 14:47 #7
Jeg har klaret den, det viste sig at være en miljøvariabel der ikke var sat rigtig.

Men mange tak Terry for dine inputs


/Vante
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester