Hi,

I have a strange problem with the TOleAuto Class from contrib/hbwin

I can create an ole automation object without any problem,

I can Get a propertie, using the automatic Getproperty routing method (by 
onerror method), so this one is working fine

cFormula := oReport:RecordSelectionFormula

But doing this one does not work :

oReport:RecordSelectionFormula := '{FFAC.CODJOU} = "VEN"'

(Error 25926100/3  DISP_E_MEMBERNOTFOUND: _RECORDSELECTIONFORMULA)

Whilst this one is working :

oReport:Set("RecordSelectionFormula" , '{FFAC.CODJOU} = "VEN"' )

I checked win_ole.c sources, comparing HB_FUNC( TOLEAUTO_ONERROR ) and HB_FUNC( 
TOLEAUTO_SET )and I did no see any reason for those error.

Any Idea ?

JF,






_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to