Hi Mindaugas,
I've looked to hbwin OLE code. Each object uses ::pOleEnumerator to store enumerator. It is not very good solution, since we can have a few FOR EACH loops inside each other for the same object. I'll try to find a better way of implementation. Do we have any FOR EACH sample code for OLE?
attached an example, also with datetime fields. Best regards, Francesco
OL_AddressBook_foreach.prg
Description: application/prg
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour