IIF Function - Immediate IF in Microsoft Access - If/Then in a Single Function - Conditional

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 37

  • @stephenbeswick2163
    @stephenbeswick2163 2 года назад +1

    Great video keep doing them I have managed to creat a complete service database which works well and my customer is very pleased with it many thanks steve

    • @599CD
      @599CD  2 года назад

      Great to hear!

  • @manishkashikar9154
    @manishkashikar9154 Год назад +1

    Every video is informative Thanks Mr. Richard

  • @ZahidKhan-mb6oc
    @ZahidKhan-mb6oc 3 года назад +1

    Simple but very useful tip about IIF. Thanks a lot ...

    • @599CD
      @599CD  3 года назад

      Always welcome

  • @user-wq7ei1kg9o
    @user-wq7ei1kg9o 2 года назад

    I need to calculate the fine for the delay.. that is, calculate the difference between two dates. The fine is calculated if the delay is seven days.. Thank you for your excellent explanation.

    • @599CD
      @599CD  2 года назад

      599cd.com/DateDiff

  • @victoriahello7140
    @victoriahello7140 Год назад

    wow this is great! Also I like how you pronounced "IIF" that one time in this video that was funny lol.

    • @599CD
      @599CD  Год назад

      I am to entertain. :)

  • @ramazanzuberi7956
    @ramazanzuberi7956 2 года назад

    This video solved my problem, thank you!! Thumbs up and subscribed.

    • @599CD
      @599CD  2 года назад

      Welcome

  • @MrBWicked
    @MrBWicked 2 года назад

    Great thanks, video really helps my students and saved me time to get a life :)

    • @599CD
      @599CD  2 года назад

      Haha. Welcome.

  • @user-xw1ly3ji6m
    @user-xw1ly3ji6m Год назад

    Hi RIchard. Your videos for Access have been amazing and very helpful. I love the way you explain it on my level for me to understand it. I am working on a continuous form that I am having trouble with the figuring out the formula I need for the "SumExtPrice" that is in my form footer. I need to figure out how to incorporate 4 IIF statements or the SWITCH for this box. I am hoping you can help me with it. I have been trying for the past 2 weeks and can't get it. I am not sure if I should create another "Totals" in the form footer to add the IIF statements or If I can do it right in the "SumExtPrice" box. What I need it to do is if the "SumExtPrice" is =$300 and is =$1000 and is =$5000 then it needs to multiply it by 1.08. I seen you examples that you had shown "Grade =90, "A". I am assuming and have tried to put the multiply in the quotes for my end result, but it hasn't worked. I am getting stuck on the 2 iff statements that have the less/egal and greater than in one IIF statement. Can you please help me with this formula and to understand how do I get this result. I really appreciate you sharing your knowledge in all of these videos. Thank you for your help!

  • @salehahmedbcom
    @salehahmedbcom 3 года назад

    All video is very useful for me Thank you very much

    • @599CD
      @599CD  3 года назад

      You're welcome.

  • @taminvatadarokfaraham5631
    @taminvatadarokfaraham5631 2 года назад

    Very good, Thanks a lot

    • @599CD
      @599CD  2 года назад

      Most welcome

  • @Pro-Tips-Tricks
    @Pro-Tips-Tricks 11 месяцев назад

    what if i need 3 or 4 results in applying iif function in design view(Example good="ok", very good="excelent",bad="try again",very bad="error"

  • @tutsecret499
    @tutsecret499 5 месяцев назад

    What if I want this way: on unbound control in the form to get totals if one column matches condition: =Count(iif([Priority]="1" and (FullyEvaluated]=-1),0)). If does not exist Priority 1, then show 0 total. I want to see the Fully Evaluated totals only for people that is Priority 1. Or sometimes I want to see the Fully Evaluated totals for only the Priority="2". I am struggling to write the formula, should I put "and" or comma and "and". Anybody knows here.

  • @MrAimalsultani
    @MrAimalsultani 3 года назад

    Well Done Sir,

    • @599CD
      @599CD  3 года назад

      Thanks

  • @RumiAnalytics2024
    @RumiAnalytics2024 2 года назад

    hi sir, I hope everything is fine at your end.
    Dear Sir, I have developed a data entry form, but I have just one issue.
    I have 756 data with different units, so I want to show them with the products using the if and else statement.
    example: if([ items]="Nokia", "phone") like this. but the data is too much and cannot be entered in the data attribute. what do I have to do now?

    • @599CD
      @599CD  2 года назад

      599cd.com/DLookup

  • @RamachandranS20
    @RamachandranS20 Год назад

    Can we have a query as the true or false condition? Eg: IIF (condition, Query 1, Query 2)?
    I have a condition where if the login id is not admin, execute a query without some values, else if it is an admin, show more values of that query.

    • @599CD
      @599CD  Год назад

      599cd.com/qq

  • @hershqadirkalary731
    @hershqadirkalary731 3 года назад

    Thanks

    • @599CD
      @599CD  3 года назад

      Welcome

  • @goldenmorning4436
    @goldenmorning4436 3 года назад

    Sir, Please Create Video Tutorial "Hotel Management System with Hotel Room Status".

    • @599CD
      @599CD  3 года назад

      Oh is that all? Just a complete hotel management system? LOL. I build a reservation system which can be used for hotel room bookings in this lesson: 599cd.com/ACD24

  • @ubestgallery7635
    @ubestgallery7635 2 года назад

    im new in access, how can you make a query that requires an expression. Lets say i have a field called "type" the value of this field is only 2 choices, 1 is the red, and the other one is blue, if i select red, then the two field computed by addition then put the result in "result" field.. but if i select blue the two field computed by subtraction the put the result in "result" field.

    • @599CD
      @599CD  2 года назад

      Use the IIF function that this video explains. :)

  • @MrAimalsultani
    @MrAimalsultani 3 года назад +1

    Please, sir, Create one Video about My Question. that how to track User Activities / Logs inside the database. if 2 or 3 Users working in the database we must know each user activities that who insert/delete/or update the database like ( recode no-2 insert/update by Mike on 22/01/2021 ) or ( recode no-10 deleted by Bob on 22/01/2021 ) Thanks in Advanced

    • @599CD
      @599CD  3 года назад +1

      See: 599cd.com/1108 and 599cd.com/TrackChanges

  • @JP-dt4we
    @JP-dt4we 3 года назад

    aayyy man thanks a million

    • @599CD
      @599CD  3 года назад

      You're welcome. Here's $0.02 change. :)