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 strongm 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: iojbr
  • Order by date
  1. iojbr

    Sending Outlook Email Using Access 2010 and Windows Task Scheduler

    ...db As Database Dim strSQL As String Dim blnNewInstance As Boolean Set olMailItem = olApp.CreateItem(0) Set db = CurrentDb() strSQL = "SELECT * FROM Table1;" Set rstOpenTrip = db.OpenRecordset(strSQL, dbOpenDynaset) strAddresses = "someone@gmail.com" If Not rstOpenTrip.EOF Then...
  2. iojbr

    Access converting text field from a csv into currency

    Thanks for your help Skip. Unfortunately I can't use a specification file b/c my company doesn't want Access to throw out an error everytime there are some additional columns in addition to the ones that the database actually uses. As far as I know, this can't be achieved if you use a...
  3. iojbr

    Access converting text field from a csv into currency

    I'm using Docmd.transfertext to import in a .csv file. For one of my columns in the test csv file, the entries were S1, S2, S3, etc... After I imported the file into a database table, access converted this column of data into a currency field $1.00,$2.00,$3.00, etc... I didn't use a...
  4. iojbr

    Importing csv to Access Table

    I'm using Docmd.transfertext to import in a .csv file. For one of my columns in the test csv file, the entries were S1, S2, S3, etc... After I imported the file into a database table, access converted this column of data into a currency field $1.00,$2.00,$3.00, etc... I didn't use a...
  5. iojbr

    Unrecognized Database Format Error

    Hi: I have a database I built for work that has been converted to Access 2010. But when I make a copy of it (on a thumb drive) to work on it at home using Access 2007, I get an "Unrecognized Database Format" error. This has happened for a couple of days now. When But when I open this same...
  6. iojbr

    display date using dashes and military time without colon using format now() Function

    Thanks for the help. I changed the original update statement to: S7 = "Update [Assay Mix Replicates_Temp] Set [Date/Time Stamp] = '" & Cstr(Format(Now(), "MM-DD-YY HHnn")) & "'" and changed the datatype for the [Date/Time Stamp] field from Date to text. Everything is working now.
  7. iojbr

    display date using dashes and military time without colon using format now() Function

    Thanks for your help. I wanted to clarify that what I am doing is importing a .csv file into a database table, and then updating a column (called "current date and time stamp") via update statement using VBA code. S7 = "Update [Assay Mix Replicates_Temp] Set [Date/Time Stamp] = '" &...
  8. iojbr

    display date using dashes and military time without colon using format now() Function

    Hi: I am trying to use the format now function to display date and time in a Access table in this format: MM-DD-YYYY HHnn(military time) Tried to do this (see below) but it doesn't X = Format(now(),"MM-DD-YYYY HHnnss") Any help is appreciated. Thanks.
  9. iojbr

    Installing Access Runtime

    I meant runtime 2013, not 2012.
  10. iojbr

    Installing Access Runtime

    Hi: I am trying to distribute the front end of an Access database application (Access 2010) at work to various computers at my work through runtime. Does using runtime require any other applications to be pre-installed (ie. Microsoft Office standard edition) in order to work. I am asking b/c...
  11. iojbr

    Exiting a for next loop without opening a form

    I have a yes/no message box that will delete an existing table "Well Curve Data" in the database, and recreate a blank one when the user click "Yes". If the user clicks no, it will open a form "Well Curve Analysis" based on the existing "Well Curve Data" table containing old records. But b/f...
  12. iojbr

    loop through all subfolders and convert .bmp files to .jpg

    Here is the code I am using. It's based on a button click event on a form with two textboxes: Source Folder (SF1) and Output Folder (SF2). Private Sub ImpWCs_Click() Dim strSourceDir As String Dim strDestDir As String Dim strDestFile As String Dim strTempName As String Dim varFiles() As...
  13. iojbr

    loop through all subfolders and convert .bmp files to .jpg

    Is there any way to use the CreateObject("Scripting.FileSystemObject") to loop through all subfolders of a particular folder and convert all .bmp files to .jpgs. So far I can only convert files by selecting individual subfolders. Thanks in advance.
  14. iojbr

    Loop through a subfolders of a parent Folder and insert subfolder paths and and filenames

    Hi: I am trying to adapt some code I found online for Excel into access vba that will enable me to loop through all subfolders of a parent folder, and then list the subfolder paths and file names in too separate columns of an access table. But so far, it will only insert the subfolder path and...
  15. iojbr

    Access 2007 Encrypt with Password Fails

    Hi: When I try to encrypt my Access 2007 with a password, Access freezes up and displays an error message "Microsoft Access is not responding".
  16. iojbr

    Prevent import of Access Table from another Access Database

    I have a user authentication form (User ID, Password) in an access database. Is there any way to trigger this form when someone tries to import the tables from this database (including my User Accounts table) from another Access database using the DoCmd.TrnsferDatabase cmd.
  17. iojbr

    Trigger Mysql Login Screen

    I have several linked MySQL tables in an Access database using file data source ("C:\MySQL Test Connect\LIMS_backend.DSN"). How can I trigger the MySQL login screen when my Access application opens or on a button click event instead of having to click on one of the linked tables. Thanks in advance.

Part and Inventory Search

Back
Top