M
mjtan
I have a real-estate database. The Main Form contains all the detail
of a specific property (e.g.Address, Size, Status, Value). I have a
subform that counts each type of size within a certain block, and
groups them by size, status, and value. (ex: Fifty 2-bedroom units
worth 100K that are rented, and there are three 1-bedroom units worth
75K that are vacant) At the end of the year, the company does
revaluation for certain types of properties. For example, all
2-bedroom units in this specific block were worth 100K, but next year
they will be worth 110K.
I'd like to be able to run an update query in this subform that selects
specific groups to update all 2-bedrooms that are currently worth 100K,
to be worth 110K. There are 2 bedrooms that are worth other than
100K, but I need to exclude those.
I thought I could just add an unbound field to contain "new value" for
each group on the subform, and then run an update query to set the
"value" to the "new value", but I don't understand how to pass the
parameters through an update query. How do I make it update the
"value" from the "new value" field?
I'm running Access 2000.
Thanks for any assistance.
Joy
of a specific property (e.g.Address, Size, Status, Value). I have a
subform that counts each type of size within a certain block, and
groups them by size, status, and value. (ex: Fifty 2-bedroom units
worth 100K that are rented, and there are three 1-bedroom units worth
75K that are vacant) At the end of the year, the company does
revaluation for certain types of properties. For example, all
2-bedroom units in this specific block were worth 100K, but next year
they will be worth 110K.
I'd like to be able to run an update query in this subform that selects
specific groups to update all 2-bedrooms that are currently worth 100K,
to be worth 110K. There are 2 bedrooms that are worth other than
100K, but I need to exclude those.
I thought I could just add an unbound field to contain "new value" for
each group on the subform, and then run an update query to set the
"value" to the "new value", but I don't understand how to pass the
parameters through an update query. How do I make it update the
"value" from the "new value" field?
I'm running Access 2000.
Thanks for any assistance.
Joy