Hello,
I am building a form which has a number of bound text boxes, that receive their values from DLOOKUP functions based upon user selection of a record from a related list box.
When the user selects a database record from the list box, these boxes are automatically populated (via ReQuery functions in a macro) to display 'current street', 'current city', and 'current zip' from the selected record.
I need to create a second set of text boxes ('new street', 'new city', new zip') which are user-editable for the purposes of inputting address changes. I would like these new text boxes to default to the original values automatically, and then be edited if necessary.
It is the automatic defaulting to the original values in conjunction with user-editability which is the problem.
I cannot simply set their 'default value' from the property sheet, as what are the appropriate default values for them is not known until the user selects a record from the list. If I bind the control source of these boxes to the original set, they are not user-editable.
I've tried repainting the form, and a variety of string copy codes, to no avail. I'm guessing that this is not a hard problem, but I am stuck.
Thanks for any hints -
pnealen
I am building a form which has a number of bound text boxes, that receive their values from DLOOKUP functions based upon user selection of a record from a related list box.
When the user selects a database record from the list box, these boxes are automatically populated (via ReQuery functions in a macro) to display 'current street', 'current city', and 'current zip' from the selected record.
I need to create a second set of text boxes ('new street', 'new city', new zip') which are user-editable for the purposes of inputting address changes. I would like these new text boxes to default to the original values automatically, and then be edited if necessary.
It is the automatic defaulting to the original values in conjunction with user-editability which is the problem.
I cannot simply set their 'default value' from the property sheet, as what are the appropriate default values for them is not known until the user selects a record from the list. If I bind the control source of these boxes to the original set, they are not user-editable.
I've tried repainting the form, and a variety of string copy codes, to no avail. I'm guessing that this is not a hard problem, but I am stuck.
Thanks for any hints -
pnealen