Recent content by ddewald

  1. D

    Look up most recent value from the most recent record

    Please excuse my ignorance. Where would I put that function in at?
  2. D

    Look up most recent value from the most recent record

    So would I do a DLookup to find records by license plate and then a DMax to narrown down to highest Odometer value?
  3. D

    Look up most recent value from the most recent record

    I would say the most recent would be the one with the highest value. Odometer never goes down so that's probably a safe bet.
  4. D

    Look up most recent value from the most recent record

    Hello all, I have a database that tracks mileage and fuel for our fleet of trucks. We have a paper trip report that gets entered into an access database. On the form "frm_TripReports" there is an "OdometerStart" and an "OdometerEnd". Each trip report is specific to each Vehicle. Vehicle is...
  5. D

    Open form to New Record but with a specific value in text box.

    Having an issue. It worked at first, but as soon as I start to fill out the form, the VendorNo goes to 0.
  6. D

    Open form to New Record but with a specific value in text box.

    It worked great! Thank you both for the help!
  7. D

    Open form to New Record but with a specific value in text box.

    Hate to be a pain, but I'm very green when it comes to coding. Would you be willing to spell that out a bit more for me? Thank you!
  8. D

    Open form to New Record but with a specific value in text box.

    That worked great to bring up the proper vendor but it autofilled the rest of the form with the last record. Is there a way to have it open to a new record while diplaying the VendorNo?
  9. D

    Open form to New Record but with a specific value in text box.

    I have a form called "frm_Vendors" that lets you select a vendor from a combobox and then displays the vendors details. I would like to open another form called "frm_NewPurchase" that opens to a new record, but autofills the "VendorNo" text box with the "VendorID" from the previous form. Can...
  10. D

    Solved Open form to specific record but allow record navigation.

    Ah, good idea. I'll give it a go. Thanks!
  11. D

    Solved Open form to specific record but allow record navigation.

    Figured it out. May be a bit sloppy but I put this code into the forms Resize event. Dim intID As Integer Dim rs As Object intID = Me.VendorID Me.FilterOn = False Set rs = Me.RecordsetClone With rs .FindFirst "[VendorID]=" & intID Me.Bookmark = .Bookmark End With rs.Close Removed the filter...
  12. D

    Solved Open form to specific record but allow record navigation.

    Is there a way to build that command into the openform command?
  13. D

    Solved Open form to specific record but allow record navigation.

    Hello all. I have a form called "EditVendor" that allows you to edit a vendors details and I have a button called "SaveAndClose" that closes the form and opens up another form and goes to the same record. Heres the code (I know my names are sloppy): DoCmd.OpenForm "frm_Vendors", , ...
  14. D

    Auto populate a table with description

    Hmmm ok. I guess I need to reevaluate how I'm going about this. Very new to Access and Queries just confuse me.
  15. D

    Auto populate a table with description

    So if I wanted to auto populate multiple fields, the correct way of going about it is by having separate tables for each field? Like a table for just company names, and another for departments and so forth?
Top Bottom