Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webconnect and Templates
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00475133
Message ID:
00475242
Views:
45
Hi Andrew

I put my UDF after the endDefine in my process class and everything works fine. However, I still do not know why putting it as a method in the process class did not work.

Thanks
Simon




>Hi Simon,
>
>If you've got it in as a method of the process class, then you'll need to use the syntax process.MyMethod(). Another option is to put the UDFs after the ENDDEFINE in the process class file and then they'll be available in the calling chain simply using the MyMethod() syntax.
>
>Cheers,
>
>Andrew
>
>>Hi
>>
>>I am using web connect to create a web page using a template. However, I am unsure as to where to put my UDF code that should be executed in template page. The UDF is used to populate a listbox with values from a table. I was planning to return the HTML code for the options in the list box. The web page displays but the UDF's are not executed. Presently I have the UDF in the process class. I used the "expandtemplate" method to generate the web page. When I view the source of the generated web page it has "Error: " where I had embedded my UDF's.
>>
>>Thanks
>>Simon White
Simon White
dCipher Computing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform