Hi All,
Im currently trying to develop a small customer database but keep coming up against loads of little problems.
At the minute I have a form with a data sheet at the bottom listing all customers and at the top are a few boxes that is populated when the user selects a record in the data sheet... If that makes any sense?!
I would like to be able to open another form, based on the record that is selected, that will show an account summary as if were. It will be a select only form that will show all the customer details. I have tried this by using the following code:
However I get the message "You can't assign a value to this object"
All I want is for the user to be able to search for a customer then open a account summary form, Any Ideas?
Many Thanks
Jane
Im currently trying to develop a small customer database but keep coming up against loads of little problems.
At the minute I have a form with a data sheet at the bottom listing all customers and at the top are a few boxes that is populated when the user selects a record in the data sheet... If that makes any sense?!
I would like to be able to open another form, based on the record that is selected, that will show an account summary as if were. It will be a select only form that will show all the customer details. I have tried this by using the following code:
Code:
stDocName = "frm_accSummary"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Forms("frm_accSummary")![AccID] = AccID
All I want is for the user to be able to search for a customer then open a account summary form, Any Ideas?
Many Thanks
Jane
Comment