Search found 54 matches: cdxs

Return to advanced search

Re: Speedtest DBF vs. LetoDB and mySQL

... is a mess right now since it was originally written for testing filters vs scopes. However, it is very simple, open the database with indexes (CDXs). Set the current index. Set the scope, then call browse(). It should happen instantly. I don't think that DBF speed is your issue. Switching to ...
by James Bott
Mon Oct 18, 2021 11:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest DBF vs. LetoDB and mySQL
Replies: 22
Views: 1779

Re: create a function with Tdatabase

Sivio, Maybe you didn't know that CDXs have always had the option to open all the indexes automatically when the DBF is opened. And as I understand it, NTXs can now do that also. REQUEST DBFCDX rddsetdefault( "DBFCDX" ) SET EXCLUSIVE ...
by Silvio.Falconi
Thu Apr 29, 2021 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a function with Tdatabase
Replies: 7
Views: 1172

Re: create a function with Tdatabase

Sivio,

Maybe you didn't know that CDXs have always had the option to open all the indexes automatically when the DBF is opened. And as I understand it, NTXs can now do that also.

REQUEST DBFCDX
rddsetdefault( "DBFCDX" )
SET EXCLUSIVE OFF
SET(_SET_AUTOPEN, .T. )
by James Bott
Wed Apr 28, 2021 5:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a function with Tdatabase
Replies: 7
Views: 1172

Re: Marc : Conversion process and questions about it

... The variable oCustomers should be declared as LOCAL. Note that you can still pass oCustomers to a function if you wish. One last thing, I am using CDXs that auto-open when the database is opened thus you don't need to deal with them. I also always have the primary key index as the first index so ...
by James Bott
Tue Jan 05, 2021 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Marc : Conversion process and questions about it
Replies: 30
Views: 3501

Re: to Nages: test for tdatabase

... You could not create a function that would give me the return of the archive and the loading of the its indexes in an array aIdx? If you are using CDXs they are all opened automatically. And if you are using objects the database and indexes are opened automatically even if they aren’t CDXs. >On ...
by James Bott
Thu May 09, 2019 4:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages: test for tdatabase
Replies: 37
Views: 5692

Re: Migrating TDatabase to FWH19.03's from FWH11.08 (Resolved)

Nages,

We can understand from his code that he is using DBFNTX.


Thanks, I missed that. Maybe it is a good time to switch to CDXs.
by James Bott
Mon May 06, 2019 12:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating TDatabase to FWH19.03's from FWH11.08
Replies: 15
Views: 1978

Re: Problems with FWH 1805 BUILD 1 accessing files DBF

James Bott wrote:There are reasons why CDXs are better than NTXs such as CDXs are smaller, faster, all indexes for a dbf can be placed in the same file, and you can use scopes.


Scopes can be also used with DBFNTX.

EMG
by Enrico Maria Giordano
Sat Oct 06, 2018 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with FWH 1805 BUILD 1 accessing files DBF
Replies: 15
Views: 3030

Re: Problems with FWH 1805 BUILD 1 accessing files DBF

There are reasons why CDXs are better than NTXs such as CDXs are smaller, faster, all indexes for a dbf can be placed in the same file, and you can use scopes. If you are interested in any of those features then it is worth upgrading.

Once I tried CDXs, I never used NTXs again.
by James Bott
Sat Oct 06, 2018 12:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with FWH 1805 BUILD 1 accessing files DBF
Replies: 15
Views: 3030

Re: Invisible CDX files

Success at last! --------------- Everyone, The DBFs and CDXs are all supposed to be in the current directory. And they are on my computer but not on the work computer. With both settings "set to show hidden files" and "show hidden system ...
by James Bott
Sun Sep 09, 2018 7:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Invisible CDX files
Replies: 21
Views: 3328

Re: Invisible CDX files

Otto,

I have not yet tried Total Commander. I am using Win 10 File Explorer.

Here are which indexes are visible and invisible:

Visible CDSs:
Document.cdx
Work.cdx

Invisible CDXs:
Project.cdx
Type.cdx
Group.cdx
by James Bott
Sun Sep 09, 2018 5:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Invisible CDX files
Replies: 21
Views: 3328

Re: Invisible CDX files

Just an update. Turning off "Hide protected operating and system files" didn't make any difference. Still only 2 of the 5 CDXs are visible. I tried rebooting after changing the setting and that didn't work either.

At least the program is seeing them...
by James Bott
Fri Sep 07, 2018 11:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Invisible CDX files
Replies: 21
Views: 3328

Re: Invisible CDX files

Tim, Thanks for the input. It just occurred to me, that I can add a check for the needed CDXs into the program. Actually, I already had: if ! file(work.cdx) …(reindex) endif For each CDX, but when I looked at the directory not all of them were there. That is what started ...
by James Bott
Thu Sep 06, 2018 4:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Invisible CDX files
Replies: 21
Views: 3328

Re: Invisible CDX files

... for several years now. Still I am anxious to see if changing that setting fixes it on the other computer. Not sure why it would apply to some CDXs but not all CDXs. James
by James Bott
Thu Sep 06, 2018 3:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Invisible CDX files
Replies: 21
Views: 3328

Re: PHP with dbase

... Most web development languages are only SQL. What I'm trying to say is that you will probably have to learn some SQL in order to access your dbfs/cdxs across the web using PHP with Advantage but that limitation is imposed by the web developing language and not Advantage. Advantage speaks both ...
by fraxzi
Fri Aug 10, 2018 1:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PHP with dbase
Replies: 10
Views: 1912

Re: PHP with dbase

... Most web development languages are only SQL. What I'm trying to say is that you will probably have to learn some SQL in order to access your dbfs/cdxs across the web using PHP with Advantage but that limitation is imposed by the web developing language and not Advantage. Advantage speaks both ...
by reinaldocrespo
Thu Aug 09, 2018 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PHP with dbase
Replies: 10
Views: 1912
Next

Return to advanced search