default_value
Everybody who once spent 5 minutes debugging drupal forms will spot the difference..
$form['currency'] = array( '#type' => 'textfield', '#title' => t('currency'), '#size' => 60, '#maxlength' => 255, '#default_value' => $dateset->currency, '#description' =>t('currency') );
Looks an awfull lot like
$form['currency'] = array( '#type' => 'textfield', '#title' => t('currency'), '#size' => 60, '#maxlength' => 255, '#value' => $dateset->currency, '#description' =>t('currency') );
Only the second one isn't much use in a form :)
Comments
#1 Kris Buytaert : Testing
Well.. if you think there is something wrong with your option list, you change it into a textfield.
And because you are lazy you obviously take the one closest to the one you are replacing to cut and past from.
So no I don't have a 60 digit currency field :)
#2 Dries : A currency field with 60
A currency field with 60 digits (and a max. value of 255 digits) -- so what exactly are you building? You must be onto something. ;)