on 02-18-2009 5:00 AM
I have a database field that needs to have 7000 added to it so for instance the database field might contain the value 0234 I want this to be turned into 7234. Does anyone know how to achive this?
Hi,
Create a Formula
WhilePrintingRecords;
numberVar add;
add:={databasefield}+7000;
add;
if datbase fld is not a number thn convet it to number by function tonumber(database fld)
Regards,
Harry.
Edited by: Harry Hilton on Feb 18, 2009 7:50 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
Just add 7000 to field this will give you the added value like
+7000
Thanks,
Sastry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alexander,
If your database field is a fixed length of 4 digits, you can create a simple formula as such:
"7"+right({4digit.field},3)
This will change the first character of each field to 7.
I hope this helps.
Regards,
Zack H.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.