ADO RDD xHarbour

User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: ADO RDD xHarbour

Post by lucasdebeltran »

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.
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Post by AHF »

Lucas,

Flle is there already.

I didnt change adordd.ch file its the original of Harbour.
Regards
Antonio H Ferreira
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Post by AHF »

Antonio,

Please see my email I could not receive the prg file.
Regards
Antonio H Ferreira
hmpaquito
Posts: 1200
Joined: Thu Oct 30, 2008 2:37 pm

Re: ADO RDD xHarbour

Post by hmpaquito »

Very interesting contribution :)
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Post by AHF »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: ADO RDD xHarbour

Post by Antonio Linares »

Antonio,

I just resent it to you as a zip file
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: ADO RDD xHarbour

Post by Antonio Linares »

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
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Post by AHF »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: ADO RDD xHarbour

Post by Antonio Linares »

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
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Post by AHF »

Antonio,

I already did msginfo without any result.
Regards
Antonio H Ferreira
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: ADO RDD xHarbour

Post by Antonio Linares »

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
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Post by AHF »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: ADO RDD xHarbour

Post by Antonio Linares »

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
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: ADO RDD xHarbour

Post by lucasdebeltran »

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.
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Post by AHF »

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
Post Reply