Craig,
sorry for the unsolicited email, I tried some of your code from the UT which uses the Crystl32.ocx, and it fails when you try to assign a value to the Action property, as this is the first time I've tried this I'm probably doing something wrong, as the person you were helping on the thread was delighted with it, the code is as follows
with thisform oleCrystal
.ReportFileName = 'c:\whatever.rpt' && ok
.Destination = 1 && ok
.WindowTitle = 'whatever'
.Action = 1 && Crash!!!
the error is the old favourite
OLE Error Code: 0x800a018a: Unknown OLE Status Code
I'm using version 4.6 of the control on VFP 5.0a
Regards
Pete Kane
p.s. anything you've got that could help me with Crystal would be helpful ( Valium, Librium etc...)
Regards,
Peter J. Kane
Pete