I have a form which has three tab controls on it. I have a button on the form which needs to run some vb code depending on the tab which is currently active. Does anyone know how to do this ?
How can i set the default button in a message box with a Yes and No button. It always defaults to Yes but i want it to default to No. I used this code:
Dim msg, Style, Title, Response
msg = "Are you sure you want to exit without saving the changes ?"
Style = vbYesNo +...
i am trying to count the amount of records between 1-1-2003 and 31-12-2003 using the dcount command:
inc_jan = DCount("ID", "module_IM", "[Call_date] > #1-1-2003# AND < #31-1-2003#")
i get the error message "Missing operator in query...
I have created a button on a form which does a filter by selection. i have used this code:
DoCmd.RunCommand acCmdFilterBySelection
Does anyone know how to undo the filter by selection with VBA code ?
Hello,
I have created a script which creates printer connections. I also want these printer to print duplex by default. Does anyone know how to configure this using VBA ?
My current script so far:
'create printer connections
Set WSHNetwork = CreateObject("WScript.Network")...
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.