Hi community,
I have come across a weird behavior on my app, and I have no idea what could be the problem. Maybe I am missing something? Not sure. Hopefully, you can help me figure it out
I have divided my table’s form into two sections “Load Details” and "Delivery Details"
Each section has the following structure:
→ Load Details Section
- [PickUp Docket] :
SHOW?: [No_PU_Docket] = “Docket”
INITIAL VALUE: IF(([No_PU_Docket] = “No Docket”), ([ID].[Delivery Docket]), [PickUp Docket])
RESET ON EDIT?: Contains([No_PU_Docket],“No Docket”)
- [PU Gross Weight] :
SHOW?: [No_PU_Docket] = “Docket”
INITIAL VALUE: IF(([No_PU_Docket] = “No Docket”), ([ID].[DEL Gross Weight]), [PU Gross Weight])
RESET ON EDIT?: Contains([No_PU_Docket],“No Docket”)
- [PU Net Weight] :
SHOW?: [No_PU_Docket] = “Docket”
INITIAL VALUE: IF(([No_PU_Docket] = “No Docket”), ([ID].[DEL Net Weight]), [PU Net Weight])
RESET ON EDIT?: Contains([No_PU_Docket],“No Docket”)
→ Delivery Details Section
- [Delivery Docket] :
SHOW?: [No_DEL_Docket] = “Docket”
INITIAL VALUE:IF(([No_DEL_Docket] = “No Docket”), ([ID].[PickUp Docket]), [Delivery Docket])
RESET ON EDIT?: Contains([No_DEL_Docket],“No Docket”)
- [DEL Gross Weight] :
SHOW?: [No_PU_Docket] = “Docket”
INITIAL VALUE: IF(([No_DEL_Docket] = “No Docket”), ([ID].[PU Gross Weight]), [DEL Gross Weight])
RESET ON EDIT?: Contains([No_DEL_Docket],“No Docket”)
- [DEL Net Weight] :
SHOW?: [No_PU_Docket] = “Docket”
INITIAL VALUE: IF(([No_DE_Docket] = “No Docket”), ([ID].[PU Net Weight]), [DEL Net Weight])
RESET ON EDIT?: Contains([No_DEL_Docket],“No Docket”)
All the columns are giving the expected result except [PU Gross Weight] and [DEL Gross Weight], in only two specific cases:
Case 1:
- I press “No Docket” on [ [No_PU_Docket] from the “Load Details Section.”
- I complete the columns on the “Delivery Details Section.”
All the columns from the load’s section return the correct value except the [PU Gross Weight]. It only returns a value when I press “No Docket” again even though it is already marked as “No Docket.”
Case 2:
- I press “No Docket” on [No_DEL_Docket] from the “Delivery Details Section.”
- I complete the fields on the “Load Details Section.”
All the columns from the Delivery section return the correct value except the [DEL Gross Weight]. It only returns a value when I press “No Docket” again even though it is already marked as “No Docket.”
Sorry for the long post. I tried to be as specific as possible so you can picture it properly.
Thanks for your time !