Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best to way to allow users edit textmerge script
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01078706
Message ID:
01078717
Vues:
24
First think that comes to my mind is EditBox and ListBox. In EditBox let the user write His/Her own text, in List box you populate all avalable fields. When user DblClick on listbox field just insert the name with < < and > > in the EditBox at the position of EditBox.SelStart.


>Hi guys,
>
>We have a client who sents out email to their contractors when they processed the invoices. And they would like our app to generate email subjects like the example below:
>
>Your invoice #1234 has been proccesed on 12/16/2005
>
>
>Naturally, we would like to give the user the power to edit it to suit their needs (because we know what happens when we give a mouse a cooky), so we plan to store a script in a field of our system table, the field is called "gensubject" and the value would be like:
>
>Your invoice <<Invoice.number>> has been proccesed on <<date()>>
>
>
>How do I expose this script to the user for editing?
>What kind of interface would be appropriate?
>
>How do I let the user enter the script that's between <<>> without complaining about how complicated this is and without mistakes?
>
>Has anybody done this before?
>
>Any feedback and suggestions will be greatly appreciated!
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform