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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dschomburg

  1. dschomburg

    How to identify last file created in a directory ????

    Thanks Tom! Your solution works like a charm! Your time and your knowledge is greatly appreciated. I'll need to learn more about scripting.dictionary
  2. dschomburg

    How to identify last file created in a directory ????

    I was attempting to use fso but that's where I'm getting stuck. How would I properly use DateCreated to identify the correct file. I.E. the latest file created would be the one to import.
  3. dschomburg

    How to identify last file created in a directory ????

    Spooooon! Thank you very much for your reply. I've been playing around with some code but I just can't seem to come up with a way to say "MAX(DateCreated)" kind of thing. If that makes any sense. If you do have time to come up with an example that would be fantastic! Thanks again, Dave
  4. dschomburg

    How to identify last file created in a directory ????

    I seem to be missing the entire help library for FileSystemObect. And to get my tech support to load it will be next to impossible. What I'm trying to do is look in a directory such as "C:\thisdirectory" and identify the most recently created file. (and then import it as a table). The files...
  5. dschomburg

    Ever heard of SNSHTML ? Is this for real ??

    Sorry, I was bored at work. :-) My mother actualy said, "Hey, this doesn't work!
  6. dschomburg

    Ever heard of SNSHTML ? Is this for real ??

    http://www.followyourbliss.us/new_tech.html
  7. dschomburg

    Using field value from tbl as variable and loop thru table??

    DUH! I was having a blonde moment. Here's what I came up with Sub create_tables() DoCmd.SetWarnings (False) Dim This As Database Dim Reportstable As Recordset Set This = CurrentDb Set Reportstable = This.OpenRecordset("tbl_Report_Names") Do While Not Reportstable.EOF SrcTable =...
  8. dschomburg

    Using field value from tbl as variable and loop thru table??

    vbajock, Thanks for the information. Perhaps my question was convoluted. Here is my complete sub sans a global declaration for "SrcTable"... Sub create_tables() DoCmd.SetWarnings (False) Dim Reportstable As Recordset Set Reportstable = [tables]![tbl_Report_Names] Do While Not...
  9. dschomburg

    Using field value from tbl as variable and loop thru table??

    Greetings, I have a table with 1 field = "Report_Name". The table (surprisingly enough) contains the names of reports - which have been imported to various tmp tables. I have a varible declared = SrcTable as string. Here is my code thus far. SrcTable = "PCIM9METTM" 'this is the report name...
  10. dschomburg

    Like or Instr or * or DLookup???

    I'm not really sure how to go about achieving the desired result. I have 2 tables. For example purposes each table has only one field. TableA!FieldA and TableB!FieldB What I need to do is produce a recordset in which the values in TableB act as a lookup table and are used against TableA. The...
  11. dschomburg

    AbsolutePosition with Update Query

    I thank you for your assistance. The option of choosing a primary key is not available with the TransferText method in conjunction with saved import specifications. I do have a work around for this automated process now. I simply export the table to a spreadsheet and use Access to initiate a...
  12. dschomburg

    AbsolutePosition with Update Query

    Yes the only thing that changes are the values. Sort of like this: MAN. NumOfCars Value FORD 1000 $100,000 SATURN 500 $75,000 MAN. NumOfCars Value FORD 32 $50,000 SATURN 8 $80,000 So that...
  13. dschomburg

    AbsolutePosition with Update Query

    alr0, Thanks for the reply. The reasoning behind this is due to the data being imported. I am importing a text file coming from a formated canned report of a mainframe. So it doesn't play nicely with Access. The report has a reoccuring instance of values in the only constant field from month...
  14. dschomburg

    AbsolutePosition with Update Query

    What I would like to do in either via vba or in an update query is to update [Field1] in a table called tmp_PCIM7METUB with it's AbsolutePosition in the table. I have no idea how to incorporate this into vba. Any suggestions on the code is greatly apprciated. Thanks in advance, Dave
  15. dschomburg

    Automate process to import text file to Access?

    Have you tried using the OnTimer event of the form instead of scheduling from your OS?

Part and Inventory Search

Back
Top