Recent content by lucy6868

  1. L

    DSum Running Total in query

    Just when you thought you were rid of me... Here is the next derivation. I am trying to get supply and demand by location out of a system that was built around only have one location. When I try to add location to the running total, I get the message: The expression you entered contains...
  2. L

    DSum Running Total in query

    The following formula worked correctly: RT4: DSum("[DemandQty]","[tblMRPDetail_Demand_RunningTotal_DataFields]","[PartNo]= '" & [PartNo] & "' And [UniqueRecord] <= '" & [UniqueRecordAlias] & "'") Thanks much for your help.
  3. L

    DSum Running Total in query

    UniqueRecord is a text field.
  4. L

    DSum Running Total in query

    Here's is my fresh attempt: RT3: DSum("[DemandQty]","[qryMRPDetail_PartShortages_Sub]","[PartNo]= '" & [PartNo] & "'" And "[UniqueRecord] <= '" & [UniqueRecordAlias] & "'") This returns the grand total of all demand for all part numbers. Different but not what I need.
  5. L

    DSum Running Total in query

    I managed to get an entire total based on part number with this: RT2: DSum("[DemandQty]","[qryMRPDetail_PartShortages_Sub]","[PartNo]= '" & [PartNo] & "'")
  6. L

    DSum Running Total in query

    This is giving me a total sum for all demand qty in the database, not judt the demand for the individual part number: RT2: DSum("[DemandQty]","[qryMRPDetail_PartShortages_Sub]","[PartNo]= " & '[PartNo]' & " ") What I would like is: UniqueRecord...
  7. L

    DSum Running Total in query

    Can you give me the syntax for treating it as a text field? Thanks, Lucy
  8. L

    DSum Running Total in query

    It is a text field. Sometimes there are alpha characters in the part number that I am using to create the UniqueRecord field.
  9. L

    Problem with Running Total

    Toast, I sure hope you are still around. Here is my query: RT2: DSum("[DemandQty]","[qryMRPDetail_PartShortages_Sub]","[UniqueRecord] <= " & [UniqueRecord] & " ") It returns: #Error Can you review my syntax? Regards, Lucy
  10. L

    DSum Running Total in query

    I am trying to write a query that will give me a running total of the demand qty for each part number sorted by date. I have created a unique filed that includes part number, date, and order number that is unique for each record. I then sort on that unique filed. Query1 UniqueRecord...
  11. L

    Yet another Runing Totals query

    I figured it out: UPDATE tblLateOrders SET tblLateOrders.DemandRunningTotal = DSum("DemandQty","tblLateOrders","PartNumber = '" & [PartNumber] & "' AND [OrderDate] <= #" & [tblLateOrders]![OrderDate] & "#");
  12. L

    Yet another Runing Totals query

    I have read through the threads on creating a Running Total and am still stuck so here goes... I am trying to write a query that will return the running total of demand by part number by date. Table: tblLateOrders Fields: PartNumber OrderDate DemandQty DemandRunningTotal...
  13. L

    Number the rows in a query

    I have this formula that I copies from a website somewhere that numbers the records in a query so I can use it to populate a journal entry screen in my accounting software: Line: IIf(CInt(DCount("Description","tblPayrollJE","Description <='" & [Description] &...
  14. L

    Hyperlink on form

    I have a form for looking at UPS Worldship charges. I would like to add a button that would take the user to the tracking information on the UPS website. I have the hyperlink in a query and it works fine if I copy paste it to Explorer or Firefox but I don't know how to get it on the form. I...
  15. L

    Query to pull out sales order number

    In my UPS Worldship database, my shipping guy sometimes types in the sales order number like this: 20043818 / 30108 - 1 and sometimes like this: 15993 - 20 Hoods / 20043700 The sales order number always starts with 200 and is 8 digits long. I am trying to write a select query that only...
Back
Top Bottom