Search results

  1. MattBaldry

    Length Efficiency Calculator

    Hi Majp, Yes, I did make this one easy, and it will not always be this way. What we are going to put in process as that the BOM will always have the required quantity in a multiple of 0.100, so there will never be any weird 0.056 lengths like we currently have. 0.056 will be rounded up to 0.100...
  2. MattBaldry

    Length Efficiency Calculator

    As an example, and this one will be basic just for an idea we have the below. CableSerial CableLength 001 0.330 002 0.660 003 0.660 004 0.800 005 0.850 006 1.650 007 2.000 Now we need to cut 10 x 0.165 lengths. Basic math would tell us that 10 x 0.165 = 1.650. So on here...
  3. MattBaldry

    Length Efficiency Calculator

    Hi forum people, I have an idea someone has asked about at work, and wondered if anyone would have any tips or if it would even be possible. We use a type of cable that comes in straight 2m lengths. Sadly it is not always cut into multiples of 2m so we get a lot of waste. What has been asked...
  4. MattBaldry

    Solved Open Form and Apply Filter to Subform

    I actually just solved this myself thanks to an old post from IslaDogs. I used the below. DoCmd.OpenForm "frmProductionManagement" [Forms]![frmProductionManagement]![sfrmProductionManagement].Form.Filter = "[Outstanding] > 0"...
  5. MattBaldry

    Solved Open Form and Apply Filter to Subform

    Hi all, I have been looking and trying and cannot find the right syntax to open a form and apply a filter to the subform. Main form is frmProductionManagement, subform is sfrmProductionManagement is in Continuous Form view. If I set the filter in the subform in design mode to [Outstanding] >...
  6. MattBaldry

    Solved Delete Files and Folders, Apart from .zip

    There are files in the folder and subfolder. The code I have now works fine which is good. I create the zip in a temp folder. Clear the main folder then move the zip to the main folder from the temp one. It's not elegant, but works for the basic needs we have. Thank you for your help, your code...
  7. MattBaldry

    Solved Delete Files and Folders, Apart from .zip

    Hi Gasman, That code only deleted files and not folders. Now create the zip file in a temp location, empty the source folder then move the zip file back. I had to put a 2 second pause after the zip file is created otherwise it deleted the files before it was finished. I used the code on the...
  8. MattBaldry

    Solved Delete Files and Folders, Apart from .zip

    Hi Gasman, I went with this approach in the end. I create the zip file in a temp folder, clear the first folder, then move the file from Temp to Original. I will update this thread once I have it working. At the moment it is deleting the files/folders before the zip has complete. ~Matt
  9. MattBaldry

    Solved Delete Files and Folders, Apart from .zip

    Hi moke123, This just gives an error as below. ~Matt
  10. MattBaldry

    Solved Delete Files and Folders, Apart from .zip

    Hi Gasman, I cannot seem to get this to work. It doesn't remove anything :( ~Matt
  11. MattBaldry

    Solved Delete Files and Folders, Apart from .zip

    Hi all, I have looked but cannot find a method for this. I want to delete all files and folders from a main folder, apart from anything *.zip. I can find code to delete everything, or all of a certain file type, but nothing to only leave a certain file type. ~Matt
  12. MattBaldry

    Query Error in List Box

    Ignore me, I have figured it out. I had the wrong expression on the listbox requery after box checked. Been a long day. ~Matt
  13. MattBaldry

    Query Error in List Box

    Hi All, I have generated a query that filters from options of a form. When I open the form, the list box posts the below error. But if I open the query itself, it shows the data and no error. Just won't display it in the list box. I have 3 check boxes for the dates Created Date, Sent Date...
  14. MattBaldry

    Logged Times Challenge

    Thanks ebs17, Apologies if it sounded like I was moaning. Your code was better than anything I could have done and is how I learn. I do read and understand the code and will make use of this for sure. ~Matt
  15. MattBaldry

    Logged Times Challenge

    This also only show 1 person, and 1 date. If there are multiple dates, it doesn't show each day and person. Below is the full table for this job in case that helps. WorksOrderRecordID WorksOrderReference BookingDate EnteredBy StartTime FinishTime 127304642 21639-003 12-Feb-24 Operator 1...
  16. MattBaldry

    Logged Times Challenge

    This looks good, however there is an additional challenge I forgot to add. There may be times where an operator logs onto another operation, on the same day, but after the last finish time. this would then need to be treated as brand new time logged. As an example, the same operator above may...
  17. MattBaldry

    Logged Times Challenge

    Yes, this is correct. The current system logs all these as different times. I want the first start, the last end and then to discount all starts and ends by the same person on the same job between the first and last ones if that makes sense. And then use that time as the amount of time logged...
  18. MattBaldry

    Logged Times Challenge

    Hello forum brains, I am hoping someone might have an idea on a solution here. We have a 3rd party application to for our production people to log their times on jobs. It works, almost, how we want it to. Where it falls down is when people log onto multiple operations at the same time (which is...
  19. MattBaldry

    Solved Split Minutes into Hours, Minutes, Seconds

    For the full background on this I have a time labour calculator for our internal BOMs. Our company timings are done as a decimal of the minute, in 6 second (0.10) or 15 second (0.25) breaks. When I export our BOM into a 3rd party application, their labour is broken into 3 fields, Hours, Minutes...
  20. MattBaldry

    Solved Split Minutes into Hours, Minutes, Seconds

    Thanks all. I have this working perfectly now. I used arnelgps code and it did exactly what I needed. ~Matt
Back
Top Bottom