Search found 38 matches

by wzaf
Thu Feb 11, 2010 9:22 am
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Re: Porting FW to FWH using MySql

Tank you Daniel ! ,
it works .


Best Regards
Wzaf
by wzaf
Wed Feb 10, 2010 8:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Re: Porting FW to FWH using MySql

Antonio,

I use FWH 10.1
Harbour for BCC - 2.0

Regards
Wzaf
by wzaf
Tue Feb 09, 2010 1:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Re: Porting FW to FWH using MySql

Dear Anser,
sorry but doesn't work
I get always "Argument error: __OLEENUMCREATE"

in line :
FOR EACH oError IN oConnection:Errors



regards
Wzaf
by wzaf
Tue Feb 09, 2010 10:56 am
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Re: Porting FW to FWH using MySql

Thank you Anser , but what is object oApp ?

regards
Wzaf
by wzaf
Tue Feb 09, 2010 10:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Re: Porting FW to FWH using MySql

Anser ,

All works fine : I connect successfully : I correctly do SELECT and UPDATE in database.
I'm not able to correctly view the ADO errors (if there are...)

Regards
Wzaf
by wzaf
Tue Feb 09, 2010 9:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Re: Porting FW to FWH using MySql

Dear Anser

Here they are :

mysql: 5.0.67
odbc: mysql ODBC 5.1 driver : 5.01.06.00
cConnectString := "Driver={MySQL ODBC 5.1 Driver};Server=localhost;Database=mydb; User=myuser;Password=mypassw;Option=3"


best regards

Wzaf
by wzaf
Tue Feb 09, 2010 8:58 am
Forum: All products support
Topic: driver myodbc in ADORDD
Replies: 0
Views: 572

driver myodbc in ADORDD

Salve a tutti,
Sto usando ADORDD con FWH 10.1 , e mi sembra di capire che sono costreto ad usare la versione 3.51 di myodbc; c'è modo per usare la 5.1 per la connessione ?

Grazie
Saluti

Walter Zafferami
by wzaf
Tue Feb 09, 2010 8:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Re: Porting FW to FWH using MySql

Dear Anser,

Thank you , but I already tried this method and I get : "No exported method: NATIVEERROR" ,
instead the "oError:description" works fine.

Best regards
Wzaf
by wzaf
Mon Feb 08, 2010 12:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Re: Porting FW to FWH using MySql

Tank you Anser,
a very good site.

I still have a difficulty to handle the errors on a 'connection:execute' command :
Do you know how to catch the returned errors ?

Tank you

Regards

Wzaf
by wzaf
Sun Feb 07, 2010 6:29 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Re: Porting FW to FWH using MySql

Thank you for your answer, Antonio ,

Anyway i started to port my programs to ADO and Adordd (with some difficulties) .
I use ADODB.connection and ADODB.recordset object, but I'm not able to find documentation: Do you know where I can find it ?


Best regards
Wzaf.
by wzaf
Thu Feb 04, 2010 10:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2963

Porting FW to FWH using MySql

Hi all, I'm porting my applications from FW to FWH . I use MySql , and in FW I used class TDbOdbc in this way : oDbf := TDbOdbc():new("SELECT * FROM mytab....... " , oOdbc) and then I scan ODbf structure to retrieve data . I use this method also in FWH and it work fine: why Antonio says th...
by wzaf
Sun Jan 31, 2010 8:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: Current Date in DTPicker
Replies: 3
Views: 1064

Re: Current Date in DTPicker

Tank you Frank,

But I use a DLL to store the resource, I use Pelles C ide , and I tried to give the same attribute : Show none = Yes , but
I obtain the same result with the difference that the date field is disabled.

Best regards

Wzaf
by wzaf
Fri Jan 29, 2010 8:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: Current Date in DTPicker
Replies: 3
Views: 1064

Current Date in DTPicker

Hi all !

I use the control DTPicker and it always displays the current date if the variable is empty;
there is a way to dispay a blank field when the variable is empty ?

Best regards

Wzaf
by wzaf
Sun Jan 24, 2010 4:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Argument error: MOVEFIRST
Replies: 1
Views: 472

Re: Argument error: MOVEFIRST

I've found that if I call BROWSE() with argument bNew := { || add1record() }
where add1recors is :

append blank
fieldput(1, "" )

all work fine.

In other words: if the first field od the new record is not null , there is no error.
:?:

best regards
Wzaf
by wzaf
Tue Jan 19, 2010 5:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Argument error: MOVEFIRST
Replies: 1
Views: 472

Argument error: MOVEFIRST

Hi all , Testing Mysql1.prg with ADORDD , adding a new record (Button NEW) i get the following : Argument error: MOVEFIRST Stack Calls =========== Called from: => WIN_OLEAUTO:MOVEFIRST(0) Called from: adordd.prg => ADO_GOTOP(555) Called from: => DBGOTOP(0) Called from: .\source\classes\WBROWSE.PRG =...