Search results

  1. ghudson

    After update event

    In the AfterUpdate event for the Start Date text box, try this... Me.txtStatus.Value = "Planned" Assuming the Status text box is named txtStatus.
  2. ghudson

    set odbc timeout in my vba code

    Not a clue since I did not write the code but DBEngine(0)(0) works for me. Instead of using DAO, try running your sql like this... DBEngine(0)(0).QueryTimeout = 0 DoCmd.RunSQL "UPDATE myTable SET blah blah blah... ;" DBEngine(0)(0).QueryTimeout = 60
  3. ghudson

    Problem with ApplyFilter

    Clear the filter and/or turn off the filter. Me.Filter = "" Me.FilterOn = False
  4. ghudson

    Summing multiple columns in the same query...

    I had to Cdbl instead of Cint to get mine to work plus the Nz function. Nz(Cdbl(Closed]),0)/(Nz(Cdbl([Closed]),0)+Nz(Cdbl([Open]),0)+Nz(Cdbl([Retired]),0))
  5. ghudson

    Question Detect if database opened with a wireless connection

    Unfortunately I do not have any control over the IP addresses they use for wireless and hardwired.
  6. ghudson

    Question Detect if database opened with a wireless connection

    John, thanks for testing the code. Dang I wish there was a VBA solution to test if a user is connected wirelessly to a network.
  7. ghudson

    Question Detect if database opened with a wireless connection

    Anybody have a chance to see if this code works to detect if your computer is connected wirelessly?
  8. ghudson

    Question Detect if database opened with a wireless connection

    That is correct. I have a group of remote users who connect wirelessly to the network when they are out of the office. I know that some are still accessing the database wirelessly even though I have told them not to do it. I need to be able to identify if the user opens their front end...
  9. ghudson

    Question Detect if database opened with a wireless connection

    Simon_MT, thanks for testing the code. Bummer that it is not working. I just found this bit of code that might do what I want. Could you test this and see if it returns True for you? I get False which should be correct since I am not connected wirelessly if this code really works. Private...
  10. ghudson

    Question Detect if database opened with a wireless connection

    Anyone have a fail proof way to detect if a user has opened a database with a wireless connection? I found this code @ http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_23102110.html but I am not able to test it since I do not have access to a wireless...
  11. ghudson

    Display time countdown in label caption

    You can download the Access 2007 Runtime for free.
  12. ghudson

    What is the fastest way?

    You can use the TransferSpreadsheet method if you want to automate the process.
  13. ghudson

    Preventing Duplicate value to be entered into Combobox

    How do your users edit a keyed Well Pad if they noticed they misspelled it or want to change it? Or delete it?
  14. ghudson

    Question missing or broken reference to the file 'MSOUTL.OLB' version 9.2."

    How are you defining the values for the sTo and sCC strings? In my sample code I posted I am hard coding them in the example. sTo = "johndoe@widgets.com; marysmith@widgets.com" sCC = "me@widgets.com" Please post your entire code for creating your email so we can try to spot the problem.
  15. ghudson

    delete button help

    Then you want to delete the value of the field that had the focus before you clicked your delete [Clear] button. This should do it... Application.Screen.PreviousControl = ""
  16. ghudson

    hiding navigation and top menu from access 2007

    Hide or display the default ribbon... DoCmd.ShowToolbar "Ribbon", acToolbarYes DoCmd.ShowToolbar "Ribbon", acToolbarNo
  17. ghudson

    text box only visible when yes/no field checked

    If there are not a lot of fields on the form then perhaps my old duplicatecurrentrecord.zip sample I posted @ make a duplicate of a record will help.
  18. ghudson

    help with VBA code

    Good luck! Hopefully somebody else can help you.
  19. ghudson

    Question missing or broken reference to the file 'MSOUTL.OLB' version 9.2."

    Not sure, I always avoid using references to specific versions of office apps. Use the code I pointed you to and you will not have to worry about what version of access your users have.
  20. ghudson

    help with VBA code

    Check out the TransferSpreadsheet method to import your xls files into access tables.
Back
Top Bottom