Hi all,
i have a subform thats set up as...
Stockcode, Qty, length, width, height, weight
...This info comes from a user typing in a stockcode then click add. at that point i look up the stockcode aganist a linked table. If the info is found the i bring back the dimension details and multiply qty and weight.
If the stock code is not found on the linked table then i add the stockcode and quantity and all the dims are set to 0. I then want the user to update the fields manually.
What i'm trying to achieve is locking the fields that have values in so they can't be edited and only allowing the editing of 0 value fileds.
Can this be done?? I've tried a couple of things with me.field.locked = true/false but with no joy.
Many Thanks. Spin.
i have a subform thats set up as...
Stockcode, Qty, length, width, height, weight
...This info comes from a user typing in a stockcode then click add. at that point i look up the stockcode aganist a linked table. If the info is found the i bring back the dimension details and multiply qty and weight.
If the stock code is not found on the linked table then i add the stockcode and quantity and all the dims are set to 0. I then want the user to update the fields manually.
What i'm trying to achieve is locking the fields that have values in so they can't be edited and only allowing the editing of 0 value fileds.
Can this be done?? I've tried a couple of things with me.field.locked = true/false but with no joy.
Many Thanks. Spin.