P
Peter Larsson
Hi there,
I've recently developed a VBA-program in Excel that fetches and presents
data from a distant Access database over a wireless peer-to-peer network
(both computers running Win XP Pro). It has worked relatively well for some
time, but recently I'm often encountering errors when trying to fetch the
data. I am pretty sure that this is because of a poor wireless connection
since I'm also having some problems e.g. copying files to/from the remote
computer. On the other side, when executing a PING-command to the remote
computer from the command prompt, "only" about 10-15% of the packets are
lost (or perhaps that is too much?). And it also tends to work fine to
connect e.g. through a Remote Desktop Connection to control the remote
computer. Unfortunately, the manufacturer of my wireless router and access
point (D-Link) don't offer any good software to measure the quality of the
connection.
To connect and retrieve data through VBA, I use the following syntax
(DSN-connection):
Dim dbConn As New ADODB.Connection
Dim db As New ADODB.Recordset
dbConn.Open "DSN=DatasourceName"
db.Open "SELECT * FROM Table1", dbConn
Now I'm basically hoping that any of you experts out there can provide me
with some helpful comments to reduce my confusion and maybe confirm that my
problems are because of a poor connection, or maybe because of some other
reason? And maybe also suggest for how I can query the database more
successfully without having to change the hardware?
Thank you very much in advance!
// Peter Larsson
PS. If this is not the most appropriate newsgroup to ask for help in, maybe
somebody could suggest a better one? DS.
I've recently developed a VBA-program in Excel that fetches and presents
data from a distant Access database over a wireless peer-to-peer network
(both computers running Win XP Pro). It has worked relatively well for some
time, but recently I'm often encountering errors when trying to fetch the
data. I am pretty sure that this is because of a poor wireless connection
since I'm also having some problems e.g. copying files to/from the remote
computer. On the other side, when executing a PING-command to the remote
computer from the command prompt, "only" about 10-15% of the packets are
lost (or perhaps that is too much?). And it also tends to work fine to
connect e.g. through a Remote Desktop Connection to control the remote
computer. Unfortunately, the manufacturer of my wireless router and access
point (D-Link) don't offer any good software to measure the quality of the
connection.
To connect and retrieve data through VBA, I use the following syntax
(DSN-connection):
Dim dbConn As New ADODB.Connection
Dim db As New ADODB.Recordset
dbConn.Open "DSN=DatasourceName"
db.Open "SELECT * FROM Table1", dbConn
Now I'm basically hoping that any of you experts out there can provide me
with some helpful comments to reduce my confusion and maybe confirm that my
problems are because of a poor connection, or maybe because of some other
reason? And maybe also suggest for how I can query the database more
successfully without having to change the hardware?
Thank you very much in advance!
// Peter Larsson
PS. If this is not the most appropriate newsgroup to ask for help in, maybe
somebody could suggest a better one? DS.