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 Mike Lewis 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: *

  1. ProtegeV2

    On Click Button - event procedure

    I have a report based on a query where: WHERE (((tblSchedule.[Cheque Date]) Between [Enter start cheque date] And [Enter end cheque date]) AND ((tblSchedule.Decision)=[Enter Decision A or R (Approvals/Refusals)])) I would like the event procedure to display a report named "rptPrimaryCategory"...
  2. ProtegeV2

    Event Procedure to select report

    Hi there, I have a report based on a query where: WHERE (((tblSchedule.[Cheque Date]) Between [Enter start cheque date] And [Enter end cheque date]) AND ((tblSchedule.Decision)=[Enter Decision A or R (Approvals/Refusals)])) I would like the event procedure to display a report named...
  3. ProtegeV2

    On Click - what's missing?

    Thanks so much, it works!
  4. ProtegeV2

    On Click - what's missing?

    I should have mentioned that I tried taking off the brackets and received the following message: The OpenForm action was cancelled. You used a method of the DoCmd object to carry out an action in Visual Basic but then clicked Cancel in a dialog box. Yes, [Docket #] is a number field size...
  5. ProtegeV2

    On Click - what's missing?

    Now I'm getting a message that the form name is misspelled or doesn't exist. It is spelled correctly... Private Sub Command99_Click() On Error GoTo Err_Command99_Click Dim stDocName As String Dim stLinkCriteria As String Dim strWhere As String strWhere = "[Docket #]= '" &...
  6. ProtegeV2

    On Click - what's missing?

    Thanks, but it still opens [Project Request Form] on record 1. Do I need a DLookup or something to get the matching "[docket #].[Project Request Form]"?
  7. ProtegeV2

    On Click - what's missing?

    I want the "Project request form" to open the same record displayed in the tracking form. It opened record 1 on the project request form. Thanks.
  8. ProtegeV2

    On Click - what's missing?

    I don't know if you need this, but the form's On Current is: Private Sub Form_Current() Me![txtDocInv] = DLookup("[SumofInvoice Amount]", "[qryInvoicedTD]", "[Docket #]=" & Me![Docket #]) Me![txtEstimate] = DLookup("[SumofTotal]", "[qryEstimates]", "[Docket]=" & Me![Docket #]) End Sub I'm...
  9. ProtegeV2

    problem with ascending date

    I love you PHV! Thanks, it's perfect.
  10. ProtegeV2

    problem with ascending date

    I ran the query with Start Date "1/1" and End Date "3/1": Date Range 1/1/2005 - 1/31/2005 1/1/2005 - 1/31/2005 1/1/2005 - 1/31/2005 1/1/2005 - 2/22/2005 1/1/2005 - 2/22/2005 1/1/2005 - 2/22/2005 1/1/2005 - 2/22/2005 1/1/2005 - 2/22/2005 1/1/2005 - 2/22/2005 1/1/2005 - 2/22/2005 1/1/2005 -...
  11. ProtegeV2

    problem with ascending date

    The dates I mentioned are both from [SchedDate]. The list sorts correctly for January - three records in February aren't in proper ascending order for some reason. The sorting and grouping on reports usually allows date fields to sort by "year" instead of "each value". Can you remind me how...
  12. ProtegeV2

    problem with ascending date

    Can someone please tell me why my records aren't sorting in ascending order? 02/09/2005 appears after 02/16/2005. Here is my SQL - the report is grouped by "Date Range" - each value - group interval 1. SELECT [SchedDate] & " - " & [EventEnd] AS [Date Range], tblSchedule.StartTime...
  13. ProtegeV2

    Report by week

    Thank you, I will give it a try.
  14. ProtegeV2

    Report by week

    Hi, Is there an easy way to run a report by week (7-days)in calendar format? I want to display the weekday with the corresponding information i.e., [event name] below it. In my SQL below, how can you list "WhatDay" for each weekday for the month/year requested with the event information below...
  15. ProtegeV2

    Macro for Find/Next

    Thanks RoyVidar. Can you tell me where do I put the code? In a module??
  16. ProtegeV2

    Macro for Find/Next

    Is it possible to make a macro to change the default setting for the built-in Find/Next method from "Match: Whole Field" to "Match: Any part of Field"? Thank you.
  17. ProtegeV2

    Syntax error - form button (report)

    Thanks Roy! That's what I needed.
  18. ProtegeV2

    Syntax error - form button (report)

    Can you help me fix a form button? My On_Click is below. I am trying to run a report based on the information in the displayed record. i.e., with record 3368 displayed, I receive the message: syntax error in date in query expression '(Docket #=3368'. Note that the report worked when I had the...
  19. ProtegeV2

    Rpt based on record displayed

    Can you help me apply this to another report button on this form. With record 3368 displayed, I receive the message: syntax error in date in query expression '(Docket #=3368'. Note that the report worked when I had the user enter the criteria [Enter Docket #] but I've removed this WHERE clause...

Part and Inventory Search

Back
Top