Clockin barcode

I am trying to create a barcode for employee badges to clock in with a
single barcode. The problem I am having is it is stopping after the
Shift on the Shift entry screen. Does anyone have a formula that is
working for clock in, I have tried several formulas with using
combination of $M (enter), $I (tab) and %DO (Alt O) and they always stop
at the shift entry screen. Here is the latest one I've tried.



stringVar shift := totext({EmpBasic.Shift});

"*%DS%E"+{EmpBasic.EmpID}+"$M$M0"+shift+"$M$M*"



I would be grateful for any help.



Thanks,



Rich



[Non-text portions of this message have been removed]