AgTalk Home
AgTalk Home
Search Forums | Classifieds (4) | Skins | Language
You are logged in as a guest. ( logon | register )

A < B, Any programers can explain?
View previous thread :: View next thread
   Forums List -> Computer TalkMessage format
 
Omar
Posted 2/5/2020 07:12 (#8022401 - in reply to #7992646)
Subject: RE: A < B, Any programers can explain?


Elmira, Ontario

MiradaAcres - 1/22/2020 15:45 Perhaps you started at check 0001 and wanted the leading zeros which would not work with a number field

For some reason, I looked at this post again. Sorry about the late reply.

The way you would normally handle that scenario is to store the number as a number, then put a mask on it when displaying or printing it. So a 1 can be stored as a 1, but can easily be printed/displayed as 0001. The rule of thumb is you apply formatting at the time you want a user to look at it.

This is assuming there wasn't a reason to have non-numeric characters in the cheque number sequence.

Top of the page Bottom of the page


Jump to forum :
Search this forum
Printer friendly version
E-mail a link to this thread

(Delete cookies)