mercredi 6 octobre 2010

How to use TextBuffer in X++

We have for example a year as variable

PayrollPaySlipYear                       year0;

We are going to set a value to this variable.
We use this code :

PayrollPaySlipYear                       year0;
Str                                               date1;
year0 = new textbuffer();
date1="2010";
year0.setText(date1);

Aucun commentaire:

Enregistrer un commentaire