Hello All,
How can i empty a specific value in a multivalue field with empty string not 0 values
I have two fields with multivalues.
field
Name: PName----Name: PRates
product1------------60
product2------------0
product3------------50
product4------------0
product5------------40
product6------------0
I want to remove product2 and the corresponding rate 0 only.
If I use this formula, its working fine for product but not for Rates
Prn = doc.PName
Prn(2) = “”
doc.PName= FullTrim(prn)
prra = doc.PRate
prra (2) = “”
doc.PRate= FullTrim(prra)
the outcome is coming like this which is wrong
product1----------60
product3----------50
product4----------40
product5----------
product6----------
I know using fulltrim will remove 0 also.
How can i get the proper values by removing only empty values not 0?
Can someone please let me know.
Thanks
sri