Hello
I have the following objects:
A table called "Retro Discount" and a form called "Retro Discount Card".
A table called "Retro Discount Schedule" and a subform called "Retro Discount Schedule Subfrm".
A code Unit called "Retro Discount Management" with a function called "CreateRetroSchedule"
The user presses a button on the Retro Discount Card which calls the CreateRetroSchedule function to create the Retro Discount Schedule records.
Should I:
1 - pass the "Retro Discount" record to the code unit
OR
2 - just pass the "Retro Discount" Primary Key value and then allow the function to GET the "Retro Discount" record
I know that both ways will work - I'm just wondering which way is the 'NAV' way?
Thanks Very Much. Simon
0
Comments
More important is, do you expect the record to change in that function? Then save the changes first.