DateEdit Contol

Hi,

I have 2 dateedit controls on the form. I have to initialize the second control with the calculation based on the the value of the first control and an integer value. How do i get the value of the first contorl in the code and then display it in the second field.

thanks

Hello,

Try using the ‘dateValue’ property to get the value of the first control

Hope this helps,

override method modified on 1control

ex:

dateedit = 1st control and

dateedit1 = 2nd control then

public boolean modified()
{
boolean ret;

ret = super();
dateedit1.dateValue(dateedit.dateValue());
return ret;
}

Hei Harish

Hope you are doin good. Thanks for ur help.

Cytech,

Thanks for help. It did work and i really appreciate You taking time out and explanning.

thanks again.

Hi cytch,

I have this another problem if you could help me with. I have to display an extra field at the end of aging line in CUSTAGING REPORT. I have tried in the report but it gets displayed at the centre of the report. I have checked the class CUSTVENDBALANCELIST also but i am not sure where to add this field so it comes at the end . Your help is really appreciated.

Thanks

Hi Harish,

I have this another problem if you could help me with. I have to display an extra field at the end of aging line in CUSTAGING REPORT. I have tried in the report but it gets displayed at the centre of the report. I have checked the class CUSTVENDBALANCELIST also but i am not sure where to add this field so it comes at the end . Your help is really appreciated.

Thanks