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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by lupins46

  1. lupins46

    Error handling converting Macro to a VB Module

    To develop a 'filter-by-form' equivalent would be a major undertaking. If you can cut down your filtering to two or three fields you could build a SQL Select statement in code and use that as your recordsource (or build a filter stament on code and apply that). Or you could use a parameter...
  2. lupins46

    Error handling converting Macro to a VB Module

    Filter by Form is not available in Access runtime.
  3. lupins46

    Sub-form printing as form not datasheet

    When you added you subform to your main form the wizard would have asked you for these fields.
  4. lupins46

    Sub-form printing as form not datasheet

    Are both subforms linked to the mainform through Master/Child links? (Just fumbling in the dark!)
  5. lupins46

    Format question?

    Don't even try. Provide the user with separate texboxes for firstname and lastname and then, if you must, join the entries together to give you the format you want. But I can't imagine that you really want to store the name in this way. It would make searching unnecessarily complicated.
  6. lupins46

    Copy a field from subform

    What do you mean by ' lets call it 'recon#' In what sense does a record have a name? It would always be 'the row that is selected' as there is always a row selected (assuming a row exists) And you want to copy it where? to the clipboard?
  7. lupins46

    Generate Date

    Run this sub to enter ther records. Make sure you use your own table and field names. Sub EnterDates() Dim dt As Date Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("tablename", dbOpenDynaset) For dt = #1/1/2004# To #12/31/2010# rs.AddNew...
  8. lupins46

    List items from 2 tables together, consecutively

    Splitting the table does not help you avoid any size limits. So put the items back into the same table and make life easy.
  9. lupins46

    Report only the most current record a report grouping

    So how do you identify 'most recent'?
  10. lupins46

    How can I get the ID of the last added record?

    DMax("idfieldname","tablename")
  11. lupins46

    XP - Using a drop down in a query

    No. Code has to run to requery the rowsource of the second drop down. Therefore you can't do it in a query.
  12. lupins46

    Opening a DB file from a user interface control button

    gee whizz - is this the ESP forum(:-)
  13. lupins46

    Opening a DB file from a user interface control button

    ACcess does not have an 'Activedocument'. Use Application instead.
  14. lupins46

    Month to Date Average Count of New Records

    Asking the user to enter month/year in a parameter prompt is inviting problems. If you need to do this then you should use a form to capture the month - maybe use a drop down list to let the user pick from it.
  15. lupins46

    Sub-form printing as form not datasheet

    Can't reproduce the problem here. Which version of Access?

Part and Inventory Search

Back
Top