Search results

  1. L

    Retrieve DCount Statement (Duplicate Name)

    The below DCount statement gives me the number of duplicates records from the "Query_Find_Duplicates_For_Gift_Totals" query. How can I get the names of the duplicate records from the below DCount statement? DCount(" Gift_Totals.[Survey_Taker_Last_Name]", "Query_Find_Duplicates_For_Gift_Totals")
  2. L

    Elimination Of A Microsoft Outlook Email Safety Message

    How can I eliminate the Microsoft Outlook email safety message when sending an email using "SendObject" ? Attached is the image of the message.
  3. L

    Duplicate Records (Display On Form)/No Duplicate Records (Display Single Record On Report)

    Is it possible to retrieve the count of duplicate records (produced from the query below) ? I want to see if there are any duplicate records, if so, then show them on a form. If no duplicate records, then display a report with the single record. In (SELECT [First_Name] FROM [Location_Totals] As...
  4. L

    Runtime Error 2147467259 (80004005)

    What does the below error mean and do I fix it ? Runtime Error 2147467259 (80004005) It fails on ==> Set M = O.CreateItem(olMailItem) ' Remember to add REFERENCE to Microsoft Outlook Object Library Dim Msg As String ' Msg = "Dear " & Firstname & ",<P> & _ ' "Your statement balance as...
  5. L

    MS Access VBA Error 3211 "The database engine could not lock table",

    I have a macro that's giving me a 3211 error. How can I find out which form, table, or query in the macro is open ?
  6. L

    Automatic Advancement To Next Textbox

    What is needed to move to the next textbox automatically without tabbing ? Current settings are as follows for all textboxes. Tab Index is 12 Tab Index is 13 Tab Index is 14 Tab Index is 15 Tab Index is 16 Tab Index is 17 Tab Index is 18 Tab Index is 19 Tab Index is 20 Tab Stop Yes Auto Tab...
  7. L

    DoCmd.SendObject Method (Access) acFormatPDF File Name Change

    Is there any way to change the .PDF file name from the number "1" to a name that I will give with the DoCmd.SendObject method (Access) acFormatPDF parameter ? Right now the attached file is named '1.PDF'.
  8. L

    Flow On How Forms, Reports, Tables, Macros, And Queries Are Associated

    Is there a way for MS Access to create a report that shows the flow on how Forms, Reports, Tables, Macros, and Queries are associated ?
  9. L

    E-mail Late Arrival Using DoCmd.SendObject Method

    Can someone tell why my e-mails are arriving anywhere from eight (8) hours to an entire day later to recipients when using the DoCmd.SendObject method (MS Access) ? The e-mail providers are Comcast and gmail (i.e. Comcast.net and Gmail.com).
  10. L

    "Data type mismatch in criteria expression" Error When Trying To Pass A Variable

    Can someone tell me why I'm getting the below error message. "Data type mismatch in criteria expression" I'm trying to pass a variable (via VBA) from a form to another form that retrieves a associated records to the form called. The form criteria is to match a variable that has the value of...
  11. L

    MS Access Over The Internet

    I have a MS Access database that has a form that collects data (i e. survey). I want to make this form available for use on the internet. The form creates an entry in a table, then the entry is appended to a summary table. How will MS Access work when this form is activated (on the internet) at...
  12. L

    Placement of Quotes For DoCmd.RunSQL Statement

    I'm having trouble with the proper placement of the quotes for a Do.Cmd.RunSQL VBA statement. The SQL code works. Would someone add the DoCmd.RunSQL statement and quotes in the proper place for the below code ? Eventually, "Evans" will become a variable rather being hardcoded. Thanks ! ! ...
  13. L

    How To Export Data From To Another Database/Table By VBA

    I need to export data from a table in a database to another database table (same table name) using VBA ? Examples are welcomed. Thanks ! ! !
  14. L

    How To Create A REPORT From A FORM

    Is it possible to create a REPORT from a FORM ? If so, please tell me how. Thanks ! ! !
  15. L

    Change Text Color When Printing (Based On A Value In Another Field)

    Is it possible to change the text color (when printing) based on the value of another field ? I want to check if a checkbox is selected on a form, if so I want the entire line (print record) to print in red. It looks like "Conditional Formatting" will not do this.
  16. L

    Passing Date From Form To Query

    Anybody see what is wrong with the content in my 'Testit' query criteria ? I'm trying to pass dates from a form (i.e. Date_Selected) to my query (i.e. By_Selected_Date_Query) ? The syntax used is below. Also, I've attached the database. Between [Form]![Date_Selection]![StartDate] And...
  17. L

    Retrieve SQL Results

    How can I retrieve the results of the below SQL statement in VBA ? Dim strSQL As String strSQL = "SELECT [Sales Tax Table].[Category_Name] FROM [Sales Tax Table] WHERE [Company Name] = '" & Me.Name_Choose & "'"
  18. L

    Sharing Tables With Two (2) Different Databases

    Is it possible to share tables with two (2) different databases ? To clarify . . . I have a database that collects data into tables (via form) that are needed to produce reports by a different database.
  19. L

    Conditional Formatting (AfterUpdate)

    Is it possible to change the color (to red) of text in a textbox after it's update. I don't see how to do this in the 'New Formatting Rule' in 'Conditional Formatting' of the 'Format' section.
  20. L

    Retrieve Result From SQL

    How can I retrieve the results of the below SQL code ? Also, How can I replace the hard coded 'Target' value with the variable named 'Account' ? Dim strSQL As String Dim rs As DAO.Recordset Account = [List7].[Column](0) strSQL = "SELECT Bill_Name, Last_Paid, NextPaymentDate FROM...
Top Bottom