Re: Reserevd Error -7776 -- Urgent

2006-04-09 Thread Daniel Kasak

C K wrote:

Dear Friends,
I have linked tables from MySQL through ODBC DSN in Access 2003.
when I go for updating any record in any linked table then it gives me
error as follows:
Reserved Error (-7776); there is no message for this error.
What will be the problem? Please help.
Is this error from MS ACCESS  or for MySQL.
Thanks  Regards,
CPK
  


I first encountered this issue yesterday, when mucking around with 
Access 2003. When I dropped the timestamp(14) field from my table, 
everything worked ( no #DELETED# after updating records ). I tested with 
about 3 records. No guarantees it work work the 4th time ...


--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Reserevd Error -7776 -- Urgent

2006-04-07 Thread C K
Dear Friends,
I have linked tables from MySQL through ODBC DSN in Access 2003.
when I go for updating any record in any linked table then it gives me
error as follows:
Reserved Error (-7776); there is no message for this error.
What will be the problem? Please help.
Is this error from MS ACCESS  or for MySQL.
Thanks  Regards,
CPK

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Reserevd Error -7776 -- Urgent

2006-04-07 Thread SGreen
C K [EMAIL PROTECTED] wrote on 04/07/2006 01:35:22 PM:

 Dear Friends,
 I have linked tables from MySQL through ODBC DSN in Access 2003.
 when I go for updating any record in any linked table then it gives me
 error as follows:
 Reserved Error (-7776); there is no message for this error.
 What will be the problem? Please help.
 Is this error from MS ACCESS  or for MySQL.
 Thanks  Regards,
 CPK
 

Have you read through this:
http://dev.mysql.com/doc/refman/4.1/en/msaccess.html

or this:
http://dev.mysql.com/doc/refman/4.1/en/myodbc-with-vb.html

or checked here:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnaraccessdev/html/ODC_JetDatabaseEngineVersion30ODBCConnectivity.asp
(quoted)
-7776   SQLGetData(SQL_C_TIMESTAMP) Illegal date/time value returned.


My quick suggestion: Make sure that all of your timestamp and datetime 
fields are within their expected ranges.

Sorry I can't be more helpful but it's a busy day here

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine

Re: Reserevd Error -7776 -- Urgent

2006-04-07 Thread C K
On 4/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 C K [EMAIL PROTECTED] wrote on 04/07/2006 01:35:22 PM:


   Dear Friends,
   I have linked tables from MySQL through ODBC DSN in Access 2003.
   when I go for updating any record in any linked table then it gives me
   error as follows:
   Reserved Error (-7776); there is no message for this error.
   What will be the problem? Please help.
   Is this error from MS ACCESS  or for MySQL.
   Thanks  Regards,
   CPK
  


 Have you read through this:
 http://dev.mysql.com/doc/refman/4.1/en/msaccess.html

 or this:
 http://dev.mysql.com/doc/refman/4.1/en/myodbc-with-vb.html

 or checked here:
 http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnaraccessdev/html/ODC_JetDatabaseEngineVersion30ODBCConnectivity.asp
 (quoted)
 -7776 SQLGetData(SQL_C_TIMESTAMP) Illegal date/time value
 returned.
 

 My quick suggestion: Make sure that all of your timestamp and datetime
 fields are within their expected ranges.
 I am using MySQL server 5.0.17 and ODBC 3.51.12 for ODBC connection.
When I update an y data from MySQL Administrator or SQLYog it gets updated.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Reserevd Error -7776 -- Urgent

2006-04-07 Thread SGreen
C K [EMAIL PROTECTED] wrote on 04/07/2006 01:59:39 PM:

 On 4/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
  C K [EMAIL PROTECTED] wrote on 04/07/2006 01:35:22 PM:
 
 
Dear Friends,
I have linked tables from MySQL through ODBC DSN in Access 2003.
when I go for updating any record in any linked table then it gives 
me
error as follows:
Reserved Error (-7776); there is no message for this error.
What will be the problem? Please help.
Is this error from MS ACCESS  or for MySQL.
Thanks  Regards,
CPK
   
 
 
  Have you read through this:
  http://dev.mysql.com/doc/refman/4.1/en/msaccess.html
 
  or this:
  http://dev.mysql.com/doc/refman/4.1/en/myodbc-with-vb.html
 
  or checked here:
  http://msdn.microsoft.com/archive/default.asp?url=/archive/en-
 us/dnaraccessdev/html/ODC_JetDatabaseEngineVersion30ODBCConnectivity.asp
  (quoted)
  -7776 SQLGetData(SQL_C_TIMESTAMP) Illegal date/time 
value
  returned.
  
 
  My quick suggestion: Make sure that all of your timestamp and datetime
  fields are within their expected ranges.
  I am using MySQL server 5.0.17 and ODBC 3.51.12 for ODBC connection.
 When I update an y data from MySQL Administrator or SQLYog it gets 
updated.
 

I see your point?  That must be why I *didn't* give you links that 
document working with MySQL with MySQL Administor OR SQLYog. I gave you 
links to using MS Access and ODBC with MySQL. 

Those pages (and the ones they link to) contain valuable information to 
help you learn how limited those products are compared with MySQL and how 
you need to adjust your data so that it fits within the boundaries that MS 
sets for *their* data manipulation tools.

The short explanation is that MySQL has more range and capacity than ODBC 
and Access can handle and you have to work within the MS limits if you 
want to use with those tools.

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine

Re: Reserevd Error -7776 -- Urgent

2006-04-07 Thread C K
I also tried folloing and got results as below:
1) I updated the default for timestamp filed as CURRENT TIMESTAMP as
mentioned in MySQL 5.1 manual.
But this not worked.
2) I dropped timestamp fiield from that table and refreshed link, then
I can ork properly. Now I can insert and update reocrds without any
problem.  But this against the comment and responce from MySQL
community that it is necessary to have a timestamp field to properly
view and edit data in linked MysQL table. Else it will give he error
as #deleted, But isn't it strange that now it is not giving me any 
such error. ? Why?
Thanks.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Reserevd Error -7776 -- Urgent

2006-04-07 Thread Gordon
I have been linking MySQL tables into access for versions 3.23 thorough
5.17. The only way I have been able to deal with insert/update tables with a
timestamp field is to build a query which includes all of the fields except
the timestamp field. You can then do your insert or update against the
query. ACCESS/ODBC does not know about the timestamp field so they are
happy. If you specify CURRENT TIMESTAMP on the timestamp field in the MySQL
definition, MySQL will populate the field every time the row is changed or a
new row added.

 -Original Message-
 From: C K [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 07, 2006 1:50 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; mysql@lists.mysql.com; [EMAIL PROTECTED]
 Subject: Re: Reserevd Error -7776 -- Urgent
 
 I also tried folloing and got results as below:
 1) I updated the default for timestamp filed as CURRENT TIMESTAMP as
 mentioned in MySQL 5.1 manual.
 But this not worked.
 2) I dropped timestamp fiield from that table and refreshed link, then
 I can ork properly. Now I can insert and update reocrds without any
 problem.  But this against the comment and responce from MySQL
 community that it is necessary to have a timestamp field to properly
 view and edit data in linked MysQL table. Else it will give he error
 as #deleted, But isn't it strange that now it is not giving me any
 such error. ? Why?
 Thanks.
 
 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]