Hello,

This is kind of complicated, but I am trying to build a custom report module
that will allow for data entry forms and reports to be created external of
the project/application but still run from inside the application.

I have this working ok, but here is my problem. I want to call a form that
is inside the project, but the external form does not see the form inside
the project.

So from inside the project/application, I have a DBF that contains the
external custom reports. I create a menu from this list of external reports
and allow the user to select a report to run.

The code to run the external form looks something like:

External form (oApp.DataPath + 'CustomReports\' + trim(tReports.rptform))
Do form oApp.DataPath + 'CustomReports\' + trim(tReports.rptform)

This works great. The problem I am having is from inside this external form,
I want to call a generic print_preview form that is inside the project

So from inside the external form:

Do form Print_Preview with 'ReportName'

This causes an error because it can not find the form.

Is there anyway to call a form that is inside a project/application from a
form that is external to the application ?

Thanks,
Kent


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/4A92DBD0D8F54051BE8F90B799E73EF8@LaptopW7
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to