How i can get the Report OBJECTID? I try this: a is text a := CurrReport.OBJECTID(TRUE); MESSAGE(a); The Messagebox display : Report 0 What is wrong? Thx Erik
Where do you have this code (what trigger) ?
Try CurrReport.ObjectID; //Returns Object Name e.g. Report Customer List Test OR CurrReport.ObjectID(False); //Returns Objuct Number e.g. Report 50000
Just remember to run the report from the Object Designer, and not run it while designing the object with Ctrl-R.
thx Sören, this was my failure [:D]