Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dbanker
  • Content: Threads
  • Order by date
  1. dbanker

    ActiveX component can't create object

    I created a database for a coworker that has the following code within it: Public Function FindImport() As String Set ObjFSO = CreateObject("UserAccounts.CommonDialog") ObjFSO.Filter = "VBScripts|*.vbs|Text Documents|*.txt|All Files|*.*" ObjFSO.FilterIndex = 3...
  2. dbanker

    Retain value of variables after module closes

    I am making a report that displays employee's hours and want a field in the details that also displays each employee's hours to date. I think I solved it by writing code in a module. This module is called from the On Print event of the details section of the report. Here is some of the code in...
  3. dbanker

    Create a Running sum in detail of report

    I am trying to create a report that displays employees hours grouped by the day they work and would like to have a field that shows their accumulated time beside their hours for each day. Anybody's help would be deeply appreciated. Thanks
  4. dbanker

    Open Database & Run Macro from Current Database

    I am trying to write code that will open a database and run a macro from the database I currently have open. Here is the code I have written: Dim db As DAO.Database DoCmd.RunMacro "AppliQueryAll" Set db = OpenDatabase("C:/2008 USDA/2008PSU/Arcview/ArcviewInfo.mdb")...
  5. dbanker

    Need to Calculate a field in a table using other fields in same table

    I have a table that has three fields in it. Two have data and one is empty. I want to write a procedure to calculate a value and enter it in the empty field using values located within the same record in the other two fields, and would like to do this for every record in the table. Does anyone...
  6. dbanker

    Entering multiple lines of data in a text field

    I have a text field on a form that will be used to record special notes for a project. The field size is set to 250 characters. When someone enters the field I want them to be able to type in data and then start another line of data in the same field. Right now when you enter the field, after...
  7. dbanker

    Error msg when using NotInList property

    Hello all, Everytime i try to write an event procedure in the NotInList property of a combo box when I test it I get this error msg: "The Expression On Not In List you entered as the event property setting produced the following error: A problem occurred while Microsoft Access was...
  8. dbanker

    Inserting a Record in table that has Auto_Increment

    I need help I'm trying to insert a row into a table using data from variables with values from an excel sheet. the problem I'm having is that the table I'm inserting them into has an Auto_increment field and I can't get the code right for it to work. Here is a sample of what I have: Code '...
  9. dbanker

    Inserting a Record in table that has Auto_Increment

    I need help I'm trying to insert a row into a table using data from variables with values from an excel sheet. the problem I'm having is that the table I'm inserting them into has an Auto_increment field and I can't get the code right for it to work. Here is a sample of what I have: Code '...
  10. dbanker

    Switching focus from access to excel

    Hello all, I am writing code that opens an Excel file from Access and places previously acquired data into certain fields of the Excel sheet. It works fine the first time it is run but if you run it again without first closing Access then reopening it Excel is visible but not the workbook. The...

Part and Inventory Search

Back
Top