Hi
I have a command button on a form.
I want to add additional functionality to my database becomes slightly more dynamic.
At the moment the button assigns a date to a field that is in the form and then hides the button.
I want to add to the buttons abilities.
The form the button sits on is used to update fields in "tblCompanyDDIdentity"
I want it that the value of the country field = United Kingdom on click updates some fields of the table without them being visible in the form or even there and hidden.
The form already displays
Country in the form, called DDCountry.
A Primary Key "CompanyDDIdentityID"
I do not want lots of fields on the form.
So when the button is clicked I want to update "tblCompanyDDIdentity" field "BankUpdated" with a value Not Applicable, but I dont want to have the field added to the form and have it hidden and the button update that. Otherwise I would have to do this for a number of fields and have lots of hidden fields on the page.
I just want to click the button. Then
"tblCompanyDDIdentity",field"BankUpdated" to now have the word Not Applicable entered.
I can do it if I have the field on the form hidden as I can just do me.BankUpdated = Not Applicable, but do not know how to do this with the field not on the form.
Can you help?
I have a command button on a form.
I want to add additional functionality to my database becomes slightly more dynamic.
At the moment the button assigns a date to a field that is in the form and then hides the button.
I want to add to the buttons abilities.
The form the button sits on is used to update fields in "tblCompanyDDIdentity"
I want it that the value of the country field = United Kingdom on click updates some fields of the table without them being visible in the form or even there and hidden.
The form already displays
Country in the form, called DDCountry.
A Primary Key "CompanyDDIdentityID"
I do not want lots of fields on the form.
So when the button is clicked I want to update "tblCompanyDDIdentity" field "BankUpdated" with a value Not Applicable, but I dont want to have the field added to the form and have it hidden and the button update that. Otherwise I would have to do this for a number of fields and have lots of hidden fields on the page.
I just want to click the button. Then
"tblCompanyDDIdentity",field"BankUpdated" to now have the word Not Applicable entered.
I can do it if I have the field on the form hidden as I can just do me.BankUpdated = Not Applicable, but do not know how to do this with the field not on the form.
Can you help?