I need to find a way to change the mask on a qrdbtext field while generating a report. Basically what I have is a purchase order, and if the price of an item is less than a dollar, I need to display 4 decimal places, otherwise I need 2 decimal places.
I have tried modifying the mask in the dbtext's onprint event, but if it changes the mask, then the report just stops printing on that line, without displaying a price.
Any ideas on how I can accomplish this would be appreciated.
I have tried modifying the mask in the dbtext's onprint event, but if it changes the mask, then the report just stops printing on that line, without displaying a price.
Any ideas on how I can accomplish this would be appreciated.