Passing an identifier simple via a url using a hyperlink problem

I can't believe I just can't understand it, I'm passing an id via the variables from the url using a hyper link. He returned with an error in my linked page saying there is an error in the way that I used a function. I do not understand, this is a feature I use all the time. Here are my questions that are in the way and receive the id.

IndexPage:
< name cfquery = "useRec" datasource = "#APPLICATION.dataSource #" >
SELECT user. User.email fname AS ViewField1 AS ViewField6, the user. Lname AS ViewField3, user. Username AS ViewField4, user.password AS ViewField5, lastLogin, hits, user.ID AS ID
The USER
< / cfquery >

< cfoutput query = "useRec" >
< a href = "" page2.cfm? ID = #ID # "class ="nav"> view user folder < /a >"
< / cfoutput >

PAGE 2

< name cfparam = "ID" type = "integer" default = "#url.ID #" >
< name cfquery = "useRec" datasource = "#APPLICATION.dataSource #" >
SELECT user. User.email fname AS ViewField1 AS ViewField6, the user. Mname AS ViewField2, user. Lname AS ViewField3, user. Username AS ViewField4, user.password AS ViewField5, user.admin AS ViewField6 user.lastLogin AS lastLogin, user.hits LIKE visits, user.ID
The USER
< isDefined ("URL.ID") cfif >
WHERE ID = < cfqueryparam value = "" #URL.ID # "cfsqltype ="cf_sql_integer">"
< / cfif >
< / cfquery >

It's my mistake:
Run database query error. [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] The SELECT statement contains a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.
The error occurred on line 11.

It is throwing an error on my if statement. I tried a number of different options and still the same error.

Can you see what I might have missed?

Thank you.

most likely, your table - USER - name is a reserved word in your database.

try using it in square brackets: [user]

BTW, since you are selected in a single table, there is no need of
Prefixing each column name with the table name.

Azadi Saryev
SABAI - Dee.com
http://www.SABAI-Dee.com/

Tags: ColdFusion

Similar Questions

  • How pass an array into a php url using the flex http service?

    How pass an array into a php url using the flex http service?
    im making something like this:
    http://localhost/flex_php/example_return_xml.php?id= {mylist}
    -mylist? TABLE
    -If I try to use a text variable it works for example. {myvar.text} where myvar is a text input

    Any idea!

    How can I get using XML?
    I tried to push the table in a textinput & sent the text of entry in php, it worked!

  • How to access a document via a URL using docid?

    Hello

    I check the latest version of Oracle WebCenter content. When I create documents with their DOCID I need access to these documents by using the URL like this : http://application-tier server: port/some context/DOCID. Is this possible? When you check the URL that uses Oracle WebCenter content there is no constant URL basis.


    Kind regards

    Nestor Boscan

    Hi Nestor,.

    These are examples of URL:

    Document information (metadata) - http://localhost:16200/cs/idcplg? IdcService = DOC_INFO & dID = 804 & dDocName = DocID_000806

    To get the native file - http://localhost:16200/cs/idcplg? IdcService = GET_FILE & dID = 804 & dDocName = DocID_000806 & allowInterrupt = 1

    Please note you need to know is which is the ID of the revision of the document that you are trying to recover.

    HTH

    -Anand

  • Navigation after passing parameters to ADF via URL

    How you exit a page after passing parameters via a url as in the method in this link https://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl?

    I tried to drop this delimited task flow on adfc-config and adding a flow of control to another opinion, but I can't seem to access my opinion of this workflow call.

    In other words, I can call the workflow bounded through a url and pass it a parameter, but once it is posted I can't go to my other point of view.

    How can I do this?

    Thank you

    If you use a wildcard of navigation in the unlimited workflow as shown here https://tompeez.wordpress.com/2013/06/18/jdeveloper-navigation-after-return-from-bounded-task-flow/

    It should work.

    Timo

  • Through the Oracle BI Presentation Services filters go URL via a URL

    Hi expert,
    We ara uses a function called "filters to the Oracle BI Presentation Services go URL via a URL."
    However, we are facing a problem that how to pass the value "all" in the reports.
    For example:
    We have a command prompt that contains some values:
    All the
    China
    America
    ..... (lots of data)


    In Url go:
    When you click a value:
    Saw.dll? Go & Path = / Shared/Test/SB2 & Action = Browse & P0 = 1 & P1 = eq & P2 = Customers.Region & P3 = 1 + China (it's a correct result which display the data of China)

    When users click any value:
    Saw.dll? Go & Path = / Shared/Test/SB2 & Action = Browse & P0 = 1 & P1 = eq & P2 = Customers.Region & P3 = nqgtac 1 + "*) (*" (our result shows all the data, but does not show any results) ")"

    We know reports don't have all the data, so it displays no data.
    How to implement this requirement?
    Are you facing the same issue? I thank.

    OK, got it.
    In your case means "(tous les choix)" in the prompt of the ordinary. "

    In this case, try don't past not any value for columns in the url, it should be something like
    Saw.dll? Go&path=/shared/test/SB2&action=navigate&p0=1&P1=EQ&P2=customers.region
    In this case for P3 is going to be all the choices
    You must validate the values selected to submit the form.

    OR GOOD
    You can move % using one of these coasters that documented such conditions

    CANY contains one (values & P3).
    call contains all (values & P3).
    as you type % 25 instead of the usual % wildcard. See the following examples

    Published by: svee on August 6, 2012 16:59

  • Move the 2 values to 2 elements in the interactive report via a url

    Hello

    I have it here's the url to pass the 2 values to 2 elements in the interactive report via a url

    apex_util.prepare_url ('f? p = & APP_ID.:0 00 :'||: APP_SESSION |':000:P000_STATUS, P000_DATE :'|| ccodes.code, '1 year') in the form of url

    The second value is not passed in, P000_DATE the interactive report item.  "1 year" is the option in the selection list on . I also tried below and a combination of IREQ_, etc., but no worked


    apex_util.prepare_url ('f? p = & APP_ID.:0 00 :'||: APP_SESSION |':000:P000_STATUS, P000_DATE :'|| ccodes.code,'| 1 year "")


    Some advice on this one?

    Thank you

    Alexander

    The code doesn't seem right for me

    apex_util.prepare_url ('f? p = & APP_ID.: 0 00 :'||: APP_SESSION |':000:P000_STATUS, P000_DATE :'|| ccodes.code, '1 year') in the form of url

    Ilyalieude modifierlereglement like this.


    apex_util.prepare_url ('f? p = & APP_ID.: 0 00:' |: APP_SESSION |) ": 000:P000_STATUS, P000_DATE:' |" ccodes.code | 1 year") in the form of url


    Kind regards

  • How to debug a form (Oracle Forms 11 G) via the URL module

    How to debug a form (Oracle Forms 11 G) via the URL module.



    My server operating system is Unix. Then, I could not able to do forms of debugged by the form developer.
    It displays a message "cannot find module '. Because the system tries to find the module in the Unix system instead of my local system (Windows).

    I need to debug module my via a URL.
    I can place the fmb and fmx in path of form in the server.

    Please, help me to solve this problem...

    It's a little uncertain. If your goal is to use the form Builder debugger during execution of your form on a Unix machine, this can be done. However, the form must be in working order. So before you try to attach the debugger, you must first be able to start without the debugger. For example:

    http://yourserver:OHS_port_number/forms/frmservlet? form = yourFMX

    Once it works correctly, you can turn on debugging. If your form does not even, using the debugger will not help you because it is designed to solve the problems and not coding configuration problems.

    So, follow these steps to use the debugger:

    http://yourserver:OHS_port_number/forms/frmservlet? form = yourFMX & debug = yes

    This will display a dialog box with information. Do not click OK, but you will need this information to enter in the Forms Designer. Now, open the Forms Designer and click Debug > attach Debug. You will be asked for the information displayed in the dialog box where you tried to start the form. Enter it here (in the constructor), and then click ok in both places. To display the debugger (in Report Builder), click Debug > Debug Console. And then on the toolbar, click the buttons associated with what you want to monitor. Including a breakpoint in your application code is often a more useful way to use the debugger.

    Most of this information is explained in the Forms Builder online help

    I forgot to mention...

    For debug runtime problems, see the deployment of forms here Guide (this implies that you use 11.1.2):

    http://docs.Oracle.com/CD/E38115_01/doc.111210/e24477/appa.htm
    .
    .

    Published by: Michael Ferrante (Oracle) on 21 February 2013 13:45

  • is it possible to make nQuireID (session ID) via a URL?

    is it possible to make nQuireID (session ID) via a URL?

    (how to read the session ID)?

    Therefore, we need not pass the user name and password. (incorporated in the URL)

    Uh, you can't a session ID unless you connect problem first, the chickens and the eggs? Have you looked at application SSO? This is the right way to solve the integration problems, hard-code the user ID and password to the URL is a villain and insecurity 'hack '...

  • How can I connect to my server (which runs on windows server 2008 rc2) via IP REAL using rdp, while the VPN connection is active?

    Hello

    How can I connect to my sServer (which runs on windows server 2008 rc2) via IP REAL using rdp, while the VPN connection is active?

    Hello Marie Smith.

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the link below.

    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads/

    Hope this information helps.

  • How do I configure the iPad2 to synchronize the iPad-Mailclient with Exchange 2010 via Active Sync using the certificate SSL client and name of user and password?

    Active Sync iPad ssl Client certificate

    How do I configure the iPad2 to synchronize the iPad-Mailclient with Exchange 2010 via Active Sync using the certificate SSL client and name of user and password?

    Hi Ewoki,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the TechNet Exchange forum. Please post your question in the Forums TechNet in Exchange Server.

  • How to make a request on a URL using webworks development environment?

    Hey geeks,


    How to make a request on a URL using webworks development environment?


    Thanks in advance...!

    "A request for a url" you try to perform an ajax call and it does not work? Any field/origin you're wanting access must be white listed in a element in the config.xml file. Details of this are in the WebWorks development guide

  • Is it possible to download the zip from a URL using plsql program

    Hi all

    I know that we can obtain xml from url and save this CLOB but is it possible to download a zip file of URL using plsql program.

    Let me google that for you

  • How can I get a list of all links/URLS used in all emails Eloqua?

    I try to have a report, list, or the export of all links/URLS never used in e-mail Eloqua (about 250) assets. Is there a quicker, more precise and perhaps automated to do this other than to pick up manually?

    Basically the desired result is a list of all links/URLS used in an Excel worksheet, additional information is a plus.

    If there are ways through the API, it is also welcomed.

    The Web site is subject to a few changes and we would like to keep all links living in them the remapping to the end server.

    Hi all

    First two ideas come to mind:

    1. go to Insight and run the Email clicks link ventilation report to see the links and clicks used in various emails. This will allow you to search for links to the last 730 days. However, note that if you have an abundance of links, the report may timeout. This is why the guests page, you may need to search specifically for a range of dates (month or two at a time) until you have all the expected results.

    2. using other APIs. The live docs for Rest API include the ability to search hyperlinks in emails. For instructions to access the direct documentation, see the Oracle Support Document 2078514.1 (how access rest and bulk API Live Docs) to: https://support.oracle.com/epmos/faces/DocumentDisplay?id=2078514.1. Once inside the live docs do the following:

    • Click on liabilities
    • Click/assets/hyperlinks
    • Expand the Hypertext GET/assets/links
    • Entry 'Complete' in depth to make sure that you check out the URL for each hyperlink

    Let me know if it helps!

    Best regards

    Matt Goodman

  • Pass the product ID through the URL of the payment page for the 'reception - buy' landing page. is this possible?

    Pass the product ID through the URL of the payment page for the 'reception - buy' landing page. is this possible?

    You can just the module module_shoppingcartsummary and liquid, you can return the items in the basket to.

    The developer reference

  • We can access autogen_dimensions.xml file via a URL?

    Hello

    We can access autogen_dimensions.xml file via a URL?

    Is it possible to access the file autogen_dimensions.xml with the URL as shown below.

    http://host:port / < App name > /Data/State/autogen_dimensions.xml file. I want to read this file in my java class.

    Kind regards
    Ravinder P

    Service platform is delivered with 2 copies of the reference application. The folder that you noted is not functional, for reference.

    Who is running is located at:

    \Endeca\PlatformServices\6.1.2\tools\server\webapps\endeca_jspref

    You should be able to just drag the files in there.

Maybe you are looking for

  • Satellite L300 Wireless does not work in mode access point

    Satellite L300 with built in wifi Realtek device.Internet is coming from an external USB device, and I want to make wifi internal working as a router/hotspot/access point, just to connect with my cell phone. I try to create the ad - hoc network in Wi

  • Podcast download problems

    Hello, I have tried to download my podcast via iTunes by squarespace but I encounter some difficulties in submitting. I contacted squarespace and they were able to enter my RSS feed and find my podcast on itunes and subscribe but without actually sub

  • Want to 4500 have ethernet port?

    I'm confused a few sheets say that the 4500 want supports an Ethernet connection. But I don't see any Ethernet port on the printer. What is it? Thanks for reading and double thanks if you can clear this for me.

  • Uninstall Windows 7 laptop (2 OS on the laptop)

    Hello! My laptop is running 2 OS at the same time (he wonder at startup every time that I want to continue). It has Windows Pro 8.1 and Windows 7. I use only Windows Pro 8.1 at present and I would like to uninstall Windows 7 but I don't know how. Can

  • OPERATING SYSTEM NOT FOUND VAIO

    I shut down my computer before going to bed and now when I turn on the Sony Vaio Windows 7 it says Vaio then says operating system not found. I tried to use the Windows restore USB, nothing, so I tried to repair CD, he worked went to PC repair but sa