Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

ODBC error -1 on Fetch
I have a table in MS Access that I'm trying to access via ODBC. I get a -1
on the Fetch and ended up putting on Trace in the ODBC admin tool. I end up
getting an error on what turns out to be the last field stating that the
field is required. I put something in the field and now the second to last
field on the fetch creates a -1 error code, once again stating that the
field is required. In the design view for the DB both of these fields are
flagged as not being required. I'm using Realia COBOL WB 3.3.




Report this thread to moderator Post Follow-up to this message
Old Post

04-14-05 08:55 AM


Re: ODBC error -1 on Fetch
On Wed, 13 Apr 2005 22:59:15 -0500, <thepla@attglobal.net> wrote:

>I have a table in MS Access that I'm trying to access via ODBC. I get a -1
>on the Fetch and ended up putting on Trace in the ODBC admin tool. I end up
>getting an error on what turns out to be the last field stating that the
>field is required. I put something in the field and now the second to last
>field on the fetch creates a -1 error code, once again stating that the
>field is required. In the design view for the DB both of these fields are
>flagged as not being required. I'm using Realia COBOL WB 3.3.
>

Can you please post your code, both COBOL and SQL bits, and Access
driver version used.



Frederico Fonseca
ema il: frederico_fonseca at syssoft-int.com

Report this thread to moderator Post Follow-up to this message
Old Post
Frederico Fonseca
04-14-05 01:55 PM


Re: ODBC error -1 on Fetch
It turns out there was a bug in the compiler. CA has always responded with
unbelievable speed in responding to the couple bugs I have found over the
years. The problem was that when the Access DB had the "Not Required" flag
set and there was not any data I would get -1 on the Fetch.

Thanks for you offer to assist.

Stev
"Frederico Fonseca" <real-email-in-msg-spam@email.com> wrote in message
 news:dv8s51pvkho6acukhr6qek8lkjkotk3eil@
4ax.com...
> On Wed, 13 Apr 2005 22:59:15 -0500, <thepla@attglobal.net> wrote:
> 
>
> Can you please post your code, both COBOL and SQL bits, and Access
> driver version used.
>
>
>
> Frederico Fonseca
> ema il: frederico_fonseca at syssoft-int.com




Report this thread to moderator Post Follow-up to this message
Old Post

04-17-05 08:55 AM


Re: ODBC error -1 on Fetch
It turns out there was a bug in the compiler. CA has always responded with
unbelievable speed in responding to the couple bugs I have found over the
years. The problem was that when the Access DB had the "Not Required" flag
set and there was not any data I would get -1 on the Fetch.

Thanks for you offer to assist.

Stev
"Frederico Fonseca" <real-email-in-msg-spam@email.com> wrote in message
 news:dv8s51pvkho6acukhr6qek8lkjkotk3eil@
4ax.com...
> On Wed, 13 Apr 2005 22:59:15 -0500, <thepla@attglobal.net> wrote:
> 
>
> Can you please post your code, both COBOL and SQL bits, and Access
> driver version used.
>
>
>
> Frederico Fonseca
> ema il: frederico_fonseca at syssoft-int.com




Report this thread to moderator Post Follow-up to this message
Old Post

04-23-05 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:12 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.