G
Guest
I am putting together a form for various tenant transactions. The main form
has the tenant general info, while the subform contains transaction
information. A field in the main form is for the tenant's total balance, and
I have a field in the subform that has it calculated. The problem that I'm
having is that I can't seem to get the updated information from the subform
to the main form. It seemed that using some VBA code would help, but I don't
know how to represent a field that isn't in the form the code is written for.
On a similar note, I was wondering if there was a way to write a macro
attached to a command button that can automatically fill in a record using
data from one form and a user defined string. (as in enter the name of a
month in a text box, and push a button to add a record that automatically
enters a rent amount determined in a field from one form in a defined field
from another form as well as the description of "[month] Rent" to another)
As it is, the database is nearly finished, I just need to fix the data
connections between forms and subforms. I just can't seem to get them to work.
has the tenant general info, while the subform contains transaction
information. A field in the main form is for the tenant's total balance, and
I have a field in the subform that has it calculated. The problem that I'm
having is that I can't seem to get the updated information from the subform
to the main form. It seemed that using some VBA code would help, but I don't
know how to represent a field that isn't in the form the code is written for.
On a similar note, I was wondering if there was a way to write a macro
attached to a command button that can automatically fill in a record using
data from one form and a user defined string. (as in enter the name of a
month in a text box, and push a button to add a record that automatically
enters a rent amount determined in a field from one form in a defined field
from another form as well as the description of "[month] Rent" to another)
As it is, the database is nearly finished, I just need to fix the data
connections between forms and subforms. I just can't seem to get them to work.