FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ADO RDD xHarbour
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 12:40 PM

Yes, it is a very exciting contribution.

I am going to test it with a full application, not a simple sample.

I just nedd latest adordd.ch, as it is not in Antonio´s guithub.

Hope we achieve this goal for the community.

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 02:00 PM

Lucas,

Flle is there already.

I didnt change adordd.ch file its the original of Harbour.

Regards

Antonio H Ferreira
Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 02:02 PM

Antonio,

Please see my email I could not receive the prg file.

Regards

Antonio H Ferreira
Posts: 1515
Joined: Thu Oct 30, 2008 02:37 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 02:21 PM

Very interesting contribution :)

Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 02:51 PM

Antonio,

ordscope() is calling ordinfo().

The array is with 6 elements but I cant find out what they refer to.

The 4th ele seems to be the scope value what are the others (empty) ?

Can you help me tracking this?

Regards

Antonio H Ferreira
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 02:57 PM

Antonio,

I just resent it to you as a zip file

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 03:48 PM
Antonio,

The array is with 6 elements but I cant find out what they refer to.

The 4th ele seems to be the scope value what are the others (empty) ?


Could you copy that source code here ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 04:00 PM

Antonio,

Sorry my mistake index scopes almost finished :D

Meanwhile I dont know what these functions are for and what calls them

define UR_CLEARSCOPE 72

define UR_COUNTSCOPE 73

define UR_SCOPEINFO 75

define UR_SETSCOPE 78

define UR_SKIPSCOPE 79

Do you know?
Are these needed for somethinf Im missing it?

Thanks I received file by email.

Regards

Antonio H Ferreira
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 04:05 PM

Antonio,

Their names are quite self explanatories, anyhow place a MsgInfo() for each one in case they get called.

I don't think they will get called (I have been searching in Harbour rdds sources)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 04:07 PM

Antonio,

I already did msginfo without any result.

Regards

Antonio H Ferreira
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 07:30 PM

No problem, as I told you they are not used, and in case they are needed by a user, we can always implement them.

Keep going, we are quite close to have it :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 08:08 PM

Antonio,

Thanks Im doing just that.

OrdScopes finnish will post it tomorrow :D

Would be great if many people test it to find bugs

Tomorrow we will start with relations.

Do you or perhaps Mr Rao know if there is subrecorsets or datasets like in ado.net for this porpose or do we have to do everyting from scratch at the rdd level?

Regards

Antonio H Ferreira
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ADO RDD xHarbour
Posted: Mon Mar 30, 2015 08:14 PM

Antonio,

I just sent an email to Rao. He is the most advanced ADO developer that I know :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: ADO RDD xHarbour
Posted: Tue Mar 31, 2015 07:00 AM

Hello Antonio,

I am about to check your ADORDD and I would like to make you few questions please:

Which RDBMS are you using?.

How do you open a dbf?.

How do you create it?.

Do you use autoinc + fieldtype feature?.

Thank you.

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
Re: ADO RDD xHarbour
Posted: Tue Mar 31, 2015 08:49 AM
Lucas,

AHF wrote:

Ready:
Open
Close
Indexes
Locks
Navigation
Find
dbinfo
ordinfo
Seek (without lSoftSeek)


Which RDBMS are you using?.

Tests ADS (on real world Oracle or MySql)

How do you open a dbf?.

normal USE cfile SHARED | EXLUSIVE...
Please note you must check ado_open and adjust it to your rdbms Its trial phase so its not yet prepared to receive any rdbms.

How do you create it?.

Its not yet finnished.
We choose to check the possibility of our approach to start with the most difficult parts.
Create its easy and should not have any problem to code it but its not yet done.

Do you use autoinc + fieldtype feature?.

Didnt test it yet.
Writing to files should be ok but didnt test yet.

What you can test are the work describe above as ready.
I will post now the last version with set scopes ready.

Next item will relations and only after we will go for Create, Replaces (although) should already work in the most part.
Regards

Antonio H Ferreira