What can cause this error : oErr:subCode______ 3012 oErr:description__Nieprawidłowy argument // <-- wrong parameter oErr:filename_____ oErr:operation____OPEN oErr:genCode______ 1 oErr:args_________A Argumenty: 1.[C]select to_char( PERSON_ID, '0000000000') 2.[O]O
Stack : 3. WIN_OLEAUTO:OPEN(0) 2. ADO_OPEN(0) 1. DBUSEAREA(0) I'm try send query that work in any other tool : HB_AdoSetQuery( "select to_char( PERSON_ID, '0000000000') PERSON_ID, [...] from table_n...@dblinkname where ID = '&_ID'") dbUseArea( .T., "ADORDD", "ALIAS_NAME",, Nil, .F.) Many other query is worked, and here I can not find the cause of the error :( Regards, Marek Horodyski _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour