If all the code is running inside a function then your buggered. You
need CFMX to do that.
If it's feasable, you could encapulate the function in a custom tag so
control is passed from the tag to the function for certain tasks, then
back to the tag for database work.



-----Original Message-----
From: Paul Johnston [mailto:[EMAIL PROTECTED] 
Sent: 03 December 2003 11:38
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] CF5 and functions/script


I have created a system where it would be really useful right now to be
able to add in data to a database from within a function (please note
it's CF5).

Q: Is there a way I can add in data to a database without coming out of
a function/script?

I suspect (since I have been doing CF5 for a long time and I'm sure I've
even said on occasion it's not possible) that it's not possible, but
there may be some bright spark on this list who's managed it.

Paul

PS If anyone says anything that isn't a CF5 solution you'll be ignored
;)
-----------------------------------
Paul Johnston
PJ Net Solutions Ltd
http://www.pjnetsolutions.com
[EMAIL PROTECTED]
+44 (0)7866 573013



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to