Search results

  1. J

    Modify a record

    Im getting "operation is not supported for this type of object" for rsCustomer.FindFirst "[ID] = '" & ID & "'". any Ideas? its been a while since I have touched access 2008 or so. Private Sub selectId_Click() Dim fDialog As Office.FileDialog Dim varFile As Variant Dim dbObj As...
  2. J

    Need help with PDF active X control

    I have multiple attachments in PDF format and id like to view them on the form itself. how do i get the attachments to show up on the active x control?
  3. J

    Search Macro Help

    Im Trying to search for something on another sheet and copy it over to the search sheet as the search results. For the search id like it to return anything that has for example the word "test" in it so if i put "Test" in the search box i want it to recongnize things like "Testing1", "initial...
  4. J

    password protecting a backend

    any thoughts on how to do this? tried making a prompt on load but you can just right click on it and close it..... cant encrypt it with the built in encryption because it says wrong password on the front end. anyone have any ideas?
  5. J

    Help with changing info on a table

    ok im trying to lock someone out of the database after 3 log in attempts here is what i have: Private Sub Ok_Click() On Error GoTo ErrorRPT Static LogonAttempts As Integer Dim SaiCurrentUser As String SaiCurrentUser = "" If DLookup("[Contact]", "[User Name]", "[User Name] =...
  6. J

    Help with SQL statement

    this code should bring up the owner "ECI" and all the other criteria falling under ECI but its bringing up everyone it is not adding the ECI critera. Just the Server, desktop, tablet,and laptop criteria regurdless of who ownes it. PLEASE HELP IM A SQL NOOB! SELECT [Main Inventory].[Sai Serial...
  7. J

    HELP how do i compact and close -07

    how to compact and close completely out of access the VB command compact and close brings you back to the default access page
  8. J

    Dynamic Update message help

    ok i have a on load code: Private Sub Form_Load() Dim db As DAO.Database Dim rsv As DAO.Recordset Dim rsmv As DAO.Recordset Dim CurVer As String Dim MasVer As String Dim rs1 As DAO.Recordset Dim Version As String Dim Updatemsg As String Dim rsupdatemsg As...
  9. J

    Kill the " ' " in O’Donnell

    If a “ ‘ “ appears in a person’s name such as “O’Donnell” the program errors. i need to remove this or replace it with "" (No space) could i use the replace function for this. im not quite sure how this would work Thx -Jim
  10. J

    Run a batch File

    How do i run a batch from VBA? i want to put the code in my on load event of my opening form. the batch file backs up the database
  11. J

    Counting records in a subform HELP!

    i have a subform that is filtered by the key of the main form. i want to count how many items are in the subform i tried this but it says i cannot use ".RecordCount = CountR" as read only On Error GoTo ErrorH Dim db As Database Dim rs As Recordset Dim PKey As String Dim...
  12. J

    Looping problem sending e-mail

    trying to loop thru all the users who are set to receive a report: On Error GoTo ErrorRPT Dim db As Database Dim rs As Recordset Dim Sendto As String Set db = CurrentDb Set rs = db.OpenRecordset("User Name", dbOpenDynaset)...
  13. J

    How do i sync with outlook contacts?????

    iv looked everywhere on the forum but no one has an answer! i need to export names and contact info to outlook without using saved export! PLEASE HELP!any tid bits or maybe a link to some base code to work off of.
  14. J

    Login Help

    I have a login screen and i want to have it so when the user presses the enter button in the password box it logs in. i was trying to lookup the key press event but im not sure how it works.
  15. J

    Help With error Module

    Ok in my module i have: Public Function ErrorRPT() Dim rserror As DAO.Recordset Dim db As DAO.Database On Error GoTo Errortxt Set db = CurrentDb Set rserror = db.OpenRecordset("Errors", dbOpenDynaset) GoTo Endsubtxt Errortxt: MsgBox "The program has encounterd a error! The error has been...
  16. J

    Sending e-mail @ 4pm every day automatically

    how do i make a module send a e-mail at 4pm every day? i know how to format the e-mail and i can make a button that dose it but i cant make it automatically send it.
  17. J

    Learning SQL

    Hello I want to try to learn SQL im new to programming in general i have learned alot of vba for access and i want to do more with querys and learn SQL. is it more difficult than VBA? where are some good free online resources?
  18. J

    counting problem

    Ok i have 1-X diffrent Machine types (around 30 or so) i want to make a report that counts how meny on each machine type there is. First shown on a form then in report how do i count them in report view (like =Count([control])??? or somethig along those lines.) and counting each type and...
  19. J

    Calling a modual on error

    i have a module, and im still new to VB so i do not know how to call on it when a error happens. also i would like it to also report what form they where on when the error occur d how can i record this? Dim db As DAO.Databaset Dim rserror As DAO.Recordset Set db = CurrentDb...
  20. J

    Extramly complex export need help!

    ok trying to export to outlook but no luck i have been searching the web for help but nothing any suggestions or resources would be a big help! This button export the contact to outlook: dose not work. Private Sub Command25_Click() On Error GoTo ErrorHandler Set appOutlook = GetObject(...
Back
Top Bottom