Question : mail in outbox till another folder is clicked

why does outgoing mail sit in outbox and waits till i click on another folder before it sends it? Is it only a GUI refresh issue or truly need another click/activity for it to be going?

thanks

Answer : mail in outbox till another folder is clicked

Remove @AsOfMonth and @AsOfYear from the outer function's definition and use:

Year(GetDate()) or DatePart(Year, GetDate())
Month(GetDate()) or DatePart(Month, GetDate())

You can convert this to VARCHAR as needed, but would actually expect month and year values to be passed around as INT.

Random Solutions  
 
programming4us programming4us