Jason,
Is it VFP error? If so, what is error number?
Or it's an Accounts Package generated error? In which case creators of that package should point you in the right direction to resolve it.
>Hi,
>
>I am created a bespoke app that will be inserted into an Accounts Package. One of the functions of this bespoke app is to print a report. I am using the software package's own publish object to print:
>
>i.e.
>
>loPublisher = CREATEOBJECT("clsPublisher")
>loPublisher.SetDelimiterString("$")
>loPublisher.Publish("REP$G_SBAUTO","SCRN","SILENT")
>
>The code above is meant to display a preview of the report on the screen. But when I execute the code the app returns an error "Object not in Form"
>
>I have spoken to the Accounts Package software writers and they have not heard of this before but have they have endured me that I am using the function correctly.
>
>Does anyone out there know what this error means?
>
>thanks,
>
>Jason Lawrie
--sb--