It looks like you're new here. Sign in or register to get started.
26 to 0026(integer)
gulamdastagir wrote: i tried the first solution but doesnt work for me ,"No." and "Store Number" are both datatype code. Customer."No.":='3200-'+FORMAT(Customer."Store Number",0,'<Integer,4><Filler Character,0>'); error is " an invalid field or attribute has been specfied for the 'format' property
Answers
2. First Letter Capital.
Dynamics NAV Enthusiast
Customer."No.":='3200-'+FORMAT(Customer."Store Number",0,'<Integer,4><Filler Character,0>');
error is " an invalid field or attribute has been specfied for the 'format' property
GD
are yiou trying to add leading Zeros to make it 4 digits?
Not sure what the final result should be here???
Are you thinking about converting a code to text, formatting it and then converting back to code??
http://www.BiloBeauty.com
http://www.autismspeaks.org
EVALUATE(intSN,Customer."Store Number")
Customer."No.":='3200-'+FORMAT(intSN,0,'<Integer,4><Filler Character,0>');
yippy!
GD