Page 14 of 70

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 12:40 pm
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.

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 2:00 pm
by AHF
Lucas,

Flle is there already.

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

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 2:02 pm
by AHF
Antonio,

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

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 2:21 pm
by hmpaquito
Very interesting contribution :)

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 2:51 pm
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?

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 2:57 pm
by Antonio Linares
Antonio,

I just resent it to you as a zip file

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 3:48 pm
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

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 4:00 pm
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.

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 4:05 pm
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)

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 4:07 pm
by AHF
Antonio,

I already did msginfo without any result.

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 7:30 pm
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 :-)

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 8:08 pm
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?

Re: ADO RDD xHarbour

PostPosted: Mon Mar 30, 2015 8:14 pm
by Antonio Linares
Antonio,

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

Re: ADO RDD xHarbour

PostPosted: Tue Mar 31, 2015 7:00 am
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.

Re: ADO RDD xHarbour

PostPosted: Tue Mar 31, 2015 8:49 am
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.