Selasa, 01 Agustus 2023

Re: [MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access

Duane,

Surprisingly Excel is able to get connected with MySql and even import data via ODBC without any errors.


regards

Ahmed

On Tue, Aug 1, 2023 at 6:27 PM Duane Hookom <duanehookom@hotmail.com> wrote:
I would try create a pass-through query or connect via Excel (as tests). 

Duane

Sent from my mobile

On Aug 1, 2023, at 7:47 AM, Ahmed Hashim <ahmedhashim1@gmail.com> wrote:


Yes, creating DSN outside Ms.Access is successfully connected with MySql database:
<image.png>


On Tue, Aug 1, 2023 at 4:59 PM Duane Hookom <duanehookom@hotmail.com> wrote:
Creating an ODBC/DSN can be accomplished completely outside of Access. Is this successful? Will the DSN connect?

Duane

From: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io> on behalf of Ahmed Hashim <ahmedhashim1@gmail.com>
Sent: Tuesday, August 1, 2023 12:52 AM
To: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io>
Subject: [MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access
 
Hi to All,

I am trying to connect and link Mysql table with Ms.Access, but everytime using wizard it shows following error:
<image.png>

I've tried via ODBC (file, system and machine DSN), and received the same error every time.

Environment Information:
Windows 10 64bit
Ms. Office version 2019 64bit
MySql version: mysql  Ver 15.1 Distrib 10.4.20-MariaDB, for Win64 (AMD64), source revision c7ee039d36f69f24fb3b1c422fcff8dbf974e3eb
MySql ODBC Driver/Connector: MySQL ODBC 8.1

Any help/suggestion will be highly appreciated.

best regards

Ahmed Hashim

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#116424) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [sugeng.panjalu.access@blogger.com]

_._,_._,_

Re: [MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access

I would try create a pass-through query or connect via Excel (as tests). 

Duane

Sent from my mobile

On Aug 1, 2023, at 7:47 AM, Ahmed Hashim <ahmedhashim1@gmail.com> wrote:


Yes, creating DSN outside Ms.Access is successfully connected with MySql database:
<image.png>


On Tue, Aug 1, 2023 at 4:59 PM Duane Hookom <duanehookom@hotmail.com> wrote:
Creating an ODBC/DSN can be accomplished completely outside of Access. Is this successful? Will the DSN connect?

Duane

From: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io> on behalf of Ahmed Hashim <ahmedhashim1@gmail.com>
Sent: Tuesday, August 1, 2023 12:52 AM
To: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io>
Subject: [MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access
 
Hi to All,

I am trying to connect and link Mysql table with Ms.Access, but everytime using wizard it shows following error:
<image.png>

I've tried via ODBC (file, system and machine DSN), and received the same error every time.

Environment Information:
Windows 10 64bit
Ms. Office version 2019 64bit
MySql version: mysql  Ver 15.1 Distrib 10.4.20-MariaDB, for Win64 (AMD64), source revision c7ee039d36f69f24fb3b1c422fcff8dbf974e3eb
MySql ODBC Driver/Connector: MySQL ODBC 8.1

Any help/suggestion will be highly appreciated.

best regards

Ahmed Hashim

Re: [MSAccessProfessionals] Import XML file

Hello Chrystal,

Yes could be, but I do not have it, what I should do is simply take some data from these XML.

I'm not interested to put this data in different access table, just import in similar way as we get when we open with excel in a  table,  and after work selectively in some of these data.

Honestly I created an application in access that is opening the excel that is connected to the XML, is refreshing the file, and is importing the excel the data from excel.

Not really a linear and elegant way but works…

I would have liked directly import some of the information from XML, avoiding excel in the middle

Whatever suggestion is well accepted

 

Valentino

 

 

 

 

 

 

From: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io> On Behalf Of crystal (strive4peace) via groups.io
Sent: Monday, July 31, 2023 5:45 PM
To: MSAccessProfessionals@groups.io
Subject: Re: [MSAccessProfessionals] Import XML file

 

Valentino, there is probably also an XML header file but you didn't specify that -- do you have one? Excel brings everything in as flat data whereas Access should separate data into different tables. This isn't an easy task!

kind regards,
crystal

On 29/07/2023 4:20 am, avvisati wrote:

 

Yes I understand this, this is why I asked for help since I'm not an expert

I know that there are two ways to go on:

 

  1. Transform the XML from attribute centric like this one  to element centric using xls language- file

And transform from an XML as this one  

 

<person sex="female">

  <firstname>Anna</firstname>

  <lastname>Smith</lastname>

</person>

 

Try to get something like this one

<person>

  <sex>female</sex>

  <firstname>Anna</firstname>

  <lastname>Smith</lastname>

</person>

And after import because the Element centric is compatible with Access

 

 

  1. The other way is read informatio using VBA, and I wanted to try this

I tried  to google and try to get some example like this one

But I do not succeded  to get the information, or better I can  I can retrive some informaton but but

 

This is why  I ask support of somebody can give some preatical indicatoin where to see

 

 

 

 

From: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io> On Behalf Of Arnelito Puzon
Sent: Saturday, July 29, 2023 5:02 AM
To: MSAccessProfessionals@groups.io
Subject: Re: [MSAccessProfessionals] Import XML file

 

it is obvious that the xml file is not a well-formed access xml file so it is

not being imported. you need special VBA to create a structure for those

fields in your xml.

 

On Sat, Jul 15, 2023 at 5:25 PM avvisati <valentino.avvisati@gmail.com> wrote:

Hello All, 

i need to import one XML file to access, I can open it with no problem in excel and after import but I would like to import directly in Access 

The problem is that when I import using the XML importation of Access, are created some table but empty and I understand  probably the problem is that the file I want to open,  is based on attribute but should be based on element 

I also read that I first should transform the file to a Element based file and after i can import. 

I tried  to creatine xsl file but with no success 

somebody can give me some indication and eventually suggest some tool?

I do not know XML 

thank you 

Valentino 

 

 

Re: [MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access

Yes, creating DSN outside Ms.Access is successfully connected with MySql database:


On Tue, Aug 1, 2023 at 4:59 PM Duane Hookom <duanehookom@hotmail.com> wrote:
Creating an ODBC/DSN can be accomplished completely outside of Access. Is this successful? Will the DSN connect?

Duane

From: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io> on behalf of Ahmed Hashim <ahmedhashim1@gmail.com>
Sent: Tuesday, August 1, 2023 12:52 AM
To: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io>
Subject: [MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access
 
Hi to All,

I am trying to connect and link Mysql table with Ms.Access, but everytime using wizard it shows following error:

I've tried via ODBC (file, system and machine DSN), and received the same error every time.

Environment Information:
Windows 10 64bit
Ms. Office version 2019 64bit
MySql version: mysql  Ver 15.1 Distrib 10.4.20-MariaDB, for Win64 (AMD64), source revision c7ee039d36f69f24fb3b1c422fcff8dbf974e3eb
MySql ODBC Driver/Connector: MySQL ODBC 8.1

Any help/suggestion will be highly appreciated.

best regards

Ahmed Hashim

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#116421) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [sugeng.panjalu.access@blogger.com]

_._,_._,_

Re: [MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access

Creating an ODBC/DSN can be accomplished completely outside of Access. Is this successful? Will the DSN connect?

Duane

From: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io> on behalf of Ahmed Hashim <ahmedhashim1@gmail.com>
Sent: Tuesday, August 1, 2023 12:52 AM
To: MSAccessProfessionals@groups.io <MSAccessProfessionals@groups.io>
Subject: [MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access
 
Hi to All,

I am trying to connect and link Mysql table with Ms.Access, but everytime using wizard it shows following error:

I've tried via ODBC (file, system and machine DSN), and received the same error every time.

Environment Information:
Windows 10 64bit
Ms. Office version 2019 64bit
MySql version: mysql  Ver 15.1 Distrib 10.4.20-MariaDB, for Win64 (AMD64), source revision c7ee039d36f69f24fb3b1c422fcff8dbf974e3eb
MySql ODBC Driver/Connector: MySQL ODBC 8.1

Any help/suggestion will be highly appreciated.

best regards

Ahmed Hashim

Senin, 31 Juli 2023

[MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access

Hi to All,
 
I am trying to connect and link MySql table with Ms. Access, but every time using wizard it shows following error:
image.png
I've tried via ODBC (file, system and machine DSN), and received the same error every time.
 
Environment Information:
Windows 10 64bit
Ms. Office version 2019 64bit
MySql version: mysql  Ver 15.1 Distrib 10.4.20-MariaDB, for Win64 (AMD64), source revision c7ee039d36f69f24fb3b1c422fcff8dbf974e3eb
MySql ODBC Driver/Connector: MySQL ODBC 8.1
 
Any help/suggestion will be highly appreciated.
 
best regards
 
Ahmed Hashim
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#116418) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [sugeng.panjalu.access@blogger.com]

_._,_._,_

[MSAccessProfessionals] Error while Linking Table from MySql to Ms.Access

Hi to All,

I am trying to connect and link Mysql table with Ms.Access, but everytime using wizard it shows following error:

I've tried via ODBC (file, system and machine DSN), and received the same error every time.

Environment Information:
Windows 10 64bit
Ms. Office version 2019 64bit
MySql version: mysql  Ver 15.1 Distrib 10.4.20-MariaDB, for Win64 (AMD64), source revision c7ee039d36f69f24fb3b1c422fcff8dbf974e3eb
MySql ODBC Driver/Connector: MySQL ODBC 8.1

Any help/suggestion will be highly appreciated.

best regards

Ahmed Hashim
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#116419) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [sugeng.panjalu.access@blogger.com]

_._,_._,_