Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Not IsDefined

Posted on 2006-03-30
4
Medium Priority
?
1,209 Views
Last Modified: 2013-12-24
Element THEROWID is undefined in URL.  
 
The error occurred in \UpdateFormNavigate.cfm: line 67
 
65 : <cfset session.FormID = GetNextForms.FormID>
66 :
67 : <cfif IsDefined(#URL.TheRowID#)>
68 : <cfset session.TheRowID = URL.TheRowID>
69 : <cfelse>

How do you correct this?

I want:

<cfif IsDefined(#URL.TheRowID#)>
<cfset session.TheRowID = URL.TheRowID>
<cfelse>
<cfset session.TheRowID = 1>
</cfif>

0
Comment
Question by:JohnLucania
  • 3
4 Comments
 
LVL 18

Expert Comment

by:Plucka
ID: 16338987
JohnLucania,

<cfif isDefine("url.TheRowId")>
    <cfset session.TheRowId = url.TheRowId />
<cfelse>
    <cfset session.TheRowId = 1 />
</cfif>

Regards
Plucka
0
 
LVL 18

Expert Comment

by:Plucka
ID: 16338993
JohnLucania,

OOps, missed a d

<cfif isDefined("url.TheRowId")>
    <cfset session.TheRowId = url.TheRowId />
<cfelse>
    <cfset session.TheRowId = 1 />
</cfif>

Regards
Plucka
0
 
LVL 18

Accepted Solution

by:
Plucka earned 2000 total points
ID: 16338995
JohnLucania,

You could also do this

<cfparam name="url.TheRowId" default="1" />
<cfset session.TheRowId = url.TheRowId />


Regards
Plucka
0
 

Author Comment

by:JohnLucania
ID: 16339016
great!
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question