Hi all
Heres a simple one for you. I am setting a fields 'DisplayFormat'
property to ###,##0.00 which works great. However I would like to
reverse the sing (i.e. display negative values without a sign and
display positive fields as negatives. Is this possible?
There are losts of fields
Maybe,
The display format has 3 sections +ve, -ve and zero,
So something like
-#0.0;#0.0;0.0;
May work.
Myles.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Robert martin
Sent: Monday, 6 August 2007 02:12
To: NZ Borland Developers Group - Delphi List
Try the OnGetText event to format the value any way you want.
The fields that are common can share the same event handler.
Steve
-Original Message-
From: Robert martin [mailto:[EMAIL PROTECTED]
Sent: Monday, 6 August 2007 2:12 p.m.
To: NZ Borland Developers Group - Delphi List
That works perfectly :)
Thanks Myles
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Myles Penlington wrote:
Maybe,
The display format has 3 sections +ve, -ve and zero,
So something like
-#0.0;#0.0;0.0;
May work.
Myles.
Does anyone know how to determine if a bank account number is correct? I
assume it has a checksum or hash in it somewhere. But I know not where.
Regards
Sean Cross
IT Systems Development Manager
Catalyst Risk Management
PO Box 230
50 Dalton St
Napier 4140
DDI: 06-8340362
mobile: 021 270 3466
Contact your local bank, they can supply you with an algorythm that
you can use to check if a number is correct.
Steve
--
Steve Peacocke
http://stevepeacocke.blogspot.com/
On 06/08/07, Sean Cross [EMAIL PROTECTED] wrote:
Does anyone know how to determine if a bank account number is correct? I