Search results

  1. B

    Else Without If error

    Thanks Bob, that worked!
  2. B

    Else Without If error

    I am trying to run the code below in the On Timer Even but I keep getting the Else Without If Error Message. I have 2 If statments and 2 End If statement, I can't figure out what I am doing wrong.. Any help is greatly appreciated..... Private Sub Form_Timer() [FrmDashBoard].Requery...
  3. B

    DashBoard Refresh produces RunTime Error 2118

    I have two different Subforms (Graphs) that are based on the same table. Basically I am using them as Dashboards that update every 25 seconds. As long as the focus stay on the 1 rst Dashboard there are no problems but once I click on the Tab that has the second subform I get RunTime Error 2118...
  4. B

    Show Missing Sequence

    I have and Access Query that Groups and returns the Accession Number for each Division. I need a query that will fill in the Missing Accession Numbers. See attached Image of what I am talking about, any help is greatly appreciated....
  5. B

    Compile Error Else Without If

    Thanks, I used your code and took out the Me.[txtCodingEntryVerifyBatch] <> "Not Found" after Else and it worked! Thanks Again.... If Me.[txtCodingEntryVerifyBatch] = "Not Found" Then MsgBox "Invalid Batch, Please ReEnter Valid Batch Number" Me.[txtCodingBatch].SetFocus Else...
  6. B

    Compile Error Else Without If

    I have a text box with a DLookup that will return "Not Found" or a Number > 0 when it loses focus. Below is the code I am using I keep getting the compile error Else without If, any help is greatly appreciated..... Private Sub txtCodingBatch_LostFocus() Dim vTempCodingEntryBatchVerify As...
  7. B

    Auto Close Access at 9:00 pm

    Mr. B that is exactly what I am looking for, you are a life saver, thank you Sir!
  8. B

    Auto Close Access at 9:00 pm

    I have an Access database that is on a shared drive that multiple users maybe logged into. I need an event that will auto close access at 9:00 pm each night. From what I understand I need to have a hidden form that will constantly check the time against 9:00 pm and when it reaches 9:00 pm then...
  9. B

    Trying to Import in Access Data Project

    I have an Access(2003) Data Project that is connected to a Sql Server 2008 Express. I am trying to import a text file into one of the tables using the Import Wizard but I get an error message saying it doesn't recognize the table I am trying to import into... I have a primary key set on the...
  10. B

    Use VBA to set value of Text Box to Date()

    Thanks everyone for your help, I really appreciate it.....
  11. B

    Use VBA to set value of Text Box to Date()

    I have a data entry form and I want to set the value of the 'Request Date' field to equal the Current Date Date() after the Form is Cleared for New Entry. Below is the code I am using however it enters 1/6/1900 as the 'Request Date' value.... Private Sub Command21_Click() Dim Rs As...
  12. B

    Looping thru Word and Copy String to Excel

    I have a word Document that I want to Loop Thru and every where the String "data-author=" exists I want to grab the name after it and copy it to ms excel. So in the example strings below I only want to grab the string inside the quotes and copy paste in excel.... data-author="MrOWNEDLOL"...
  13. B

    Getting Error When Submitting Records on Form

    Thank you very much!
  14. B

    Getting Error When Submitting Records on Form

    I am testing a Data Entry Form I created to make sure it throws a message box when all required fields aren't populated. So I left all fields blank and when I click submit it throws a runtime error '2465' Microsoft Access can't find the field '|' referred to in your expression. Below is the...
  15. B

    Using Table to pass paramters

    I have an access table that holds parameters that I want to pass to a query.... Example: TableParameters Grp# / trackingStartDate / Payor 4 | 5/1/2010 | 1105 5 | 6/1/2010 | 335 7 | 4/30/2010 | 1 I would like to use the data in the TableParamters as the criteria for my query against the...
  16. B

    Add Selected List Box Items to Table

    Mr. Larson, As always thank you very much.....it worked perfectly!
  17. B

    Add Selected List Box Items to Table

    I have a table named Tbl_Temp_PP_Edit_Name and a list box named List_Edit_Name I would like to take the items selected in the list box and add it to the table. Below is the code I have tried but it failed saying Sub or Function not defined. Can someone help? Private Sub...
  18. B

    Run Access Sub Routine from Excel

    I have an Access Db Module on another computer that contains a Sub Routine I would like to execute from Excel. How can I execute the routine and have it open and run on the host computer from an Excel workbook on my computer? I tried the code below but ran into two problems (1.) It opens the...
  19. B

    Change Text Box Color Before and After Code Execution

    Bob, thank you very much!! It worked perfectly......
  20. B

    Change Text Box Color Before and After Code Execution

    I have a Form with Text boxes that contain report names. I have a button on the form that executes the below code.... for some reason I can't get the text box background color to change before and after the code is executed. Can someone help me understand what I am doing wrong? Basically I want...
Back
Top Bottom