Search results

  1. D

    is my query too complex?

    I changed the join for VPO to VPOitems and it works now.
  2. D

    is my query too complex?

    :confused:no.... LOL sorry, still a rookie at most of this stuff. can I have a hint?
  3. D

    is my query too complex?

    SELECT VPO.VendorCode, VPOPayment.PaymentID, PaymentID.AccountingReference, PaymentID.PaymentDate, VPO.VPONumber, VPO.OrderDate, VPOItems.ProductID, VPOItems.TotalCost, Sum(nz(vpopayment.VPOAmountPaid)) AS [Amount Paid] FROM VPO INNER JOIN (PaymentID RIGHT JOIN (VPOItems LEFT JOIN VPOPayment ON...
  4. D

    Date range query

    works now, thanks!
  5. D

    Date range query

    pasted that in and now I get no results from the query no matter what I'm searching on. is it a problem because I have the "having" clause? this is the entire code of the query SELECT VPOItems.VPONumber, VPO.VendorCode, VPO.OrderDate, VPOItems.ProductID, VPOItems.TotalCost...
  6. D

    Date range query

    I'm trying to add a date range to a form I've created with a start date and end date. Here is the code I'm using, but what do I need to change on this so that I can still continue to do queries based on other frields if the two date range frileds are blank ((VPO.OrderDate) Between...
  7. D

    records disappear from form

    BINGO! works now, thanks a million!
  8. D

    records disappear from form

    Got kind of a weird issue... I have 4 different forms in a database. my problem with one form that I just started using recently is that it will post data to the table it's linked to, but if I close and reopen the form the record navigation buttons at the bottom don't show any of the previous...
  9. D

    Copy a Value from a text box to a query?

    Hi Just wondering if it's possible to have the value someone enters in a form post to a query, and then run the query based on the value entered by the user? Is there any genric examples of this? or could someone give me a brief idea how to do this? The purpose for this is so that I can...
  10. D

    Cascading combo boxes in a sub form

    great! works now! thank you very much for all the help!
  11. D

    Cascading combo boxes in a sub form

    okay next problem.... when you are on the CreateModifyVendorPayment form the VPONumber in the subform is dependent on the vendor selected above. the Product ID is depenent on the VPONumber selected. So the combo boxes are working for the VPO Number, When I select a VPONumber from the...
  12. D

    Cascading combo boxes in a sub form

    yes, that is what I wanted it to do! thanks muchly for the help! :D
  13. D

    Cascading combo boxes in a sub form

    that's what i have in there it it's still the same restult did you download my db and change the code and itworked?
  14. D

    Cascading combo boxes in a sub form

    okay, I did that and it populates. however, it's only showing the VPONumbers that correlate to the first vendor selected... i.e. it's only showing VPONumbers 111111 and 125456 if you select vendor ALLFEE, if I change the vendor it's not requerying the vponumbers for then new vendor
  15. D

    Cascading combo boxes in a sub form

    bump... can someone look at this pleeeeease??? :)
  16. D

    Cascading combo boxes in a sub form

    The VPOnumber is manually entered. It is taken from our ES system at work. There's no easy way to track all these payments in the ES so I'm hoping using this database will slove a lot of our issues. Right now we're tracking everything in excel and it's a headache!
  17. D

    Cascading combo boxes in a sub form

    Okay, I removed VPONumber from the PaymentID table like you suggested. I also renamed all the objects with spaces, must have got lazy there. so it's still not working. I reattached it with changes. Would you mind having a look.
  18. D

    Cascading combo boxes in a sub form

    I made those changes and it's not showing any of the created VPOs in the subform after selecting a vendor? did it work for you?
  19. D

    Cascading combo boxes in a sub form

    Hi, I'm having trouble getting my 2nd combo box to work after I select a value from cboVendor1. The 2nd combo box is cboVPO1. and is on form CreateOrModifyPayment. I get the following error: Complie Error: Method or data member not found I've attached the database hoping someone can...
  20. D

    Converting Null values generated by a query

    yes, Nz worked. Thanks! Here is the expression I wrote: SELECT VPO.VPONumber, VPO.VendorCode, [2VPOTotalByVPO].SumOfTotalCost, Sum(nz([3PaymentTotalsByVPO].VPOAmountPaid)) AS SumOfTotalPayments, [sumoftotalcost]-Sum(nz([3PaymentTotalsByVPO].VPOAmountPaid)) AS BalanceOwing FROM...
Back
Top Bottom