>I want to add the crystal report ocx by code (so it can be conditionnal). Is it possible?
>
>Thank you
>Eric
You can create VFP contaner class, drop your OCX there, and then conditionally fire Create/AddObject against your class in run-time.
Edward Pikman
Independent Consultant