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

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.
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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,516)