DCFINDBROWSE questions

This forum is for eXpress++ general support.
Post Reply
Message
Author
johnlau
Posts: 4
Joined: Thu Mar 11, 2010 1:31 am

DCFINDBROWSE questions

#1 Post by johnlau »

Two questions:

1. Does DCFINDBROWSE support data source being an array of Record Objects? How?

2. Did anyone successfully use the POINTER <nPointer> clause? It appears from DCDIALOG.CH that this clause does not translate into a pass-by-ref parameter to DC_FindBrowse, and thus this pointer never gets assigned back.

Regards,
John

PS. I am using eXPress version 264

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

Re: DCFINDBROWSE questions

#2 Post by rdonnay »

John -

I'm working on a solution for you.
It will take a modification to eXpress++ source code.
The eXpress train is coming - and it has more cars.

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

Re: DCFINDBROWSE questions

#3 Post by rdonnay »

John -

DCFINDBROWSE has been deprecated and I will be no longer making changes to this code.

Instead, I recommend that you create your own Find / Browse using the DC_BrowseAutoSeek() function.

I added a new 13th parameter (bScan) so you can use your own scan algorithm.

I modified the BROWSE.PRG sample program so it will use DC_BrowseAutoSeek().

Copy _DCFINDX.PRG to your \exp20\source\dclipx folder.
Rebuild DCLIPX.DLL by running BUILD20.BAT or BUILD19_SL1.BAT.

COPY BROWSE.PRG to your \exp20\samples\dbrecord folder.
Rebuild BROWSE.EXE by running PBUILD PROJECT.XPJ

Run BROWSE.EXE to see how it works.
Attachments
autoseek.zip
(8.16 KiB) Downloaded 711 times
The eXpress train is coming - and it has more cars.

johnlau
Posts: 4
Joined: Thu Mar 11, 2010 1:31 am

Re: DCFINDBROWSE questions

#4 Post by johnlau »

Roger, many thanks, John

Post Reply