The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: z941998 on January 05, 2010, 06:44:25 AM

Title: ODBC question / problem
Post by: z941998 on January 05, 2010, 06:44:25 AM
Hi All, I coded a ODBC rountine to connect to a local database.  I can connect, fetch the data and disconnect without any errors.

The problem I have is if I run the routine more than once, I don't get any data back from the fetch routine.  If I exit the app and reenter, the first time works as program, and thereafter it fails.

For the most part I used what iczelion produced in his tutorials, however I could not download his working example and made adjustments to my working environment and tested it live persue.  I have attached my coding for your review and comments.

My question is has anyone seen or heard of a solution that will allow continious datafetching versus what I have described above?

Steve
Title: Re: ODBC question / problem
Post by: ToutEnMasm on January 10, 2010, 04:56:04 PM

I have write a piece of code who haven't this problems.
Read access and excel base.
Sorry for comments in french.

Title: Re: ODBC question / problem
Post by: z941998 on January 11, 2010, 01:18:05 AM
Thanks, I will take a look.  Steve
Title: Re: ODBC question / problem
Post by: z941998 on January 13, 2010, 01:16:35 PM
The Light-bulb came on.  Check out the working example, Steve
Title: Re: ODBC question / problem
Post by: Johnny Sea on February 22, 2012, 07:23:55 PM
I'm getting back into mas32 and thought I would try to learn some ODBC. When I downloaded the original example I was not able to rebuild it and get it to run. I now downloaded your zip files and am able to. What changed? I will try to compare the two. Now I can work with this example and see what I can learn and do.

Thank You
John
Title: Re: ODBC question / problem
Post by: dedndave on February 23, 2012, 12:14:02 AM
the masm32 package recently underwent a major update :P