st4rcutter
Technical User
I'm having trouble applying some of the other posts on this issue to mine so I am posting this...
I have a simple simple form with a combo box and a textbox. Let's define them as:
form = "projects"
combobox = "media"
textbox = "cost"
The Combobox is setup to lookup values from another table called "mediacosts". This table is setup like this:
Media type Costs
CDROM $2
DVD-ROM $5
The goal is to have the textbox field automatically update when a value is chosen in the combo box. I have done the following based on other posts:
1.) Set the Control Source of the textbox to: =Forms![projects]!Media type.
2.)I recorded a macro under the Onclick event to requery the textbox "cost".
The next step is to create an AfterUpdate event to set the new value. I have this:
Me!cost = Me!media.Column(1)
When I run the macro it tells me 'Error 2448, you can't assign a value to this object'. Where am I missing the boat?
I have a simple simple form with a combo box and a textbox. Let's define them as:
form = "projects"
combobox = "media"
textbox = "cost"
The Combobox is setup to lookup values from another table called "mediacosts". This table is setup like this:
Media type Costs
CDROM $2
DVD-ROM $5
The goal is to have the textbox field automatically update when a value is chosen in the combo box. I have done the following based on other posts:
1.) Set the Control Source of the textbox to: =Forms![projects]!Media type.
2.)I recorded a macro under the Onclick event to requery the textbox "cost".
The next step is to create an AfterUpdate event to set the new value. I have this:
Me!cost = Me!media.Column(1)
When I run the macro it tells me 'Error 2448, you can't assign a value to this object'. Where am I missing the boat?