Whenever we try to print our A4 size receipt for a purchase that used a gift card, we get the following error:
It only happens with purchases that were made with a gift card in whole or in part.
*This post is locked for comments
Edward,
This is because the length of the source field is less than the actual value, try to debug and you will know what is the field, you can either increase the field length or use COPYSTR function to fit the max length of the source string.
Eg.
"Source Field" := COPYSTR("Actual Value",1,MAXSTRLEN("Source Field"));
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156