Hi!
Table name: Table1
Field name: OrderNumber(AutoNumber)
I need to run SQL using this field name and now parentheses in the name is giving me hard times.
DoCmd.RunSQL "DELETE * FROM Table1 WHERE OrderNumber(AutoNumber) LIKE " & intNumber & " ;"
This statement would...
This is one way to do it...
Private Sub select_Click()
Dim Client As Variant
Client = Me!clients
DoCmd.OpenForm "View_amend_client"
DoCmd.GoToControl "ID"
DoCmd.FindRecord Client
DoCmd.Close acForm, "Select_client"
End Sub
-TH-
Thanks for your reply, Maq!
I forgot to tell that I need to change the value in the disabled control. I change the value by VBA so I could unlock the control before and lock after the change. But somehow I still feel like there got to be easier way to do it.
-TH-
Hi!
I'm having trouble with back color in text box control when Enabled property is No (False). Access changes back color to grey when I change this property to No. But I would like to keep it white like it is when Enabled is Yes.
I have tried to change the back color from control's...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.