Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building the subject programmatically
Message
From
24/01/2006 11:43:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01089760
Message ID:
01089795
Views:
11
>I am creating a small mailer program in which I need to populate to memory variable lcsubject and lcbody. In the subject field I want to insert some information from a table. Therefore I have a function which can look up any table for the key and give the value in the field.
>
>Therefore stored in the table email.subject is the following:
>
>A new style has been created for mainkey: FieldLookup("mainkey","moc031",)
>
>When I run my program I want to execute the FieldLookup program. The program works fine stand alone.
>
>Can anybody show me how I can execute this program when running my form on this email?
>
>Thanks

Store something like this in email.subject:
A new style has been created for mainkey: <<FieldLookup("mainkey","moc031",)>>
lcSubject = textmerge(email.subject)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform