Hi

We are using CFMX 6.1 (an upgrade from 6) and the following code:

<cfif isdefined("form.test")>
<CFQUERY NAME="q_insert" DATASOURCE="#Request.datasource#">
insert into table1 (thetest) values ('#form.thetest#')
</CFQUERY>
</cfif>

<CFQUERY NAME="q_get_all" DATASOURCE="#Request.datasource#">
select thetest from table1
</CFQUERY>

<form name="d" action="" method="post">
<textarea name="thetest" rows="20" cols="50"></textarea>
<br>
<input type="Submit">
</form>

Produces the following error:

"The system has attempted to use an undefined value, which usually
indicates a programming error, either in your code or some system code.

Null Pointers are another name for undefined values.
Produces the following error."

I have trawled through numerous archives and found numerous references
to this prior to 6.1 but none of them seem to be exactly the same as
this.

Any pointers (excuse the pun) appreciated

Thanks

Kola Oyedeji
Certified Advanced Coldfusion Developer,
ICLP London
DDI: +44 (0) 208 256 9034 (Ex.2204)

www.iclployalty.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to