Hi, when I define the OLECONTROL I prepare the DTP properties to accept the data using the CONTROL SOURCE of the DTP. I will explain the code sequence:
1. Define public variable(m.datebeg) and it receive the date of the day.
2. Define the OLE Control(DTP)
3. Assign the var. m.datebeg to the Control Source of the DTP.
4. When I display the DTP and select new date, the variable m.datebeg remain the old date(Assigned on step 1).
My Question is how can I get the new value of the DTP if it was changed(always I get the value assigned to the var. m.datebeg).
Somebody Knows the error or problem?
Thanks in advance,
Marlon
1. Define public variable(m.datebeg) and it receive the date of the day.
2. Define the OLE Control(DTP)
3. Assign the var. m.datebeg to the Control Source of the DTP.
4. When I display the DTP and select new date, the variable m.datebeg remain the old date(Assigned on step 1).
My Question is how can I get the new value of the DTP if it was changed(always I get the value assigned to the var. m.datebeg).
Somebody Knows the error or problem?
Thanks in advance,
Marlon