473,473 Members | 1,768 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 4250

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...
0
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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
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
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.