I’m confused

Default field values and custom business rules

I have a page containing two controllers that have a master/child relationship.
When i create a new record for the child controller i need to get the value of the selected master record and then do calculations/retrievals from the DB so that when the createForm1 shows some of the fields have default values.
I have created a custom business class where i do the calculations but i do not know how to pass the value of the selected master grid through to the
_
Protected Sub PrepareNewPayoutRow()
routine.
If i try pass a parameter like Protected Sub PrepareNewPayoutRow(byval xxx as string) i get a runtime error.
Any ideas how i can do this?
1 person has
this question
+1
Reply