Search results

  1. L

    Date and User Name Stamp on Form

    Instead of BeforeInsert: sub Form_BeforeUndate() if me.newrecordset then me.dtCreated=now() elseif me.dirty then me.dtUpdated=now() end if end sub
  2. L

    Date Validation

    Use the date control BeforeUpdate event and test and date with the appropriate date criteria.
  3. L

    Show-Hide Report Details linked to group header

    There is no click events on Reports. Look at the Report, Header, Detail, and Footer event properties.
  4. L

    Show-Hide Report Details linked to group header

    Use the report OnFormat event, not the detail OnFormat event, to hide or show the detail section.
  5. L

    selecting two records

    It's not clear if you want one query or merely a second on. If two, take a look at "Union" queries. Additionally look at "SELECT TOP 2 etc."
  6. L

    link table

    Link table(s) from each database, one database at a time.
  7. L

    Updating continuous subform

    On some form event use an update query. docmd.RunSQL "UPDATE YOURTABLENAME SET TRUCKNO_OUT ='" & ME.TRUCKNO & "'" THIS ASSUMES THAT TRUCKNO IS A STRING, IF NUMERIC OMIT THE ' (TIC). Note that subform records are updated one row at a time.
  8. L

    Front/Back ends

    You're incorrect. They the relationships can be displayed. Click the "Relationships" button on the "Database Tools" ribbon, then the "All Relationships" button on the "Relationships" ribbon.
  9. L

    Union query

    That is the issue.
  10. L

    Running sums over different groups

    From your jpg, I can see what you want to sum. Try creating the totals you want in a subreport, rather than in a group.
  11. L

    Union query

    Column names must be the same too.
  12. L

    Union query

    The columns of the 2 queries unioned are different; they must be the same number (of columns) and same data type.
  13. L

    Filtering form with checkbox

    Post the form record source SQL and if you're using the Filter property, the Filter property SQL.
  14. L

    Filtering form with checkbox

    A column in your query is not correctly specified.
  15. L

    Delete data from Table based on Select Query -

    It's probably a non-updateable recordset. Take a look at this.
  16. L

    minimize Internet Explorer window

    I easily found your solution here.
  17. L

    How to get a Date Difference Value in milliseconds in VBA

    I easily found your solution here.
  18. L

    Importing data from table to table with ID

    Import your a data, use an Access make table query using the imported table to create a new table, maybe adding your new column and populating it in that query.
  19. L

    Opening multiple reports in print preview

    But why do they all have to be open in "preview" mode at the same time? Just open them, is really necessary. If a report is on another report, it's a subreport. What your saying doesn't make sense to me. I missed the acViewPrevoiew in your first post.
  20. L

    combo box

    Attached is a simple form filtering a continuous form using 2 different methods: first using the form "filter" properties, the second modifying the form recordsource. Take a look at the VBA code associated with the form, it's very simple and basic very.
Back
Top Bottom