On Sun, 09 Nov 2008, J. Lefebvre wrote:

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 ?

Messages are in upper case and maybe this is the source of problem.

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

Reply via email to