If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
"You cant assign a value to this object"
I have a form the gets values from a combo box onto the main form, what I
want to do is now get these values into the main form records: Private Sub Form_BeforeUpdate(Cancel As Integer) Me.txt3_rate = Me.Ctl3yrlease_rate End Sub When I try this I get an error message: "You cant assign a value to this object" What is wrong with this ? Thanks Les |
#2
|
|||
|
|||
Nothing appears wrong with the code that you've posted, but obviously the
object represented by txt3_rate is not capable of being assigned a value. Tell us more about the form's design and setup. -- Ken Snell MS ACCESS MVP "LJG" wrote in message ... I have a form the gets values from a combo box onto the main form, what I want to do is now get these values into the main form records: Private Sub Form_BeforeUpdate(Cancel As Integer) Me.txt3_rate = Me.Ctl3yrlease_rate End Sub When I try this I get an error message: "You cant assign a value to this object" What is wrong with this ? Thanks Les |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exclusive access to the database | Steve Huff | General Discussion | 17 | December 24th, 2004 06:23 PM |
"You can't assign a value to this object" | eddiec | General Discussion | 11 | December 1st, 2004 11:25 PM |
Can't assign a value to object | awm | Using Forms | 5 | November 26th, 2004 07:33 AM |
Error 2448 - Can't assign a value to this object | SD Diamonds | Using Forms | 0 | August 31st, 2004 10:28 PM |
Playing an embedded wave object (OLE) | Chris McConnell | General Discussion | 1 | June 29th, 2004 03:12 AM |