Hi,
I am trying to create a report. I laid out the way I want the report to look. In my report, I want Job No, Description, Customer No, Customer Name, and Health card no. to show.
Everything shows up, except Customer Name. Any idea why??? Or How I can get it to work??
Thanks
0
Answers
Make sure that its not a flowfield..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Everything shows up expect Customer Name.
I am kinda newbie at NAV, thats why I am struggling so much with this simple issue.
How do I change it or fix it so it will work in the work on the report!
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
FlowFields are virtual fields. The values in these fields are not saved in the table. This means that you must use the CALCFIELDS function to update them.
http://msdn.microsoft.com/en-us/library/dd338975.aspx
http://www.BiloBeauty.com
http://www.autismspeaks.org
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
It might seems like a stupid question. But I am sorta lost.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Job.CALCFIELDS("Consumer Name");
It didnt work. I tried running the report, its still coming up as empty.
as a newbie the Application Designers Guide can be a big help.
Download it here: (w1w1adg.pdf)
http://www.microsoft.com/download/en/de ... n&id=24432
After saving remember to completely get out of the report & go back to make sure your working with all the recent changes.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Make sure you get it right!
http://www.BiloBeauty.com
http://www.autismspeaks.org
I put it in OnAfterGetRecord and it worked like a charm.
Just one last question. Whenever I am fetching some information. Lets say: Job.GET("No.");
Would I put it in OnPreDataItem or OnAfterGetRecord.??
It should be Customer Name or Consumer name?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I use OnAfterGetRecord and I use an If statement just to control any crahses.
If Job.GET("No.") then begin
..do stuff
..do stuff
End else Begin
..do other stuff
..do other stuff
end;
http://www.BiloBeauty.com
http://www.autismspeaks.org
What is the difference between OnPreDataItem, OnAfterGetRecord, OnPostDataItem.
This is my basic understanding:
OnPreDataItem - You would put varaibles that you want to declare.
OnAfterGetRecord- You would put, your get statements, filters, and basic code.
OnPostDataItem- I am not sure what goes in here ?????
If i want to do total number of Jobs. Would I put the code in OnAfterGetRecord Trigger or OnPostDataItem trigger?
http://msdn.microsoft.com/en-us/library/dd301068.aspx
Your case : Report, Section, and Data Item Triggers
http://www.BiloBeauty.com
http://www.autismspeaks.org
that helped alot...I just have one more condition to write and i will be done...
http://www.BiloBeauty.com
http://www.autismspeaks.org