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 Wanet Telecoms Ltd 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: Emblem1
  • Content: Threads
  • Order by date
  1. Emblem1

    ShellExecute access 2007 Windows 7 Pro -launch another program with argurments

    I am having difficulty figuring out how to correctly launch a program with arguments in the launch script I am using Win 7 64 bit Pro, and Access 2007. Pilfering code from the 'net, and attempting to modify existing code in my DB has proved fruitless to make this work. I am a vba novice. A...
  2. Emblem1

    Calling java app with vba - Java Virtual Machine Launcher error

    I am attempting to call a java application in Access2007 vba via a button on a form, but getting a "Java Virtual Machine Launcher" error. The code works for most any other application, so I assume I need a different routine to call the java application. Here is the code: Private Sub...
  3. Emblem1

    Date Filtered Reports worked in 2003, crashes in 2007

    Some reports that worked in 2003 crash Access entirely in 2007. I have a form that text boxes on it for starting date and ending date, and code behind the form to build a strWhere condition to filter a report. The report is based on a query, and the filter is applied to the report via the code...
  4. Emblem1

    Worked in 2003, crashes in 2007

    Hi All. I have a form in which a user can select records to be placed into a report via dates in a table. The code worked great in Access 2003, but crashes the database every time in Access 2007. Here is the code - what do I need to modify? I am pretty sure the error lies in the "Select Case...
  5. Emblem1

    Correctly auto clear an error

    I want to clear an error message automatically, but not sure about the right way to describe it in the code. I am not to worried about fixing the code, but just want to ignore the error. Err_Save_Changes_Click: If Err = "Update or CancelUpdate without AddNew or Edit." Then...
  6. Emblem1

    Enable button if \\share\folder\file exists

    On a form, if I have a record with a serial number of 123456789 (in a textbox called Serial_Number), I want to search inside \\share\folder\ to find a file with the same name as the serial number, with a pdf extension, eg 123456789.pdf. If it exists, show a command button to open the file. If...
  7. Emblem1

    Combo Boxes and queries, strSQL (Easy...again)

    Hi. I just want to say first that Tek-Tips is the greatest things since sliced bread! I sure have learned a lot! On a form I have 2 combo boxes - Sign1Type, and CSign1. Sign1Type gets it's data from a query, which in SQL view is like this: SELECT tblSigns_forwattageForms.[Sign ID]...
  8. Emblem1

    Easy IIF syntax question

    What is the correct syntax for this? IIf(Me.Sign1Type = "Case Sign" Or Me.Sign1Type = "Street Name Sign", Me.CSign1.Locked = False, Me.CSign1.Locked = True) I want to lock the combo box CSign1 if Sign1Type is NOT "Case Sign" or "Street Name Sign". Thanks.
  9. Emblem1

    Report Options / Filtering - no report displayed

    Hi. I am trying to modify some code I have behind a form titled 'Reports'. Form selection options allows the user to filter dates, locations, and detail level of the report via a series of radio buttons using select case code. I wanted to make some changes, so I created some new reports that...
  10. Emblem1

    Report Options / Filtering - no report displayed

    Hi. I am trying to modify some code I have behind a form titled 'Reports'. Form selection options allows the user to filter dates, locations, and detail level of the report via a series of radio buttons using select case code. I wanted to make some changes, so I created some new reports that...
  11. Emblem1

    strsql basics - confused vba dabbler

    I have 2 tables that list names of locations. I have then built a union query to compile a list of all data that is similar between the 2 tables, which includes things like 'Location Name', 'Location Number', 'Location Type', etc. In an unbound form, I have a combo box (Combo37) that lists the...
  12. Emblem1

    Telnet button, read field, auto user/PW response

    Hello. I have a form in which there is a field called 'IP_address'. I would like to create a button on the form that will launch 'telnet' to the address in the 'IP_adress' field for the 'on click' event. Also, the telnet session will get promted by the device it is connecting to for a 'user'...
  13. Emblem1

    Run a macro on password pretected DB

    I am trying to run a macro on my DB which is password protected with Windows Scheduled Tasks. Access version 2003 DB Location "\\s02\s02usr\Traffic_Signal_Database\Traffic Signal Database 2003.mdb" DB Password - newton I want to run a macro in the Access DB called mcrEmailWeekly in windows...
  14. Emblem1

    strsql basics

    Still learning here. Looking for the basic way to write strsql and vba to do the following. Form Name - frmFailedLoopsAddNew Combobox Name - cboLocationName Textbox Name - location_number Table Name - tblIntersectionData Table Fields - INT # - Location Name Here is what I have...
  15. Emblem1

    Check value against range, may include text.

    Here is a good one! I have an unbound form with textbox txtSerial. There are 2 labels - lblRecallYes and lblRecallNo, and a button cmdRecallCheck. I want to be able to put any number in the box and check it againt the range of 0607001761 and 070413756, inclusive. The serial numbers entered...
  16. Emblem1

    USE strSQL to define strField - noob

    I am trying to have vba run sql and use a field from the query as the data for strwhere. It is existing code from the net I amtrying to modify. I used to have the strField date location named directly in an old table, but the new table has mulitple dates for the same INT_#. The result is a...
  17. Emblem1

    Form Controls

    I am using the the calendar picker from peter's software. The form has a button that calls code in the 'on Click' event: =fBuildBasedOnContext("Get Date") However, I want to be able to run this in vba so I can also have some more manipulation to the form for 'On Click'. Any Ideas? Thanks.
  18. Emblem1

    Radio Button enabling

    I am trying to enable/disable a radio button based on a combo box selection (cboLocationType). The radio button is called Option New calulation. Not sure how the code should go, here is waht I have: Private Sub cboLocationType_AfterUpdate() Me!cboLocation = Null If...
  19. Emblem1

    Open Report Code Error

    Hi. I have 2 combo boxes. One is a type select, and the select is a location select. There is also a open report button. The 2nd combobox and the report button dynamically change based on the value of the first combobox. The dynamic rowsource works, but I am getting a syntax error with the...
  20. Emblem1

    Date format, mix, set all to 4 digit year

    I have a table with 1300+ records. There is a field with date information which has a mix of 2 digit and 4 digit entries for the year portion. I set the properties of the field to use 4 digit, but that only affect editing and adding. I am looking for an easier way to have access change all...

Part and Inventory Search

Back
Top