Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Code to a database field and executing it when it

Status
Not open for further replies.

jazzz

Technical User
Joined
Feb 17, 2000
Messages
433
Location
US
loads into the page.

Hello and thanks in advance for any help with my question. Here is what I would like to do if possible. I have an asp page that obtains its value from a memo database field. I would like to add a sub to the memo field and have it execute when the value is loaded into the page but it doesn't.

If I add the call to the sub in another section of the page it executes without a problem but in the database value it doesn't do anything. It doesn't write the code to the page nor does it execute. Am I attempting to do something that just won't work or not. The code I am using in my value field is <% Call MySub() %>

Life's a journey enjoy the ride...

jazzz
 
Am I attempting to do something that just won't work
Yes

The asp code has finished running by the time you retrieve the database text.





Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top