Search results

  1. S

    Making mde file of the FE

    Hi, I create always create mde files when possible. I have never compared performance but since the code is somewhat precompiled it SHOULD be faster. Plus, users cannot mess around with forms and vba code. The reason you don't see Create MDE file is possibly because your default file format...
  2. S

    Repeating ID's and Trasnposing Data

    Hi, Where does the "I've got this:" comes from? Excel file, Access table? The idea would be to read it line by line, have the ID saved in a variable. Then, for each value, add a record in your table. BTW, I would store the months as numbers, would be easier to sort if ever need be. If...
  3. S

    Import Global Address List using VBA

    Hi, What I do is link the GAL to my DB and run a query against the linked table to create a table that I later work with. When you want to update it you can either overwrite the table or loop through the linked table and add/modify the entries as needed. HTH, Simon B.
  4. S

    Copy in a worksheet from another workbook

    Oh! I thought your code was inside an Access app... IF it is in the workbook, why do you want to make it dynamic? It will always look for the same thins anyway no? To edit it again, just rename the "Source" workbook temporarily, the on open will crash, and you'll be able to modify it...
  5. S

    Copy in a worksheet from another workbook

    Sorry I didn't close the objects... ObjXLBookDest.Close ObjXLBookSource.Close ObjXL.Quit But I don't see how it can flood your task manager... 1 application opens 2 workbooks... Is your sub called in a loop??
  6. S

    Copy in a worksheet from another workbook

    Hi, Here is how I made it work: Private Sub Workbook_Open() If WorksheetExists("Summary") = False Then Dim ObjXL As Excel.Application Dim ObjXLBookSource As Excel.Workbook Dim ObjXLBookDest As Excel.Workbook Dim ObjXLSheet As Excel.Worksheet Set ObjXL = CreateObject("Excel.Application")...
  7. S

    Using string as code

    Hi, You need to make sure the form is open in normal view. Other than that, check your spelling or something because it should work (I use it quite often myself...). Simon B.
  8. S

    DoCmd.TransferSpreadsheet to Unsaved Open Excel Workbook?

    Hi, I think that when you open a document (.doc, .xls, etc) from a website a copy of it is saved in a "temporary" location. With that location you could probably used docmd, as long as the file name is always the same... But honestly, if you are to write to the Excel file, you're most...
  9. S

    Importing a table with SSN #s

    Hi, In your match criteria you could use Format(SSN_Field, "000000000"). It will add leading zero's as required. Simon B.
  10. S

    Right Justified Text Export

    Hi, I suggest you create a VBA procedures that will loop through a recordset. You will then be able to write the output file exactly as you need it. I did that a lot and that's the best way to get a "custom" output. Simon B.
  11. S

    Linking table in Access from Pervasive SQL

    Hi, Do you need the data in real-time? If not, you could create yourself a copy of this table (minus the indexes) and update it as needed with the "master" table. Or maybe you can create a view and link to that? Simon B.
  12. S

    Customize connection string on linked table

    Thanks Banana! That worked using the "minimum code" to create it with VBA. However, I did try the same thing earlier by including the connection string and table name in the CreateTableDef method arguments, and for some reasons that won't work... Simon B.
  13. S

    Auto Send in Outlook

    Hi, What method do you use to send the email? If you use DoCmd.SendObject, there is an option (in the argument list) named EditMessage that you will need to set to false, this way, the message will not show on screen and be automatically sent. If you use the Outlook object, it is not as...
  14. S

    AfterUpdate 2007 Question

    Hi, Try Me.lstData1.Requery after changing the rowsource... Simon B.
  15. S

    Customize connection string on linked table

    Hi, Does anyone know how I can change the connection string on a linked table (Exchange). I did attach the Exchange GAL as a table with the wizard. It works except that it looks for a Schema.ini file in C:\DOCUME~1\bousi8\LOCALS~1\Temp\ which is MY folder. The problem is that multiple users...
  16. S

    Verify CSV Field Names Before Importing

    Hi, Try splitting strBuffer instead of strFile :) BTW, you have two strange characters at the beginning of strBuffer that dont show up when opening the file... insert a Debug.Print strBuffer to see them... Simon B.
  17. S

    * not recognised in query

    Hi, If use = '*' in SQL, it will look for the character * (ascii 42) If you want tu use the wildcard you'll have to use: field LIKE '*' Simon B.
  18. S

    Disable table import?

    Well... the .Attributes method will work for "real" tables but not linked ones. I've checked the vPPC thing and it looks like a very nice solution, but WAY to much work for what I need... In fact, I don't really need security, I was more interested in how far I can protect my db... Thanks to...
  19. S

    Disable table import?

    Sounds interesting... I'll give that a try and let you know next week... Thanks, Simon B.
  20. S

    Disable table import?

    Finally, not exactly what I wanted... If the "Show hidden object" is on in the blank DB you can see the hidden tables... Simon B.
Back
Top Bottom