472,780 Members | 1,805 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,780 software developers and data experts.

AIUTO: Collegamento tabelle MySql ad Access

Ciao a tutti...
Premetto che non sono molto pratico di MySql (anche se ho già fatto
qualche piccola applicazione che sfrutta questo DBMS)
Ho un problema da risolvere molto importante.
Ho un DBMS MySql dove sono presenti solo i dati (le tabelle). In un
DataBase Access 2000 ho creato le maschere per la gestione e le varie
stampe per l'analisi. Al Database Access devo collegare le tabelle
presenti nel Db MySql. Il tutto gira su Pc con Windows 2000
PICCOLA PARENTESI:Prima avevo anche i dati in formato access, ma ora
per motivi di accesso contemporaneo ho pensato di spostare le tabelle
in MySql.
Ho installato MySql e il driver 3.51, ho creato le mie tabelle
(importandole da un'altro DB) e ho fatto il DSN di Sistema (tutto
sembra funzionare correttamente, i vari test di connessione si
concludono con successo).
Nel mio Mdb client, all'apertura, ho inserito questo codice per la
connessione:
----------------codice di esempio------------------
strCn = "DRIVER={MySQL ODBC 3.51
Driver};SERVER=localhost;DATAB*ASE=GesPeg;USER=civ ettini.f;PA
SSWORD=prova;OPTION=35;"
Set tdf = .CreateTableDef("Anagrafe attività")
tdf.Connect = strCn
tdf.SourceTableName = "Anagrafe attività"
CurrentDb.TableDefs.Append tdf ---> Qua mi dà errore
------------------------------*--------------
Ma quando tenta di fare l'Append della tabella al Db di Access mi si
presenta il seguente errore: "3170: Impossibile trovare ISAM
installabile."
ANCORA PIU' STRANO: Se provo a fare il collegamento alle tabelle di
MySql in modo manuale(File -> Carica Dati Esterni -> Importa -> ODBC
Databases -> DSN..), vedo il DSN, ma quando faccio il doppio click non
si apre nulla... invece io mi aspetto di vedere le tabelle presenti nel

DB di MySql per scegliere quali collegare.
PER MAGGIORI INFO:
Le prove le ho fatte in un PC (Windows 2000 sempre aggiornato) dove mi
autentico su un dominio con i privilegi di amministratore. Mentre nel
Pc che ho a casa, dove lavoro in locale sempre come amministratore ed
ho Windows XP funziona tutto correttamente.
Sapreste aiutarmi, ho fatto varie prove ma senza risultati.
Non so più cosa fare
Grazie
PS: Se apro il Db MySql con "MySql Administrator", funziona tutto
correttamente: vedo il mio db con le relative tabelle e i dati.

Nov 13 '05 #1
0 4192

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

Similar topics

2
by: Lt Müller | last post by:
hallo, zwecks der Übersichtlichkeit bei der Ausgabe von DB Daten in eine Tabelle würde ich gerne jede zweite Zeile andersfarbig markieren. Die Daten werden über eine while Schleife ausgegeben. ...
1
by: Pito81x | last post by:
Ciao a tutto il news Ho un problema: in access ho una tabella collegata ad un'altra tabelle di un server Oracle (fin qui tutto ok) solo che quando da VB apro la mia tabella Access esso mi...
0
by: Pohl | last post by:
Hallo Zusammen, in der Access Datenbank mit Produktionsdaten werden tägliche Auswertungen benötigt. Zur Zeit gibt es einen Tagesauswertung als Aceess Bericht. Eine zukünftige Anforderung besteht...
1
by: amir | last post by:
Hallo Ihr Experten, ich möchte aus einem Formular aus, eine bereits vorhandene Laufendenummer aus einer Tabelle.spalte auslese und dazu noch eine 1 addiere und dann das Ergebnis in ein Textfeld...
0
by: dangia | last post by:
Salve a tutti. Ho uno script asp per un guestbook che funziona a meraviglia se non che interpreta le date in formato USA. Oggi 7 dicembre lo fa diventare 12 luglio. Capisco molto poco di asp,...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
4
by: Vanessa | last post by:
Hi there I am an Access developer, and I have written applications for a 30 telephone call center, using the standard multiuser jet engine, it all works fine, but I want to move our systems onto...
0
by: valzi | last post by:
Salve a tutti, dovrei scrive questo programma in linguaggio visual basic.....solo che non ho molta dimestichezza con questo linguaggio.....c'è qualcuno che può darmi un aiuto o una dritta su come...
6
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.