Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Powerapp Time Clock barcode in order

Hi, I have been working with a power app Time Clock that employees scan their ID on barcode.  I have put 4 barcodes in the main screen for clock in, clock out, lunch in, and lunch out.  I have been trying to use an IF statement so they have to clock in first and if they try to lunch in or lunch out before clock in then they get an error.  if they try to clock out before clock in they get an error.  I need help with the IF statement or a different way to make it so they can't lunch in before lunch out or clock out before clock in.


Thank you!

Super User
Super User


I would suggest that you take a look over my video on building a Time Tracker App.  In there you will see all the formulas you should need to pull this off.  The only difference is that you are choosing to use a bar code for this, in the app in the video, it is done with buttons.

I hope this is helpful for you.

Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (6,200)