What is wrong in here?
I am starting from the Job card, so my Rec=Record from Job table
rJobBudgetLine is a global: Record "Job Budget Line"
rJobBudgetLine.SETRANGE("Job No.",Rec."No.");
FORM.RUNMODAL(FORM::"Job Budget",rJobBudgetLine);
It always opens the job budged of the first record in the job table.
geri
0
Comments
If you launch the form using properties instead, it should be ok.
e.g.,
PushAction = RunObject
RunObject = Form Job Budget
RunFormLink = Job No.=FIELD(No.)
www.NextEqualZero.com
A technical eye on Dynamics NAV
rJobBudgetLine.SETRANGE("Job No.",Rec."No.");
FORM.RUNMODAL(FORM::"Job Budget",rJobBudgetLine);
CurrFrom.Update;
---
CurrForm is the Job Card from where I started...
http://www.mibuso.com/forum/viewtopic.php?p=98403#98403