I ahppen to be terrible with codes because everytime I try one on my own it gives me error so I really need help with this one.
I have to make an order where the shipping address depends on a checkbox customerctrl. The idea is that if the combobox is checked the code will make customerIdctrl.visible = true & editcustomer.visible = true
otherwise it won't show anything.
Afterwards when they select the customer from the combobox that shows (customerIdctrl) or add a new with (editCustomer) and then select it from the comobobox. That will set the customerId in the orders tbl.
Now I understand this is supposed to be simple but all the same it never works with me. I just write the code for the checkbox and it shows the customerIdctrl anyway. ???
by the way how exactly do you write if a value exists or not, is it with true or with null?
If [CustomerId] = ?? Then...
I have to make an order where the shipping address depends on a checkbox customerctrl. The idea is that if the combobox is checked the code will make customerIdctrl.visible = true & editcustomer.visible = true
otherwise it won't show anything.
Afterwards when they select the customer from the combobox that shows (customerIdctrl) or add a new with (editCustomer) and then select it from the comobobox. That will set the customerId in the orders tbl.
Now I understand this is supposed to be simple but all the same it never works with me. I just write the code for the checkbox and it shows the customerIdctrl anyway. ???
by the way how exactly do you write if a value exists or not, is it with true or with null?
If [CustomerId] = ?? Then...