Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you deal with double quote?
Message
From
05/12/2001 08:42:04
 
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00586726
Message ID:
00589747
Views:
43
>>>I still don't understand. If you're not using the ASP style tags there's no reason to use ExpandTemplate(). If there are ASP style tags in whatever document you use then you can apply the code I posted to any of the tags that need it. It won't be automatic, because formatting doesn't require this in most cases...
>>
>>For each template we have, such as .HTML file which are for data entry forms, I always use ExpandTemplate(). Is there any other way to do it? All those forms contain variables that need to be replaced at run time from the values coming in from the tables. If I don't call ExpandTemplate(), what will handle it?
>
>What I'm saying is if you have templates and they have ASP style tags in there, then you have an easy spot to apply the FixHTMLForDisplay() function call on your ASP tags.
>
>I don't understand what you mean when you say you don't have a hook to put the call to that function (and/or DisplayMemo() for that matter)... your template pages are the place to put it... If there are no expansion tags, then use FILETOSTR() and Response.Write().

FILETOSTR() and Response.Write() will only put the text as is without replacing my HTML form values. So, this is why I have to call Response.ExpandTemplate() in order to get them. I don't understand how I can obtain those values without calling Response.ExpandTemplate().
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform