Hi list,

My apologies if this question fits better in the developers list. 
I'm trying to understand how db_fetch works and why am getting a strange error.
After a query is executed and db_open_select_cursor is used, db_fetch is used 
to fetch the data of the resultant query. AFAIK, db_fetch(&cursor, DB_NEXT, 
&more) fetches the data on a row by row basis; is this correct? My problem is 
that everything works fine on my program except the db_fetch loop, as the loop 
breaks after the first iteration (although my table has 3000 rows).
Can someone help me to figure out why the loop breaks?

Thanks,

Jaime

       
---------------------------------

¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
http://correo.espanol.yahoo.com/
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to