Results 1 to 3 of 3
  1. #1
    Abdul is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2017
    Posts
    2

    Validation in Form in One filed (Name - Processed / Checked Before Due Date )

    Hello ,

    I am a new User and in Access World , I have these Formula in excel =IF(AK4="No","-",IF(AND(T4="Yes",L4>=V4),"Yes",IF(AND(T4="No",L4> =S4),"Yes","No") and I want these validation in form in text box [Processed / Checked Before Due Date ]


    Coloumns
    AK = ProcessorandCheckersameperson, T = CheckingRequired, L = DueDate, V = CheckingDate , S = ProcessingDate



    I created these =IIf(([ProcessorandCheckersameperson]="No")And ([CheckingRequired]="Yes",[DueDate]>=[CheckingDate],"Yes")And([CheckingRequired]="No",[DueDate]>=[ProcessingDate]),"NotChecked","Checked")

    But I guess I am wrong some where , my project is due tomorrow

    Thank you all in advance to helping me in solving these

    Awaiting for the reply



  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Are these all text type fields?

    This is what it looks like to me:

    =IIf([ProcessorandCheckersameperson]="No", "-", IIf([CheckingRequired]="Yes" AND [DueDate] >= [CheckingDate], "Yes", IIf([CheckingRequired]="No" AND [DueDate]>=[ProcessingDate], "NotChecked", "Checked")))
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Abdul is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2017
    Posts
    2
    Quote Originally Posted by June7 View Post
    Are these all text type fields?

    This is what it looks like to me:

    =IIf([ProcessorandCheckersameperson]="No", "-", IIf([CheckingRequired]="Yes" AND [DueDate] >= [CheckingDate], "Yes", IIf([CheckingRequired]="No" AND [DueDate]>=[ProcessingDate], "NotChecked", "Checked")))
    Thank you for your reply

    Click image for larger version. 

Name:	Form image.jpg 
Views:	10 
Size:	152.4 KB 
ID:	30680
    highlighted in blue in form

    attached is form screen shot

    The validation is such that
    ProcessorandCheckersameperson filed has a formula
    CheckingRequired has Combo box Yes/NO in form

    rest all are text box

    If [ProcessorandCheckersameperson] is "No" "-" and IF [CheckingRequired] is yes then [DueDate]>=[CheckingDate]) "Yes" And IFCheckingRequired]="No" And[DueDate]>=[ProcessingDate]),"Yes","No")

    I tried these not working
    =IIf([ProcessorandCheckersameperson]="No", "-", IIf([CheckingRequired]="Yes" AND [DueDate] >= [CheckingDate], "Yes", IIf([CheckingRequired]="No" AND [DueDate]>=[ProcessingDate], "NotChecked", "Checked")))

    Thanks for your time

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

Similar Threads

  1. Replies: 7
    Last Post: 03-17-2016, 10:42 AM
  2. MS Access password filed validation
    By mithu 1992 in forum Access
    Replies: 1
    Last Post: 09-24-2013, 08:21 AM
  3. Checked Box + Date = Checked box
    By ItsATJ in forum Access
    Replies: 12
    Last Post: 09-03-2013, 10:25 AM
  4. Replies: 7
    Last Post: 07-16-2013, 10:19 AM
  5. Replies: 1
    Last Post: 02-15-2013, 08:44 AM

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