Well I guess Alex will be sorting it out then. We have saying: "Too many cooks spoil the soup", so I'll leave you two to it. However, you DO HAVE a table called EMPLOYEE as that is the name of the cursor that you SELECTed your data into.
>hi,
>thank so much, i want to explain what i need to do exactly,
>and i sent my code to Mr.Alex this code make all this things,it works,
>but i write much code to do that .
>
>WAHT I WANT TO DO
>*********************
>i dont have any table name is emplyee,
>i have mstr with many fields one of them is NO as employee number or customer number and a nother field DAT as the date when he start working in the company,
>mytable tax1 have the same NO, I need to get the date form mstr for every employee with fields from tax1,
>and print all employees ,evry one at one paper ,without stoping, stop at the end
>thanks again.
>
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.