ADO RDD xHarbour

Re: ADO RDD xHarbour

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

Re: ADO RDD xHarbour

Postby AHF » Mon Mar 30, 2015 2:00 pm

Lucas,

Flle is there already.

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

Re: ADO RDD xHarbour

Postby AHF » Mon Mar 30, 2015 2:02 pm

Antonio,

Please see my email I could not receive the prg file.
Regards
Antonio H Ferreira
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Postby hmpaquito » Mon Mar 30, 2015 2:21 pm

Very interesting contribution :)
hmpaquito
 
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Re: ADO RDD xHarbour

Postby AHF » Mon Mar 30, 2015 2: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
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Postby Antonio Linares » Mon Mar 30, 2015 2:57 pm

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: 42117
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ADO RDD xHarbour

Postby Antonio Linares » Mon Mar 30, 2015 3: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42117
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ADO RDD xHarbour

Postby AHF » Mon Mar 30, 2015 4: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
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Postby Antonio Linares » Mon Mar 30, 2015 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42117
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ADO RDD xHarbour

Postby AHF » Mon Mar 30, 2015 4:07 pm

Antonio,

I already did msginfo without any result.
Regards
Antonio H Ferreira
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Postby Antonio Linares » Mon Mar 30, 2015 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42117
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ADO RDD xHarbour

Postby AHF » Mon Mar 30, 2015 8: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
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Re: ADO RDD xHarbour

Postby Antonio Linares » Mon Mar 30, 2015 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42117
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ADO RDD xHarbour

Postby lucasdebeltran » Tue Mar 31, 2015 7: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.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

Re: ADO RDD xHarbour

Postby AHF » Tue Mar 31, 2015 8: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
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 55 guests