Charlotte Foust
cfoust at infostatsystems.com
Wed Jun 22 13:15:39 CDT 2005
You lost me, Joe. You say it works correctly but you get a compile error?? If you get a compile error, it shouldn't work. Have you tried decompile and recompile? I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com