MarkGibson
Programmer
I have created a form that shows the user how much inventory is available at a given time for a given product or a category of products. They can then take an order for the quantity of the particular colour of product the client wants.
Because the size range can vary from inquiry to inquiry (i.e. S - M - L - XL - XXL one time and only A - B another time), I make the order entry fields visible (yes/no) and locked (yes/no) as needed to show only the proper number of columns, and only allow data entry if it is appropriate.
I set the field visibility in code, and the locked status in the OnCurrent Event.
Everything would be fine, except that often the field status is not reflected in what I see! For example, the entry field may not be visible to my eyes, even though it has been set as visible and unlocked, but I can tab to it and as soon as I enter data in it, it appears. Or a field has been made invisible but I can see it. When I scroll that section of the form out of sight and then back again, the presentation is fixed, and what I see is what I have coded. Any ideas why the display is not refreshing properly?
Because the size range can vary from inquiry to inquiry (i.e. S - M - L - XL - XXL one time and only A - B another time), I make the order entry fields visible (yes/no) and locked (yes/no) as needed to show only the proper number of columns, and only allow data entry if it is appropriate.
I set the field visibility in code, and the locked status in the OnCurrent Event.
Everything would be fine, except that often the field status is not reflected in what I see! For example, the entry field may not be visible to my eyes, even though it has been set as visible and unlocked, but I can tab to it and as soon as I enter data in it, it appears. Or a field has been made invisible but I can see it. When I scroll that section of the form out of sight and then back again, the presentation is fixed, and what I see is what I have coded. Any ideas why the display is not refreshing properly?