Recent content by CJ_London

  1. C

    Length Efficiency Calculator

    Think you have to clearly define the overall objective. Is it to reduce waste or reduce stock? Is it to be considered on an order by order basis or by looking at longer term usage to determine common sizes and multiples thereof?
  2. C

    Mandatory FK values? "You cannot add or change a record because a related record is required in table"

    Assuming you have defined the relationship then the FK field has to have a matching parent, or is set to null - which is not the same as a zls - your description does not say, only that you do not allow zero length
  3. C

    Solved How to use ME in a public function

    If you used a public function rather than a sub, per post #3 change Public Sub CloseForm(frm As Access.Form) To Public Function CloseForm(frm As Access.Form) Then you don’t even need to have a form module for the close event. Just put =CloseForm([FORM]) against the close event on the...
  4. C

    Solved accdb v accde

    suggest put some msgbox’s to display variable values so you can check the accde ODB does not seem appear to have been declared or populated do you have option explicit at the top of every module?
  5. C

    Solved Query with multiple criteria

    if you remove all the brackets and replace just around criteria 2 (the OR) I would expect it to look like this SELECT [App Data].[Regi No], [App Data].[Farmer Name], [App Data].Area, [App Data].[Sent To BRD], [App Data].Status, [App Data].[Physical File At] FROM [App Data] WHERE [App...
  6. C

    Solved Query with multiple criteria

    In that case, implies you don’t have any data to fit the criteria
  7. C

    Solved Query with multiple criteria

    Have you tried using the query builder - looks like your brackets may be incorrectly paired. or remove all the brackets and just replace them around the second requirement
  8. C

    Solved Show all Records on zero/null etc

    the nz function only works with null, not 0. Your union query uses 0 so discard the null approach it doesn't matter - your criteria would be tblShowDogs.SectionID=IIf([forms]![frmMain]![cboJudgeSlipsSect]>0,[forms]![frmMain]![cboJudgeSlipsSect],tblShowDogs.SectionID) So if...
  9. C

    Solved Show all Records on zero/null etc

    Either add one in or use a union query as you mentioned in your first post
  10. C

    Solved Show all Records on zero/null etc

    You now have 3 options to try
  11. C

    Solved Show all Records on zero/null etc

    another alternative if the combo 'All' value is null WHERE YourField = nz([forms]![frmMain]![cboWorkSlips],YourField)
  12. C

    Solved Show all Records on zero/null etc

    Describing what you have is vague- show us. What is the sql to the query that references your combo and what is the sql to your combo?
  13. C

    Max Query Join

    other considerations - are the fields being linked on and sorted indexed? I doubt it - the first query wont run until the second query calls it
  14. C

    Solved Caching recordset in MS Access VBA

    not sure where you are getting your idea of a discoonected recordset - see this link for an example https://www.devguru.com/content/features/tutorials/DisconnectedRecordsets/tutDisconnRS.html assuming you have a linked table to your azure BE then the connection string is simply currentdb.connection
  15. C

    Solved Caching recordset in MS Access VBA

    You are talking about a single recordset, not the whole app. Ado won’t work for reports and for forms, the default filtering and sorting won’t work. But for a single recordset being used in vba it is fine
Top Bottom