Trying to get the company info onto a report. I've created a variable and trying to call in into the report with =<Company.Address> only issue im having is how to call it fromn OnInitReport() trigger!?
in the oninitreport() trigger. i bet you're using Company table as a dataitem...in this case, if you want the address field e.g. to be used in onaftergetrecord() trigger of company dataitem, you don't need the above instruction because nav is actually reading the record (which should be the first and the only record in the company table).
in oninitreport() trigger, you haven't read the company table yet, so you must "get" it
Hope it's clear...
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
Answers
i think u have fergot to add this sentences at oninit report
Companyinfo.GET()
hope it will help u.
Rajesh Patel
in oninitreport() trigger, you haven't read the company table yet, so you must "get" it
Hope it's clear...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog