Hyperlink-trouble after upgrade to CF 7

Hello
I am currently editing an old CF site where the host have
gone from CF 5 to CF 7 (without warning =). All hyperlinks with a
CF attribute have stopped working for some reason, let me clarify:
from an SQL like this: (code is rewritten )
<cfquery name="Course" datasource="CompanyDB">
SELECT CourseApp2.*, Course.*, CourseDate.*
FROM CourseApp2, Course, CourseDate
WHERE CourseApp2.CourseMember_ID = #CGI.QUERY_STRING#
AND CourseApp2.CourseDateID = CourseDate.CourseDateID
AND CourseDate.CourseID = Course.CourseID
ORDER BY CourseStart
</cfquery>
there is a CF out as follows:
<CFOUTPUT QUERY="Course">
<TR><TD><A
HREF="../Course/Course.cfm?CourseID=#CourseID#">#CourseName#,
#CourseCode##CourseDateCode#</A></TD>
The way the hyperlink is constructed doesnt work, and an
error stating that CourseID is undefined ( the ?CourseID=#CourseID#
part of the link)
It doesnt work where the link is made like this either:
<A
HREF="../Course/Course.cfm?CourseID=#Course.CourseID#">#CourseName#,
#CourseCode##CourseDateCode#</A>
that is, stating which CourseID you want to use, on those the
error: CourseID is undefined in Course is thrown.
It works however if you select CouseID from Course as an
Alias in the select statement and use the alias in the link.
This old site has been working fine with this sort of
notation, has something changed up to CF 7, that have made this
erroneous? Since i havent written the original code I am reluctant
to change it before I know whats wrong.
If you have any ideas or suggestions please reply
Regards
Torbjörn

I would rename your query, so that the cfoutput statement
will know what you are referring to, something like:
<cfquery name="getcourseinfo" datasource="CompanyDB">
SELECT CourseApp2.*, Course.*, CourseDate.*
FROM CourseApp2, Course, CourseDate
WHERE CourseApp2.CourseMember_ID = #CGI.QUERY_STRING#
AND CourseApp2.CourseDateID = CourseDate.CourseDateID
AND CourseDate.CourseID = Course.CourseID
ORDER BY CourseStart
</cfquery>
THEN:
<cfoutput query="getcourseinfo">
<A
HREF="../Course/Course.cfm?CourseID=#CourseID#">#CourseName#,
#CourseCode##CourseDateCode#</A><br>
</cfoutput>
Let me know if this works.

Similar Messages

  • Mail is giving me trouble after upgrading to OS X 10.10

    Mail is giving me trouble after upgrading to yosemite. I am unable to enter settings and change email settings. Can someone please help.

    I have had the same issue (and I've seen many posters on here mention this, as well). I have an external FireWire drive that, since upgrading to 10.4.9 is not recognized by my G4 PowerBook. It worked fine before the update. Some have said the issue may have occurred if the drive was connected to the computer at the time of the upgrade but mine was not. I'm patiently waiting Apple to fix this and many other apparent flaws with the latest so-called "upgrade."
    P.S. I have never had any issues with previous OSX updates and have been a Mac user for 3+ years.

  • Big trouble after upgrade 10.10 and 4.0: No sync Calendar and Contacts between devices and users

    Hello,
    it is a big trouble after upgrade 10.10. an 4.0 (i paid 18 € again!):
    After the update no sync between devices an user for calendar and contacts possible. Asking a password?
    No device manger started. Error code -1!; Open Directory Service no started.
    Help?

    I ended up exporting all the outlook data to CSV, creating a new PST and reimporting the data. Calendar sync now works, but I sure do hope I don't have to redo this every week.

  • Trouble after Upgraded ipad to ios6

    Upgraded ipad to ios6 but unable to locate my 3G carrier

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off".

  • Slugish response, crash and apps trouble after upgrading to IOS 8' if anybody else having trouble on Ipad 2n

    IPad2 not performing with IOS8

    Tried any troubleshooting?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10-15 seconds).
    Restore: Connect your iPhone to iTunes on your computer, backup, and then select Restore to Factory

  • Trouble after Upgrading to Vista - Songs Purchased from iTunes.

    So I upgraded the family laptop with Vista (unimpressed so far, but thats a different issue) and then tried use iTunes and a gift card my wife gave me. To my suprise, iTunes told me that certain songs couldn't be copied to my iPod...turns out its only songs I purchased from iTunes. All of the songs I added to the library by ripping CDs still reside on my iPod, but nothing that I've downloaded. They are still in my library, but I can't get them onto my iPod. I've spent a great deal of time and money building my music collection, how do I fix this so I can use it again!?

    With an OS upgrade, iTunes will view your system as new, requiring another authorization to play purchased content. You will have to re-authorize your computer.

  • After upgrading to Mountain lion the hyperlink button is not seen in Preview.  Anyone knows ho to get it back?

    After upgrading to Mountain lion the hyperlink button is not seen in Preview.  Anyone knows ho to get it back?

    Augend wrote:
    After upgrading to Mountain lion the hyperlink button is not seen in Preview.  Anyone knows ho to get it back?
    There have been a few threads about this.  The feature seems to have gone missing in Mountain Lion even though the Help for Preview still mentions it.
    I've filed a bug report on it.
    Matt

  • I am having trouble in the app store after upgrading to iPhone 5 and iOS 6

    I am having trouble since upgrading from iPhone 4s to iPhone 5.  The "restore" feature never completed after activation of the new phone (it was close, only "find my iphone" app did not complete - it looked like it is forever trying to download).  But now, when I have tried to update apps, or even purchase new (free or paid) apps, the store does not let me.  It flashes error messages on my screen so quickly they cannot be read (the first is something about signing in to the store with an apple ID).  I have seen other similar threads and have tried logging out and into the app store from the settings menu.
    I also cannot get any of my music to transfer to the iPhone (from the icloud).  It seems to be trying to but I just get the spinning wheel of death.
    Any thoughts or help out there would be much appreciated.
    Thanks

    Hello there, Missy.
    First thing I would recommend is to check your downloads queue to make sure there is not an interrupted download per the following Knowledge Base article:
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/HT1725
    If your download was interrupted using your iPhone, iPad, or iPod touch
    1. From the Home screen, tap the iTunes app.
    2. For iPhone or iPod touch, tap More > Downloads. For iPad, tap Downloads.
    3. Enter your account name and password if prompted.
    4. Tap the blue download arrow to resume.
    If you can't complete the download on your iOS device, you can download it in iTunes on your Mac or PC and then sync it to your iOS device. You can also transfer purchases from your iPhone, iPad, or iPod to a computer.
    For Apps, you can also try tapping on the application icon to resume the download, as outline in this featured discussion:
    App updates won't download on my...: Apple Support Communities
    https://discussions.apple.com/thread/4111336
    Try tapping the App, so that it changes to Paused instead of Waiting, then tap it again to resume the install.
    Make sure you don't have any paused downloads in other apps either, like the App Store or iTunes Store.
    If that doesn't do it, try resetting or restoring the iPhone.
    via whatheck
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • After upgrading to Mavericks, I am having trouble with TimeMachine backups.

    After upgrading to Mavericks, I am having trouble with TimeMachine backups. As the backups get close to completion, it suddenly increasing the amount of data being backed up. My 400GB data takes up about 700GB on the backup drive.
    Tried reformatting the backup disk and had the same result.

    After upgrading to Mavericks, I am having trouble with TimeMachine backups. As the backups get close to completion, it suddenly increasing the amount of data being backed up. My 400GB data takes up about 700GB on the backup drive.
    Tried reformatting the backup disk and had the same result.

  • My ipod touch version 4.2.1 is not recognized by Windows 7 after upgrading i tunes to 11.2. I have gone through all the trouble shooting suggestions twice

    My ipod touch version 4.2.1 is not recognized by Windows 7 after upgrading i tunes to 11.2. I have gone through all the trouble shooting suggestions twice

    Did it work with previous ii.x version?
    If you  have iTunes 11 turn on the Sidebar. Go to iTunes>View and click on Show Sidebar. You can also do a Crtl+S to show the sidebar. The sidebar is where Devices appears. and Control+B to show the Menu bar
    Did you do everything here:
    iOS: Device not recognized in iTunes for Windows
    Including
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Try on another computer to help determine if computer or iPod problem

  • Trouble with wifi after upgrade to IOS 8

    After upgrading my iPad 3 to Ios 8 yesterday I am having trouble of connecting to the internet using the wireless wifi modem on MacBook Pro. The Wifi appears to connect  to the iPad but I get a message '"MacBook Pro" is Not Connected to the Internet" when I start the process of connecting to my MacBook. I join anyway but I don't see the WiFi icon on top of my iPad even though I have a tick next to the connection on the settings page. Does anyone have any idea how I get the Wifi working again?

    My problem turned out to be that the Sharing app decided to make the newly discovered Thunderbolt Bridge the default device to be used for sharing rather than my USB modem. Changing back to the original setting and everything is working again.

  • Problem with iWeb Hyperlinks After Upgrade

    We just upgraded to Snow Leopard and iLife version 9.0.3. We have a website which we created in iWeb. After upgrading all our software, we updated our website and now some of the hyperlinks don't work, but only those on one page in the website. The hyperlinks worked in the old version and in fact they work in the iWeb application. However when on the actual website, they hyperlinks don't work. They are links to other pages on our site. Any thoughts as to what we should do to fix this?

    Welcome to the Apple Discussions. Did you use the "One of my pages" option when assigning the hyperlinks in the Inspector/Link pane? I've had those break on me at time. What I've done is go to the published page, copy the URL and add it to the Hyperlink pane as an external page. I've found that this is more reliable than the other method.
    Click to view full size
    OT

  • Anyone else having trouble with missing ringtones after upgrading to 8.1.1

    Anyone else having trouble with missing ringtones after upgrading to 8.1.1?

    Try resetting the keyboard dictionary
    Settings>General>Reset>Reset Keyboard Dictionary

  • Trouble with activation after upgrading to iOS 7.0

    This is ridiculous. Still having trouble with activating my phone after upgrading to iOS 7.0. How does Apple expect us to make / receive phone calls???

    It may take a while becuse millions of people are doing it at the same time. Patience young grasshopper. Try restarting the phone and then try activating again. It took mine a good long time before the activation completed successfully

  • Would like to upgrade to Dragon Naturally Speaking 11 from DNS 6 (which would also entail a necessary upgrade from Windows 2000 to 7) but understand after all this expense and trouble, DNS upgrade may not be compatible with Firefox 6?

    Question
    Would like to upgrade to Dragon Naturally Speaking 11 from DNS 6 (which would also entail a necessary upgrade from Windows 2000 to 7) but understand after all this expense and trouble, DNS upgrade may not be compatible with Firefox 6?
    Main priority is voice activation upgrade. Ideas about how to proceed appreciated!

    AFAIK, it's been over three years since a WinXP laptop or desktop PC has been sold; I specifically bought a laptop in June 2008 because it was being clearanced by that retail chain to meet Microsoft's deadline, and got it real cheap. It was tagged for the store manager to purchase, but he let me have it because I exceeded his expectations for the services I performed for his store and thought I deserved it. Anything that wasn't made for Vista-compatibility will be very iffy with Win7, IMO - so that basically rules out anything that was made before like Oct or Nov 2007.
    Unless another DNS 11 user happens to see this thread and can verify whether it works in Firefox 6.0 or not, I don't what to recommend except for you doing a web search to see what other DNS / Firefox users have to say about compatibility.

Maybe you are looking for

  • In general settings the Wi-Fi icon is not illuminated and to the right of the icon it says,"No Wi-Fi". I've updated the most recent software and my Wi-Fi network is working fine.  Help!

    Wi-Fi icon in general settings is not illuminated and to the right of the icon it says "No Wi-Fi".  All other icons in "General Settings" are illuminated and accessible.  My Wi-Fi network is working, as evidenced by the fact I'm able to do this.  A w

  • Clarification in T.C  MC35

    Hai gurus , i have one doubt in T.C MC35. while creating rough cut plg profile, we give Material/Plant/status = 4/usage = 1/lot size. Also we have to give time span,what is use of this time and why should we give the details in the resources table. w

  • JSP Design View blank

    When viewing JSP using workshop 8.1(sp1 as well as sp2), I encountered a situation that the design view is blank, only a line in the bottom says: <netui-template:template><netui-template:section><netui:form><table><tr><td> The soruce view is working

  • Reports 6i Printing

    Hi EveryBody, I have to run an report from menu. the problem is i have an diffrent sizes of reports so i have to change the paper size everytime. for eg.( 1 report- A3transv 2 report- Germen SF )so is there any utility in form 6i through which i can

  • Updates won't upload to FTP host

    Hi, I have a live website already and just want to add some updates to it, but every time I go to upload to ftp host, it goes through the process of uploading everything (the box with the blue bar) but when the website loads after the upload is finis