ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   excel function update if mysql databse is updated / an inserts hastaken place. (https://www.excelbanter.com/excel-programming/408580-excel-function-update-if-mysql-databse-updated-inserts-hastaken-place.html)

[email protected]

excel function update if mysql databse is updated / an inserts hastaken place.
 
Hi,

I'm looking for a manual to make some code for VBA excel. I would like
to make some functions that keep track of the database and when the
database is updated, the results are also updated live and
automatically.

For instance:
I have a table with members

id name something_else


and a query like this: select count(id) from some_table

if an extra row is added, I would like to see that live in excel.
Does anybody know a site where I can start?
Regards,

Matthijs

Dick Kusleika[_4_]

excel function update if mysql databse is updated / an inserts has taken place.
 
On Mon, 31 Mar 2008 07:38:41 -0700 (PDT), wrote:


I'm looking for a manual to make some code for VBA excel. I would like
to make some functions that keep track of the database and when the
database is updated, the results are also updated live and
automatically.

For instance:
I have a table with members

id name something_else


and a query like this: select count(id) from some_table

if an extra row is added, I would like to see that live in excel.
Does anybody know a site where I can start?
Regards,


Matthijs: I don't think it's possible. You could create a query table in
Excel that points to your MySQL database. Then you could set it's
properties to refresh every minute. Is every minute "live" enough for you?
--
Dick Kusleika
Microsoft MVP-Excel
http://www.dailydoseofexcel.com

[email protected]

excel function update if mysql databse is updated / an insertshas taken place.
 
Hi,

thanks for your tip. It is not live enough, so I have to look for some
other solution.
regards,

Matthijs


All times are GMT +1. The time now is 11:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com