>
I was looking for the syntax to bring up outlook express by starting a new message and have the body filled with the contents of current any given dbf.>
>This should help get you started:
>
>
>#DEFINE SW_SHOWNORMAL 1
>#DEFINE SW_SHOWMINIMIZED 2
>#DEFINE SW_SHOWMAXIMIZED 3
>lcFileName = "mailto:anita@drink.com?Subject=yada yada&Body=this is a test"
>DECLARE INTEGER ShellExecute IN shell32 ;
> INTEGER lnhwnd, STRING lcOperation, ;
> STRING lcFile, STRING lcParameters, ;
> STRING lcDirectory, INTEGER lnShowCmd
>lnRes = ShellExecute( 0, "open", lcFileName, "", "", SW_SHOWMAXIMIZED )
>
Actually I figured it out, I just did a pre-append as you see here
lcFileName="mailto:
timbowen1@drink.com?Subject=" +title+"&Body="+contents
the only problem that contents is a memo field and anytime there is an ampersand, it deciphers it as a special char and so the rest of the memo field gets truncated. oh well.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."