Good day,
I want to link the same form multiple times as a DETAIL form on the same MASTER form.
The problem that I have is that each DETAIL form should have its own “WHERE” clause in SQL.
So linking the DETAIL form 3 times:
- link to detail_form (WHERE category = [v_cat]) (in this case supplied [v_cat] = 1)
- link to detail_form (WHERE category = [v_cat]) (in this case supplied [v_cat] = 2)
- link to detail_form (WHERE categoty = [v_cat]) (in this case supplied [v_cat] = 3)
When I do this, [v_cat] is always “3” - even for the first link.
It seems like SC takes whichever last value was assigned to [v_cat] and uses that instead of the value assigned at point of linking…
So my linking ends up with:
- detail_form (WHERE category = 3)
- detail_form (WHERE category = 3)
- detail_form (WHERE categoty = 3)
instead of :
- detail_form (WHERE category = 1)
- detail_form (WHERE category = 2)
- detail_form (WHERE categoty = 3)
[SIZE=16px]How do I link detail_form multiple times with unique linking value [v_cat]?[/SIZE]
The only solution I found so far was to copy detail_form as detail_form2 using [v_cat2] and detail_form3 using [v_cat3]
This is not ideal as I know have multiple forms to maintain.
Thanks