<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>I am having problems with the db_fetch_next routine&nbsp; and 
Postgres.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I can’t see any problem with my code that calls it, and as far as I can 
tell the problem appears to be in the db_postgres_fetch_result routine.</DIV>
<DIV>On the first invocation of db_postgres_fetch_result&nbsp; it allocates a 
result structure and gives me the first 5 rows of the 198 that match my query 
after calling db_postgres_convert_rows.</DIV>
<DIV>On the 2nd invocation it fails to retrieve the next 5 rows because 
CON_RESULT(_con) is NULL !</DIV>
<DIV>Anyone got any suggestions? </DIV>
<DIV>&nbsp;</DIV>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">Paul 
Pankhurst<BR>Engineering Director<BR>Crocodile RCS Ltd<BR><BR>Tel: 01489 
668620<BR>DDI: 01489 
668622<BR>www.crocodile-rcs.com</DIV></DIV></DIV></BODY></HTML>