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 Mike Lewis 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: hilbertl
  • Order by date
  1. hilbertl

    Visual Basic Coding to Delete Tables

    You can also even query the MSysObjects system table, contains all the names of tables and other objects that currently exist in a database. Hilbertl
  2. hilbertl

    Linking multipule workbooks in Excel to Access

    Use docmd.TransferSpreadsheet aclink
  3. hilbertl

    Option button

    You'd refer to a control with the following syntax me.controlname.value or me!controlname. H.
  4. hilbertl

    Archiving in access

    This can be done in two steps. First you'd append the relevant records to your archive table and second, delete the appended records from your main table. A few questions though- how many records are we talking about in each group- both the archive table and the main table? Also, what criteria...
  5. hilbertl

    Error 429 - ActiveX component can't create object

    I've had this issue before. In the Code window, select Tools then References. Select the DAO/ADO reference and then note the path/file name that appears on the bottom part of the menu. Go to the computer that works, retrieve the same file from it and copy it to the computer that isn't working...
  6. hilbertl

    Send Email with specific message in the body

    Try the DoCmd.SendObject method. hilbertl
  7. hilbertl

    Print qty using field value

    You can use the DoCmd.Printout method. It has a numerical parameter for the number of copies of a report/form you'd like to print. hilbertl
  8. hilbertl

    help with some table/query logic .. please?

    Sorry. The code wasn't as long as I thought. And I used a Do...until Loop not a For...Next. I just tested it so you should be fine. Let me know if you have any issues. Dim dbs As Database Set dbs = CurrentDb Dim nwtbls As Recordset Dim ctr As Double Dim strInput As String Dim start As Double...
  9. hilbertl

    help with some table/query logic .. please?

    Do you not have access to the table... why don't you update it directly? In any case, you will need to use VB to do this kind of updating for sure. I had to build a module last month that does pretty much what you need, but its quite lengthy. If you care to send me send me your email address I...
  10. hilbertl

    help with some table/query logic .. please?

    Are you trying to populate the invoice field in the table that underlies the query with numbers that increase sequentially?
  11. hilbertl

    report to excel

    The problem is not that you're sending the data to a specific file, rather it's with the name of the Access object you're trying to export. Right now the code will export an object in your database called "sheet1", which probably contains all your data. Create a query that contains the...
  12. hilbertl

    Need of exporting module - qry to particular sheet in Excel book

    All you need to do is change the query name while keeping the same file name. A second worksheet will automatically be created in the same workbook. hth, Hilbert
  13. hilbertl

    How do I reference "Forms![frmMain]![frmRecID]![frmRecTransEntry]"?

    Jenny, You can use the form object Take a look at this example: Dim test As Form Set test = Forms!Forms![frmMain]![frmRecID]![frmRecTransEntry] test.Requery Hilbert
  14. hilbertl

    Problem importing large text file.

    Turbo, You can also open the file in Word, save it as a text file, and then import it into Access. hilbertl

Part and Inventory Search

Back
Top