Re: need some input.



Anders,i have done that, and it fails above the line i posted. what i dont
understand, if i didnt touch it, and all field names have not changed why did
it fail.


"Anders Altberg" wrote:

> Try stepping through this block to see which line is offensif.
> -Anders
>
> "Tom" <Tom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:B50CEC75-5D48-487D-8D30-583CF8E13494@xxxxxxxxxxxxxxxx
> > with oEmail
> > .Subject = "Lagers "+Cmonth(edate-1)+" Wages"
> > .Recipients.Add(nmail)
> > .body = dtoc(edate-1)+CHR(13)+CHR(13)&&+dbody
> > .Attachments.Add(nattach)
> > .save()
> > .send()
> > endwith
> > the above code throws a Data type mismatch and an error that says cant do
> > that Outside a with/endwith. i have not changed this prg at all. i only
> > changed another program that changes contact info in another place. i have
> > remarked out all and changed 3 to = .to = "an email" and it did nothing,
> the
> > code is sound, like i said it just decided not to work. i have stared at
> it
> > to long. time to let it out to the Gods.
>
>
.



Relevant Pages