Brett Barabash
BBarabash at TappeConstruction.com
Tue Feb 3 10:47:04 CST 2004
FYI, there is a Text property, but it is only available when focus is on the control. It represents what was just typed into the control, which is not committed to the buffer (Value property) until the control loses focus. -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Tuesday, February 03, 2004 10:35 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] referencing form control thank you, in vb6 i had to put .text > Just drop the .Text property and use Me.state or Me.state.Value. You > can only refer to the Text property of a control that has the focus in > Access. > > Charlotte Foust > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Tuesday, February 03, 2004 7:22 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] referencing form control > > > I can never remember this -- how do I reference a control ? on VB6 it > would have been this way -- > > If Me.state.Text = "CA" Then > stDocName = "screeningCA" > Else > stDocName = "screening49" > End If > -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software.