G
Guest
I have a form (Flat) that is already full, we have decided to add another
field on this form which will make life easier on other tables. This cell is
a combination of flatID and Blockey which are the composite key for the
table.
Ive been trying to use a form to take those 2 values and put them into
another text box which ive added to the form and is bound to the underlying
table called Flatref. The VBscript i have made for this is shown below and
works fine in debug mode but when i try to run it normally it doesnt seem to
do anything. Can anyone explain why this is so?
Private Sub flatref_Click()
Forms![Flat]![flatref] = Forms![Flat]![Blockey] & Forms![Flat]![flatID]
End Sub
field on this form which will make life easier on other tables. This cell is
a combination of flatID and Blockey which are the composite key for the
table.
Ive been trying to use a form to take those 2 values and put them into
another text box which ive added to the form and is bound to the underlying
table called Flatref. The VBscript i have made for this is shown below and
works fine in debug mode but when i try to run it normally it doesnt seem to
do anything. Can anyone explain why this is so?
Private Sub flatref_Click()
Forms![Flat]![flatref] = Forms![Flat]![Blockey] & Forms![Flat]![flatID]
End Sub