Page 1 of 1

dbsetfilter and pgdbe

Posted: Wed Jan 07, 2015 3:41 pm
by pauld
I'm running into an issue when using dbsetfilter() with pgdbe. If I have a Go Top after the dbsetfilter() I get this error:

Description: Operating system error
Code: 40
Operation: DbGoTop
Args: {}

Is anyone else running into issues when using filters with postgres?

Re: dbsetfilter and pgdbe

Posted: Thu Jan 08, 2015 12:26 pm
by rdonnay
Alaska's PGDBE isn't really finished.

There are a lot of db*() functions that do not yet work.

Re: dbsetfilter and pgdbe

Posted: Mon Mar 09, 2015 8:38 pm
by pedroah
The problem is DbGotop()

Use this:

FUNC PW_DbGotop()
WHILE !bof()
DbSkip(-1)
ENDDO
RETURN NIL

Re: dbsetfilter and pgdbe

Posted: Tue Mar 10, 2015 12:53 am
by Tom
Use this:
Horrible!

This is like: If your car is dirty, buy a new one. :(

Re: dbsetfilter and pgdbe

Posted: Tue Mar 10, 2015 2:02 pm
by pedroah
:o