Search results

  1. MattBaldry

    Length Efficiency Calculator

    Hi Dave, In the case the cable is around £10.46/m. So with 250m of off cuts and waste, it is definitely worth the investment into a proper system to manage them. ~Matt
  2. MattBaldry

    Length Efficiency Calculator

    Hi All, Thank you for taking an interest in this task. I did want to have a real time list of data for today, but sadly the guy tasked with the stock list decided to be ill today. In the meantime, I have found the below link, which seems to do something like the endgame here...
  3. MattBaldry

    Length Efficiency Calculator

    Hi Gasman, No, the fault here is not the supplier. It is our workers. The cable was all received in 2m lengths. But they always just grab a new length when doing a job, rather than find the most efficient lengths. You have no idea how frustrating this is, so I am trying to find a solution to...
  4. MattBaldry

    Length Efficiency Calculator

    Thanks MajP, I will get a list and PM it over. There is nothing hidden here so I will give you real lengths and cable details, and then same sample lengths we would cut it in to. ~Matt
  5. 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...
  6. 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...
  7. 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...
  8. 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"...
  9. 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] >...
  10. 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...
  11. 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...
  12. 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
  13. MattBaldry

    Solved Delete Files and Folders, Apart from .zip

    Hi moke123, This just gives an error as below. ~Matt
  14. 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
  15. 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
  16. 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
  17. 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...
  18. 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
  19. 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...
  20. 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...
Back
Top Bottom