At 13:07 12/19/2000 -0600, you wrote: >Hi... > > I'm using Postgres and the Linux Unit, right now I call a field by his >field number, something like : >PQgetvalue(res, i, 1); > > But I would like to use the field name...some like : >PQgetvalue(res, i, my_field); PQgetvalue(res, i, PQfnumber(res,'fieldname'));