ltannous
27th October 2004, 23:03
I cant get a certain field to appear on my report. I dont have the source codes for the session, so I created a report script.
It comes up with 0 values.

if I harcode the value it appears eg. wtsls041.wght = 9999

The field is located in the after.dico.55 layout field
I hase done the following

after.dico.55:
before.layout:

select wtsls041.*
from wtsls041
where wtsls041.orno = :tdsls045.orno
selectdo
endselect

mark_h
27th October 2004, 23:20
Have you declared the two tables in the script(wtsls041 and tdsls045)? In debug mode do you actually see the code execute? Also if you added wtsls041.wght to the reports input fields you may want to delete it from there.

Mark

ltannous
28th October 2004, 04:15
This was a repeating field. I needed to select the sum of the fields. The report was just printing the last value which was 0.

Thanks anyways

malutz
28th October 2004, 08:52
Hej,

is tdsls045.orno an input field? Did you check with the debugger that that field is filled?