Search results

  1. S

    checkboxes for monitoring progress

    to register true or false in the form via checkboxes is just drag and drop in design.. If you want to make changes to other fields based on the selected in the checkbox then you could do something like: private sub CheckBox1_AfterUpdate() select case me.checkbox1 case true me.field1 = "yes"...
  2. S

    Date format Query

    If datestamp is a field in your import table then this should work: Format([DateStamp],"yyyy\.mm\.dd")
  3. S

    Add Checkboxes to SubForm Records

    you add it to the table and then you create a query based on the table as record source for the subform. In that query you filter on the checkbox 'unassign' field to be false. On the checkbox's afterupdate event you could then add the code: private sub UnAssign_AfterUpdate() me.requery end sub
  4. S

    Single record for each report page

    With the report in design mode you right-click the grey area and choose Sorting and Grouping.. Group by something unique for the record (the id) and select "keep whole group together on one page".. !~)
  5. S

    checkboxes for monitoring progress

    sounds like you have entered the value "false" in one of the event properties of the checkbox!~)
  6. S

    Help implementing a neat idea

    Have a look at solving the issue with a multi column combobox!~)
  7. S

    Address text field, focus field

    create a button and cancel out of the wizard.. right-click and choose build event and code builder. Your code should look something like: Private Sub YourButton_Click() Me.YourField = Me.YourField + 1 End Sub Regarding the setfocus you could look at the tab stop property on the fields, the...
  8. S

    How to filter combo box list by itself?

    ...and you probably want 'Allow Value List Edits' to be false...
  9. S

    How to filter combo box list by itself?

    Great!~) ..just remember to change the 'limit to list' property on cmbProductID to true..
  10. S

    How to filter combo box list by itself?

    Have a look at this solution!~) In short you use outerjoin is null functionality to filter data then just remember to requery on current on the main form, save/refresh/requery on afterupdate on the subform, requery after delete confirmed and check for mainform id when creating a new record in...
  11. S

    cascading combo boxes and if else statements

    ...sorry you wanted NONE to be showed in the field... Private Sub Combo1_AfterUpdate() If DCount("*", "[YourQuery]") = 0 Then Me.Combo2.RowSource = "NONE" Me.Combo2.RowSourceType = "Value list" Me.Combo2 = "NONE" Else Me.Combo2.RowSource = "YourQuery" Me.Combo2.RowSourceType = "Table/Query"...
  12. S

    cascading combo boxes and if else statements

    Private Sub Combo1_AfterUpdate() If DCount("*", "[YourQuery]") = 0 Then Me.Combo2.RowSource = "NONE" Me.Combo2.RowSourceType = "Value list" Else Me.Combo2.RowSource = "YourQuery" Me.Combo2.RowSourceType = "Table/Query" End If End Sub
  13. S

    exporting results

    Excellent!~)
  14. S

    exporting results

    ..or choose another format!~)
  15. S

    exporting results

    Create a query that shows those fields and that is filtered on your id or code or whatever you have that is unique. If it was id then the criteria on the id field in the query would be something like forms!YourForm!id Then go into the code for your button, select the code builder and enter...
  16. S

    LDB Files - locked & unable to delete

    I've experienced the same problem and could not find the solution anywhere... but after lots and lots of trying I came up with a very simple an effective solution. It's posted in a blog on www.databasemakers.com
  17. S

    LDB Files - locked & unable to delete

    If anybody is still searching for an answer on how to delete a .ldb file then there is an answer here: http://www.databasemakers.com/#/blog/4567129525/Cannot-delete-Access-lock-file/3362370
  18. S

    calculate table column expression

    Straight in a textbox: =sum(iif( Date()= [DateOfReceipt], [ReceiptCash], 0)) In the query: SumReceiptCash: sum(iif( Date()= [tblReceipts].[DateOfReceipt], [tblReceipts].[ReceiptCash], 0))
  19. S

    calculate table column expression

    =sum(iif( Date()= [tblReceipts].[DateOfReceipt], [tblReceipts].[ReceiptCash], 0))
  20. S

    Regarding Access Database

    ...you're welcome!~)
Back
Top Bottom