Results 1 to 2 of 2
  1. #1
    yrstruly is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2024
    Posts
    122

    You must enter a value

    Please see my data model and my join below. I created a tblTreatmentHistory and Form, form links from frmQuarantine Information with a button. When i click save i get the above error. Please assist?


    Files/Documents:
    https://docs.google.com/document/d/1...f=true&sd=true

    https://docs.google.com/document/d/1...f=true&sd=true

    https://drive.google.com/file/d/1I5F...usp=drive_link

    Code to link to History table

    Code:
    SELECT * FROM tblTreatmentHistory;SELECT tblQuarantineInfo.QuarantineID, tblQuarantineInfo.PlantID, tblQuarantineInfo.Condition_on_import, tblQuarantineInfo.Mites_on_import, tblQuarantineInfo.Fumigation_on_import, tblQuarantineInfo.Hot_water_treatment_on_import, tblQuarantineInfo.Nr_units_established, tblQuarantineInfo.Estimated_date_of_release, tblQuarantineInfo.Action_plans, tblQuarantineInfo.Tissue_culture_Laboratory_name, tblQuarantineInfo.Tissue_culture_No_of_plants_to_be_multiplied, tblQuarantineInfo.Date_of_destruction_in_quarantine, Plants.Cultivar AS [Variety Denomination], Plants.Clone, tblQuarantineInfo.QualityStatus, tblPlantInspection.InspectionID, tblPlantInspection.InspectionDate, tblPlantInspection.DiseaseStatus, tblPlantInspection.PestPresence, tblPlantInspection.NutrientDeficiency, tblPlantInspection.PhotoPath, tblPlantInspection.ReportPath, tblPlantInspection.Comments, tblPlantInspection.PlantID AS PlantID_tblPlantInspection
    FROM (tblQuarantineInfo INNER JOIN Plants ON tblQuarantineInfo.PlantID = Plants.PlantID) LEFT JOIN tblPlantInspection ON tblQuarantineInfo.PlantID = tblPlantInspection.PlantID;
    Joining three tables code.

    Code:
    SELECT tblQuarantineInfo.QuarantineID, tblQuarantineInfo.PlantID, tblQuarantineInfo.Condition_on_import, tblQuarantineInfo.Mites_on_import, tblQuarantineInfo.Fumigation_on_import, tblQuarantineInfo.Hot_water_treatment_on_import, tblQuarantineInfo.Nr_units_established, tblQuarantineInfo.Estimated_date_of_release, tblQuarantineInfo.Action_plans, tblQuarantineInfo.Tissue_culture_Laboratory_name, tblQuarantineInfo.Tissue_culture_No_of_plants_to_be_multiplied, tblQuarantineInfo.Date_of_destruction_in_quarantine, Plants.Cultivar AS [Variety Denomination], Plants.Clone, tblQuarantineInfo.QualityStatus, tblPlantInspection.InspectionID, tblPlantInspection.InspectionDate, tblPlantInspection.DiseaseStatus, tblPlantInspection.PestPresence, tblPlantInspection.NutrientDeficiency, tblPlantInspection.PhotoPath, tblPlantInspection.ReportPath, tblPlantInspection.Comments, tblPlantInspection.PlantID AS PlantID_tblPlantInspectionFROM (tblQuarantineInfo INNER JOIN Plants ON tblQuarantineInfo.PlantID = Plants.PlantID) LEFT JOIN tblPlantInspection ON tblQuarantineInfo.PlantID = tblPlantInspection.PlantID;

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    in the table, do you have the field property set
    REQUIRED = TRUE
    or
    VALIDATION RULE
    or
    ALLOW ZERO LENGTH = false

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 11-16-2015, 07:58 AM
  2. Replies: 3
    Last Post: 07-08-2015, 02:33 PM
  3. Replies: 1
    Last Post: 03-27-2014, 11:01 AM
  4. Replies: 8
    Last Post: 09-19-2013, 11:19 AM
  5. Replies: 1
    Last Post: 12-07-2012, 02:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums