JIT-based report doesn't display data
I'm missing something really simple here. I have an object with published
properties to supply values to my one-page report. (I know there are other
ways to do this, but ...). The jitpipe.GetFieldValue event handler appears
to fire and retrieve the correct values, but the report displays blanks. I
close the pipeline, set recordcount to 1, open it, then print. What am I
failing to do? I have other reports that work, and have compared them &
don't see any differences.
Curiously, even fields where I use OnGetText don't show data. I guess it
must be something with advancing the page, but I am drawing a total blank.
Jeremy
properties to supply values to my one-page report. (I know there are other
ways to do this, but ...). The jitpipe.GetFieldValue event handler appears
to fire and retrieve the correct values, but the report displays blanks. I
close the pipeline, set recordcount to 1, open it, then print. What am I
failing to do? I have other reports that work, and have compared them &
don't see any differences.
Curiously, even fields where I use OnGetText don't show data. I guess it
must be something with advancing the page, but I am drawing a total blank.
Jeremy
This discussion has been closed.
Comments
property set to true?
I would look at the DFM of the report and see if you can see it there.
Ed Dressel
Team DM
wrong when I said the onGet events weren't working -- they really are (I
have a label with dynamic caption, so I can see that it is rendered
correctly.)
Just for drill, I added an OnGetText to a dbtext and put showmessage(text)
into it. Curiously, it displays 3 times, and each time it is blank.
Jeremy
through the fields 3 times, displaying correct fieldnames and results.
function TfrmEDIprint.plEDIprintGetFieldValue(aFieldName: String): Variant;
begin
result := oEDIitem.propertyByName(aFieldName);
ShowMessage(aFieldName+' -- '+ Result);
end;
Jeremy
send it to my last name @ tb inc . com (no spaces there)
Ed Dressel
Team DM
I copied the names into the DataField property of the tppdbtext. Oh well.
Don't do this often enough, I guess.
Anyway, Ed - thanks for your help.
Jeremy