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

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,053)