Search results

  1. L

    Export Query - Different Fields

    alright great, thank you!
  2. L

    Export Query - Different Fields

    Hello, I'm trying to allow users to be able to make a query based on custom/different fields. Here is what I have ---- FORM Begin Date (label): [txtBeginDate] (unbound text field) End Date (label): [txtEndDate] (unbound text field) [Export Contacts] (submit button with event procedure) VB...
  3. L

    Simple Date Range Querie

    Unfortunately that got complex for me, I will just instruct the users to delete the file before trying to export a new one. With the exception of overwrite it's working 100%, thanks!
  4. L

    Simple Date Range Querie

    Perfect that worked. It was giving an append data error because some contacts did not have an email on the table. Last item we need please: - Ability to overwrite the .xlsx file that gets placed in "Documents" folder by default. Currently, it doesn't overwrite. If the file gets deleted then...
  5. L

    Simple Date Range Querie

    Ok here is what I came up with so far My Query: SELECT Tbl_Contacts.LName AS [Last Name], Tbl_Contacts.FName AS [First Name], Tbl_Contacts.Zip, Left(Tbl_Contacts.Email, InStr(Tbl_Contacts.Email, "#") - 1) AS Email, Tbl_Contacts.InitialContact AS [Contact Created] FROM Tbl_Contacts WHERE...
  6. L

    Simple Date Range Querie

    Hello, We can't figure out how to do this can someone please assist. Have the following query: SELECT Tbl_Contacts.LName, Tbl_Contacts.FName, Tbl_Contacts.Zip, Tbl_Contacts.Email, Tbl_Contacts.DateCreated FROM Tbl_Contacts; The query results in all contacts on the database, which helps but...
  7. L

    Report / PDF Question

    *bump* Would really like to know if anyone else has any suggestions?
  8. L

    Report / PDF Question

    Does anyone have any other ideas/code I can try? Thanks!
  9. L

    Report / PDF Question

    I see what you mean now. Under the Properties of the report. There is no On Format available. See screen shot please.
  10. L

    Report / PDF Question

    Sorry, I'm not understanding the On Format thing. What I tried to do on the main report (Rpt_hicontarcts) is switch from Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) to Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) While "Print" still shows those...
  11. L

    Report / PDF Question

    Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) did not work :(
  12. L

    Report / PDF Question

    Hello everyone, Before anything, thank you for all that make this such a great place for many of us that need help. Here's my problem. I have a report that responds and works great when PRINTING it. However, when Access converts the report into PDF some functionality needed goes Poof. Here's...
  13. L

    Search Like & Phone Number Format

    no way, after exporting the table on excel, removing all (xxx) xxx-xxx formatting then importing the data and finally did an UPDATE query on the phone numbers.
  14. L

    Search Like & Phone Number Format

    i had to update over 11,000 records to change the format. wasn't that easy but this was basically the best option. thanks.
  15. L

    Search Like & Phone Number Format

    I have the following VBA code to search for a string 'Search by Phone Private Sub CmdSearchPhones_Click() Me.Refresh strSQL = "SELECT Tbl_Contacts.ContactID, Tbl_Contacts.FName, Tbl_Contacts.LName, Tbl_Contacts.Address, Tbl_Contacts.City, Tbl_Contacts.State, Tbl_Contacts.Zip...
  16. L

    Sorting Problem

    Hi mstef and thank you for responding. Unfortunately this takes away the ability to search by name, address, zip and phone number which is essential to our needs. I forgot to add that I also need to display data for users that do not have any contracts. So I am re-attaching my DB. With some...
  17. L

    Sorting Problem

    I am having a sorting problem that I can't figure out. I have table of Contacts and a table of Contracts Each Contact can have multiple contracts, most of which are renewed but we like to keep tract of old contracts so we keep them. I created a Search interface that allows us to search our...
  18. L

    Apostrophes in Form

    worked like a charm, thanks!
  19. L

    Apostrophes in Form

    I have the following VBA code in a form 'Check for duplicates based on LName and warn Private Sub LName_BeforeUpdate(Cancel As Integer) 'Find any matching records based on FName & LName If DCount("*", "Tbl_Contacts", "[FName] & [LName] = '" & Me.[FName] & Me.[LName] & "'") > 0...
  20. L

    Combobox based on yes/no check marks

    My row source is grabbing EmpID of all active/inactive Employees as well as their FName and LName, I dont know how to implement into the query how to grab only those Employees that are active.
Back
Top Bottom