dbsetfilter and pgdbe

Xbase++ 2.0 Build 554 or later
Post Reply
Message
Author
pauld
Posts: 15
Joined: Thu Jul 31, 2014 2:48 pm

dbsetfilter and pgdbe

#1 Post 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?

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: dbsetfilter and pgdbe

#2 Post by rdonnay »

Alaska's PGDBE isn't really finished.

There are a lot of db*() functions that do not yet work.
The eXpress train is coming - and it has more cars.

User avatar
pedroah
Posts: 28
Joined: Wed Nov 05, 2014 7:15 pm
Location: Dominican Republic
Contact:

Re: dbsetfilter and pgdbe

#3 Post by pedroah »

The problem is DbGotop()

Use this:

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

User avatar
Tom
Posts: 1171
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: dbsetfilter and pgdbe

#4 Post by Tom »

Use this:
Horrible!

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

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
pedroah
Posts: 28
Joined: Wed Nov 05, 2014 7:15 pm
Location: Dominican Republic
Contact:

Re: dbsetfilter and pgdbe

#5 Post by pedroah »

:o

Post Reply