Click here to get back home

Update mySQL data from Excel

 HomeNewsGroups | Search | About
 mailing.database.mysql    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Update mySQL data from Excel roger.rigsby 01-12-2007
Get Chitika Premium
Posted by roger.rigsby on January 12, 2007, 3:22 pm
Please log in for more thread options
Ok I know how to get the data I want from mysql but I need to actually
do something with this data and then send it back to mySQL.

Company heads love the spreadsheet view so this is serious business.

I've done what I could with tables and css and javascript and whatnot
for a makeshift datagrid on a webpage but since I'm using PHP and not
asp.net I have no idea how to create a datagrid.

So if anyone knows how to update data in Excel that has been pulled
from mySQL it would be GREAT.

Thanks.


Posted by Carl Pearson on January 12, 2007, 9:57 pm
Please log in for more thread options

roger.rigsby@gmail.com wrote:
> Ok I know how to get the data I want from mysql but I need to actually
> do something with this data and then send it back to mySQL.
>
> Company heads love the spreadsheet view so this is serious business.
>
> I've done what I could with tables and css and javascript and whatnot
> for a makeshift datagrid on a webpage but since I'm using PHP and not
> asp.net I have no idea how to create a datagrid.
>
> So if anyone knows how to update data in Excel that has been pulled
> from mySQL it would be GREAT.
>
> Thanks.
>

Since you're working with Excel, let VBA help.

Instead of trying to show the data in the browser, you could try:
http://pear.php.net/package/Spreadsheet_Excel_Writer

If your spreadsheet is very complicated (which could make the above
difficult to implement), you could always have the server create a CSV &
use some code in your spreadsheet to import it.

Going the other way, you could use some VBA code to write out an update
query - saving it as a file - upload it to some space on the server
(perhaps with a shell to a command-line ftp, though that would be
sending the login credentials as plain-text), then shell out to a
browser call using the uploaded file name as a query string.

Similar ThreadsPosted
Excel -> MySQL ODBC data format problem February 9, 2006, 12:08 pm
Query MySQL from Excel August 16, 2008, 12:49 pm
ResultSet is from UPDATE. No Data. September 19, 2006, 3:32 am
ResultSet is from UPDATE. No Data. November 3, 2006, 4:26 am
how to import Excel file into an already normalized database? June 26, 2006, 10:22 am
MySQL UPDATE QUERY July 31, 2006, 7:30 am
ON DUPLICATE KEY UPDATE with an old version of MySQL September 25, 2005, 11:38 am
MySql UPDATE problem with duplicate rows May 14, 2006, 9:59 am
I want to make transfer data between MySQL Server to MySQL Local . February 9, 2006, 1:25 am
how to get data out of mysql December 23, 2005, 9:01 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap