Search results

  1. A

    Search box to find parts to add to job instead of a combo box

    Quick question and probably one that is easily fixed Parts total at the bottom is a calculation from sum of line totals. If no parts are added to a job this box is empty. A box on the main screen also refers to this and gives an #error until a part is added. How do I change the error to £0.00?
  2. A

    Search box to find parts to add to job instead of a combo box

    Just to show you how it now looks, I've added tab pages to make it more neat so the components section of a job is on its own page. Working fantastic. Really grateful for all your help.
  3. A

    Search box to find parts to add to job instead of a combo box

    Hi June That was really helpful ive amended this and prefer it without warnings. I might do the same when deleting a line but may be useful to prevent accidental deletes
  4. A

    Search box to find parts to add to job instead of a combo box

    Many thanks, this worked brilliantly. The code I used at the end was Dim intPartID As Integer Dim intJobID As Integer intPartID = Me.PartID intJobID = Forms![Job Form]![JobNumber] strsql = "INSERT INTO JobParts (PartID, JobID) Values ( " & intPartID & ", " & intJobID & ")" Debug.Print strsql...
  5. A

    Search box to find parts to add to job instead of a combo box

    Update - I've done all the work to add the 2nd subform. I just need the code now to put into the button so when I choose a component from the components table it adds its partID as a record to the jobparts table using the current jobID
  6. A

    Search box to find parts to add to job instead of a combo box

    Hi everyone, I've attached a few screenshots of the existing design, and also the last one which is how I filter to look up my jobs. When I look up my jobs I can type into any one of the top boxes and it filters on this keyword, I can then open the job by clicking the button. I would like to do...
  7. A

    Search box to find parts to add to job instead of a combo box

    That works as long as you know what you’re searching for which is sometimes difficult as electronic components have part numbers, marking codes, descriptions. Ideally I would like to filter on these multiple fields instead of just a part number combo box then add the desired filtered result to...
  8. A

    Search box to find parts to add to job instead of a combo box

    Thank you The (link table?) jobparts links job.jobid & parts.partid and also has a qty field. Apologies Im not a programmer Ive built this from scratch over the past 3 months and now it all works Im improving bits The qty used is usually input when adding a part. At present this does nothing...
  9. A

    Search box to find parts to add to job instead of a combo box

    Hi everyone I currently have a job form, which has a job parts subform which looks up components from a components table. There is currently part number, description, manufacturer, more specifics, supplier price etc and you look up a part to add by the part number which is a combo box. This...
  10. A

    Display a list of previous jobs with same serial number on current job form

    Cheers for that, just knocked one up works a treat 👍
  11. A

    Display a list of previous jobs with same serial number on current job form

    Sounds good. Is the popup a seperate form with critical info?
  12. A

    Display a list of previous jobs with same serial number on current job form

    Got it, I was using Job ID to link instead of Serial, changed the master and child and it works! Thanks
  13. A

    Display a list of previous jobs with same serial number on current job form

    If I run the subform with the job form open it also displays data, its just not displaying data in the subform in the main form. All the record sources are correct
  14. A

    Display a list of previous jobs with same serial number on current job form

    Still empty, where do I put the code to requery the subform? on the main form load? Is strange how I run the query with the form open and it displays the data, its just not showing in the subform
  15. A

    Display a list of previous jobs with same serial number on current job form

    Update - if I run the query with the job form open the query runs fine and displays the previous job, just the subform isn't working correctly for some reason?
  16. A

    Display a list of previous jobs with same serial number on current job form

    I managed to get the subform in fine and set it up as continuous forms It displayed the current job so I added the following criteria into the query under JobID column <>[Forms]![Job Form]![JobID] I created a test job with a matching serial number to an older job but it displays nothing now...
  17. A

    Display a list of previous jobs with same serial number on current job form

    Hi Everyone I have a job system which the main table stores information about a current job, in this it stores the serial number of that job item The main form shows all the data about the current job including the customer and contact. I would like it to have an area where it displays any...
  18. A

    Company, contacts and job question

    Hello Many thanks for the welcome. I last did access in 2002 at college so slowly picking it up. I will check this out, appreciated.
  19. A

    Company, contacts and job question

    Hi Ive created a database which is a job system I have a customer table and each customer can have many contacts which are stored in a separate table. The customer form has a subform and this works showing all associated contacts The issue I have is when it comes to creating a job. The job table...
Back
Top Bottom