Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OeInvoicePrintView - Temporary View 1

Status
Not open for further replies.

fullonpbod

Technical User
Jun 9, 2008
13
US
Is it possible to edit the temporary SQL views that are created at print time? For example, in the temporary OeInvoicePrintView_etc., I would like to select 'cus_item_no' from the 'OL' (oeordlin_sql) table so that I can use the field on our Crystal invoice form.

MacolaES 9.5.900
 
Unfortunately - no. The views created at runtime cannot be modified. There are a couple of things you can do though to get fields on your forms/reports that are not in the view;

1). Add a subreport to return the value you need. The subreport must still use the Globe driver, but you can add a subreport to display the value you need. If there are lots of fields you need, you can use a single suppressed subreport and pass the fields into shared variables.

2). On some forms, you can simply add the tables you need to the report and link to them directly from the view. Again, you must use the Globe driver, and this may not work on all forms, but I've been able to do this on some.

Peter Shirley
Macola Consultant, PA and surrounding states.
 
Using your suggestion #2, I was able to get all the fields I needed and complete our reports. Thank you for steering me in the right direction!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top