Search results

  1. arnelgp

    Recordset Anomaly

    the question, does your table have Null values on either Name or Age field? you can cancat then with empty string: Dim rs As DAO.Recordset Set rs = Me.RecordsetClone rs.MoveLast rs.MoveFirst NumberPeople = rs.RecordCount 'I then have a for loop that that goes thru each record. For i = 1 To...
  2. arnelgp

    Solved Properties not appearing in 2016

    you may also try this on Design view of your Form/Report:
  3. arnelgp

    Solved Filter data in a form based on a text value

    strFilter = Me.txtFilter DoCmd.SetFilter wherecondition:="[JobName] like '*" & strFilter & "*'"
  4. arnelgp

    VBA Alternative to a Slow Query Chain

    maybe just reinstate your original code.
  5. arnelgp

    VBA Alternative to a Slow Query Chain

    remove first the NoData event, but test the HasData value: Private Sub Report_Open(Cancel As Integer) Msgbox Me.HasData ' Cancel = (Me.HasData = 0) ' the report has nothing to show ' If Not Cancel Then ' MsgBox "It is projected there will be insufficient stock of one or more...
  6. arnelgp

    Solved Filter data in a form based on a text value

    for Not Equal: DoCmd.SetFilter wherecondition:="[JobTypeID] <> " & [yourTextboxName]
  7. arnelgp

    Solved Filter data in a form based on a text value

    also try: DoCmd.SetFilter wherecondition:="[JobTypeID] = " & [yourTextboxName]
  8. arnelgp

    VBA Alternative to a Slow Query Chain

    add this to the code: ... ... 'just open the report (if no data to print, it will not show up) On Error Resume Next DoCmd.OpenReport "Inventory_Warning_Pop_Up_Report", acViewReport DoCmd.RunSQL "Delete * From [zz_onhand_temp]"
  9. arnelgp

    VBA Alternative to a Slow Query Chain

    ok, maybe directly Open the report. add code to your report's Open event to check if there are records to show. if none just Cancel the report. if there is, show your messagebox. on your report Open Evernt: Private Sub Report_Open(Cancel As Integer) Cancel = (Me.HasData = 0) ' the report...
  10. arnelgp

    VBA Alternative to a Slow Query Chain

    you can also check if table zz_onhand_temp has some record on it? ProCnt = DCount("*", "zz_onhand_temp")
  11. arnelgp

    VBA Alternative to a Slow Query Chain

    you can try moving the zz_onhand_temp table to the FE (each FE) or move it to another Backend. i did look at your Inventory_Warning_Query, and Production_ID and Product_Code from zz_onhand_temp table is being linked. so i think you only need to insert these 2 fields in your Insert Query code...
  12. arnelgp

    VBA Alternative to a Slow Query Chain

    adding Index will speed up finding records on your table. take this snippet code from your function: 'Get the last stocktake date and quantity for this product. If Len(strAsOf) > 0 Then strDateClause = " AND (StockTake_Date <= " & strAsOf & ")" End If...
  13. arnelgp

    Solved Web Browser Controls : A never ending struggle.

    i tried it also and it does work.
  14. arnelgp

    Webcam using Modern Webbrowser control

    The demo is from Developer Hut (Carda system) the downloadable version:: https://www.devhut.net/access-modern-web-browser-control-webcam/
  15. arnelgp

    Solved Web Browser Controls : A never ending struggle.

    there is, initially, a control source on your pdf browser (viewer), remove it (unbound).
  16. arnelgp

    VBA Alternative to a Slow Query Chain

    there is no daily_staff table. suggest you add Index on all Fields/tables used in your Criteria on the SQL string in your Quantity_On_Hand routine. also you add vba code that will open a "persistent" connection to your backend. this will somewhat make your db faster, specially on multi-user...
  17. arnelgp

    Syntax error "="

    i just fixed the Filter portion of the code.
  18. arnelgp

    Cannot find the source code for the calculations marked in red

    you may try to cast your formula in IsError() or IsNull() function.
  19. arnelgp

    Adding the on scroll event and detecting the first visible Id on continuous forms.

    the only challenge for you is how to make the DUMMY_CONTROL (currently the ID) "hidden". i tried to putting it "under" another textbox but it didn't work out.
  20. arnelgp

    Adding the on scroll event and detecting the first visible Id on continuous forms.

    sorry but your db crashes immediately upon opening the form frmTest on my winows 11, office 2024 x64.
Back
Top Bottom