first i create formula field in crystal report  then

write code for assign dataset to the crysta report
crypt.datadefination.

FormulaFields(

"refno").Text = "{rpt_pur.refno}     '(dataset.table(rpt_pur)

result is ok
but i want format the field beacuse fields in crystal report change their format accordingly to dataset fornat.i want to avoid this
how