Search found 129 matches

by Piotr D
Thu Jul 31, 2014 4:07 am
Forum: Xbase++ 2.0
Topic: RLock() and transaction
Replies: 1
Views: 7922

RLock() and transaction

Moving an DBF-based program to PostgreSQL, is a good idea using transaction. But in existing source code I use Rlock(). My questions are: - if Rlock() with PgDbe make simple transaction? - is possible "group" more updates (with RLock()) with BEGIN TRANSACTION... END TRANSACTION or is here an conflic...
by Piotr D
Thu Jul 31, 2014 1:46 am
Forum: Xbase++ 2.0
Topic: Problem with deleted records
Replies: 8
Views: 21006

Re: Problem with deleted records

I solved these problem. With DCBROWSE based on DC_XbpBrowse class from Express 252 works good (wrong was
DC_XbpBrowse class from Express 242). C'est la vie and now back to tests :)

Piotr
by Piotr D
Wed Jul 30, 2014 11:59 pm
Forum: Xbase++ 2.0
Topic: ADir() and Directory() in PGDBE
Replies: 6
Views: 17873

Re: ADir() and Directory() in PGDBE

Jimmy,
I now that these command work properly "inside" PgAdmin. I use these with ODBCDBE (with MSSQL) and in
this case I can "USE" table with these information. Alaska's Xbase 2.0 Guide is incomplete, and informations
about use PgDbe with SQL language are very poor...

Piotr
by Piotr D
Wed Jul 30, 2014 11:50 pm
Forum: Xbase++ 2.0
Topic: Problem with deleted records
Replies: 8
Views: 21006

Re: Problem with deleted records

Jimmy, are you sure? These problem exist only if deleted record(s) is/are first or last record in selected scope. If these are "inside scoped group" of records, are not visible (SET DELETED is ON!) and all works correctly. But when deleted record is first (the same with last) in "scoped group" of re...
by Piotr D
Wed Jul 30, 2014 1:42 am
Forum: Xbase++ 2.0
Topic: Problem with deleted records
Replies: 8
Views: 21006

Problem with deleted records

Hi, I still test Pgdbe using Express library. Now I have problem with deleted records. I use a table, set scope with DC_SetScope(), (for example, record #1 is not deleted, record #2 is deleted (in column __deleted is TRUE)) after DC_DbGoTop() only not deleted records are available (I test it wit DO ...
by Piotr D
Tue Jul 29, 2014 11:04 pm
Forum: Xbase++ 2.0
Topic: ADir() and Directory() in PGDBE
Replies: 6
Views: 17873

Re: ADir() and Directory() in PGDBE

Jimmy, when I use directly in my source: SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME like 'V_%' ORDER BY TABLE_NAME I becam an error during compilation [Hint] : usqlstmt(1) : lexer error 1 : [Hint] : Unexpected character at offset 43, near 'A' : [Hint] : ABLES WHERE TABLE_NA Wh...
by Piotr D
Tue Jul 29, 2014 10:16 am
Forum: Xbase++ 2.0
Topic: dc_dbposition and db_position
Replies: 12
Views: 29613

Re: dc_dbposition and db_position

Roger
thanks for your reply. In this case in DCBROWSE a THUMBLOCK option os a good solution for the vertical scrollbar.
Piotr
by Piotr D
Tue Jul 29, 2014 1:18 am
Forum: Xbase++ 2.0
Topic: ADir() and Directory() in PGDBE
Replies: 6
Views: 17873

ADir() and Directory() in PGDBE

Hi,
how can I simulate ADir() and Directory() functions on PostgreSQL tables?

Piotr
by Piotr D
Mon Jul 28, 2014 11:59 pm
Forum: Xbase++ 2.0
Topic: dc_dbposition and db_position
Replies: 12
Views: 29613

Re: dc_dbposition and db_position

Hi Roger, hi all, after a few years i am back ;) Last week I begin test with Alaska Xbase 2.0 with PostgreSQL. My first experience was good, it's look like a good way for transformation existing DBF-version to SQL. For me is important, that it's possible to have only one (the same) version of PRGs u...