nevermind!  I was making a simple mistake.  It works perfectly!  Thanks man

On 9/20/05, Ryan Guill <[EMAIL PROTECTED]> wrote:
> darn, no dice.  I get a db exception:
> 
>  Error Executing Database Query.
> [DataDirect][SequeLink JDBC Driver]Syntax error at token 0, line 0 offset 0.
> 
> On 9/20/05, Ryan Guill <[EMAIL PROTECTED]> wrote:
> > ahh, cfinclude, didnt see you say that.  Ill try it.
> >
> > Thanks!
> >
> > On 9/20/05, Ian Skinner <[EMAIL PROTECTED]> wrote:
> > > Ill try this, and had considered it, but when pulling it in with cffile, 
> > > its going to come as a variable as text, wouldn't it work out the same 
> > > way, passing the text as sql to the database?
> > >
> > >
> > > Yes, that is why you need to include it.
> > >
> > > <cffile action="write" file="path/file.cfm" ...>
> > >
> > > .... Some other code possibly...
> > >
> > >
> > > <cfinclude template="path/file.cfm">
> > >
> > >
> > >
> > > Because of the limitations of cfinclude, you will need to write the file 
> > > to a location that can be seen with a relative path by the calling file, 
> > > aka the file that is writing and reading the file.  Or write it to a 
> > > location that has a coldfusion mapping set in the administrator.
> > >
> > > One other issue that I thought might be a problem is that if the 
> > > <cfinclude> is too close the <cffile action="write"...> that it might try 
> > > reading the file before the OS is done writing it.  Not sure how that 
> > > works.  But a delay or creative locking should mitigate this issue.
> > >
> > >
> > > --------------
> > > Ian Skinner
> > > Web Programmer
> > > BloodSource
> > > www.BloodSource.org
> > > Sacramento, CA
> > >
> > > "C code. C code run. Run code run. Please!"
> > > - Cynthia Dunning
> > >
> > > Confidentiality Notice:  This message including any
> > > attachments is for the sole use of the intended
> > > recipient(s) and may contain confidential and privileged
> > > information. Any unauthorized review, use, disclosure or
> > > distribution is prohibited. If you are not the
> > > intended recipient, please contact the sender and
> > > delete any copies of this message.
> > >
> > >
> > >
> > >
> > > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218748
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to