Results 1 to 2 of 2
  1. #1
    Grooz13 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    97

    Validating mutiple entry in a subform

    Ok I have a subform who contains multiple order and the user needs to push a button after entering those order to validate that the order is finished and ready to go in production... however I want them to put a delivery date absolutly.... They can enter the order for now and do other jobs and come back to this one once they know when they will received it so allowing null = No is not a solution for this problem... I did
    If Me.Sf_Order!Reception_Date = Null



    but it will only validate the first one of the Subform Datasheet...

    Anyone have an idea ?

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    Since you allow them to leave that field empty; but then want to enforce that it is complete - - - your first decision is as to which event(s) the user is in when you want to harass them with reminders or freeze them totally.

    The second decision is the best method to do that. That sort of depends. A few ideas; you easily can make a query to find all records with null in that field. Do a DCount of that; if yes (actually if count >0 )- pop them up in a new form with those records. Or just message to them that they have uncompleted records.

    DCount is something you want to become acquainted with; look it up when in VB help, and if you have a VBA text book it will have it. Very helpful when needing to identity if records exist. As an advanced beginner you will be able to experiment with it and make it work.

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

Similar Threads

  1. auto populate mutiple fields
    By jomoan58 in forum Access
    Replies: 1
    Last Post: 07-23-2010, 01:03 PM
  2. Searching mutiple tables
    By mbolster in forum Access
    Replies: 8
    Last Post: 07-06-2010, 10:16 AM
  3. Validating data entry in a form
    By bdhFS in forum Programming
    Replies: 1
    Last Post: 05-18-2010, 03:09 PM
  4. Entry into subform
    By lynchoftawa in forum Forms
    Replies: 1
    Last Post: 06-17-2009, 09:28 AM
  5. Subform Data Entry Issue
    By yuriyl in forum Forms
    Replies: 3
    Last Post: 05-14-2009, 08:49 PM

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