MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 28th, 2006, 07:03 PM
encohen encohen is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 3 encohen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 40 sec
Reputation Power: 0
MS Access using MySQL

I have been trying to use MS Access 2000 as a front end to MySQL. Ok, I know I should be using java, but the client has said, no, we are using Access. Now I have successfully created a mysql db with some tables, specifically one called awards_tbl which has these columns:

id - int - autoincrement turned on
award - varchar(128)
awardDetails - TEXT
client - varchar(128)
timeofday - timestamp

Now, according to the manual, I had to put in the timestamp field in order to update this table. Now, I have successfully connected to this db via access and the Mysql ODBC driver. What I have seeing is that on the form for this table, I get a #deleted# text value in each of the form fields, when I add a new record using the form. But, when I view the actual data in the db, the data is correct. Ok, does anyone know how to get rid of the #deleted# from the form? What other things should I look out for in this setup? Thanks.

Ed cohen

Reply With Quote
  #2  
Old March 27th, 2007, 01:23 AM
Maz2331 Maz2331 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 12 Maz2331 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 53 sec
Reputation Power: 0
I do a LOT of MySQL programming in Access, and my approach is to never, ever, under any circumstances even consider thinking about using "bound" controls for anything that's edited.

Instead, I use all "unbound" forms, then in my On_Current I call a "FillInForm()" or similar local function that reads the appropriate record into a DAO or ADO recordset, populates the form fields, then closes the query. When the user hits a "Save" button, I do an "UPDATE" query composed from the data in the fields.

It is a REAL pain to code all of it, but the results are really nice - especially being able to check fields and kick back error messages or set defaults as desired. And since I charge by the hour for programming....

Reply With Quote
  #3  
Old May 15th, 2007, 08:10 AM
Pat Pat is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2007
Location: Gold Coast Australia
Posts: 1 Pat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 37 m 7 sec
Reputation Power: 0
Send a message via AIM to Pat
Help to setup odbc

I would like to use mysql backend to access front end . would one of you guys or some body tell me how to set up the odbc. Im using windows 2000

Pat

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > MS Access using MySQL


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT