CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 [RESOLVED] MySQL issues

Print topic Send  topic

Author Message
Chris__T


Posts: 339
Posted: 12/17/2008, 2:32 PM

I'm testing out using MySQL as our database system and I'm having a few problems. First, moving an Access database to MySQL did fine, but every date field that was empty is now field with the date/time I transferred the database to MySQL. I don't know why it did this, but it shouldn't be too hard to fix. Some SQL queries can find and replace these with null values.

Using the mysql with my asp pages, I've noticed that if you submit a form without putting a date in a date field, when you go back to this form and view the contents of this record, it puts today's date into that field. Since I submitted the form with an empty date field, I would assume it would just keep that field empty in the database. I don't know what is going on.
View profile  Send private message
Chris__T


Posts: 339
Posted: 12/17/2008, 2:43 PM

looks like it has something to do with mysql front converting access date type to a timestamp type. That seems to be causing the hiccup
View profile  Send private message
asawyer13

Posts: 46
Posted: 12/18/2008, 4:55 AM

Not sure if this is an option for you, but in the past I have used some software from
http://www.bullzip.com/products/a2m/info.php
which worked okay for me. It's free, though donations are accepted.
I don't recall having any issues with any fields.

Alan

View profile  Send private message
Oper


Posts: 1195
Posted: 12/18/2008, 5:40 AM

Quote :
Using the mysql with my asp pages, I've noticed that if you submit a form without putting a date in a date field, when you go back to this form and view the contents of this record, it puts today's date into that field. Since I submitted the form with an empty date field, I would assume it would just keep that field empty in the database. I don't know what is going on.

really odd, this has never happend to us.
maybe default value in CCS?
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Chris__T


Posts: 339
Posted: 01/12/2009, 2:00 PM

Well, these issues were happening with MySQL 4.0.23 and using MySQL Front (free version) to import Access DB into MySQL.

We upgraded to MySQL 5.1, and used the Migration Tool in the MySQL GUI Tools 5 and it worked perfectly.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.