I need help on a main page. basic for u but not for me

Hello,
I need help on a main page.
I have this page called themainpage.cfm which someone here
asked me to make it the main page of my cf pages.
I have 2 pages right now in testing server.
Bloicpage.cfm
And
Index.cfm
When you go to
Server.myappfolders/repfolder
It let you go to
Server.myappfolders/rep/folder/ Bloicpage.cfm
Page.
I need for the themainpage.cfm to be the default when typing
Server.myappfolders/repfolder
Then have a link to the Bloicpage.cfm and a back button to go
back to the mainpage.cfm
Many thanks

here is the Bloicpage.cfm
which is currently the main page when you type
Server.myappfolders/repfolder
i need it to go to another main page which will have a link
to this and a back button from here and a back button from the
report html page and the excel csv page
ps .
i excluded the queries and some logics.
sorry
thanks
<cfparam name="form.ctcde" default="ALL">
<cfparam name="form.SDT" default="#now()#">
<cfparam name="form.EDT" default="#now()#">
<cfparam name="Form.outputFormat" default="CSV">
<cfsetting showdebugoutput="no"/>
<cfif not isdate(form.SDT)><cfset form.SDT =
now()></cfif>
<cfif not isdate(form.EDT)><cfset form.EDT =
now()></cfif>
<!---
01/01/2003
--->
<cfquery name="theQuery" datasource="cts9i">
SELECT
</cfswitch>
group by
Order by </cfquery>
<cfset a = a + 1>
</cfoutput>
<cfswitch expression="#Form.outputFormat#">
<cfc value="HTML">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<style type="text/css">
table{
font-family:Arial, Helvetica, sans-serif;
font-size:85%;
td{
font-family:Arial, Helvetica, sans-serif;
font-size:85%;
th{
font-family:Arial, Helvetica, sans-serif;
font-size:85%;
h2{
font-family:Arial, Helvetica, sans-serif;
font-size:120%;
h3{
font-family:Arial, Helvetica, sans-serif;
font-size:100%;
</style>
<body>
<cfoutput>
<div align="center">
<h2>Bkc#dateformat(form.SDT,"mm/dd/yyyy")# to
#dateformat(form.EDT,"mm/dd/yyyy")# Wudd</h2>
</div>
<div align="center">
<h3>#form.ctcde# CCwoph</h3>
</div>
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<th>ccc##</th>
<th>aaa</th>
<th>cccc</th>
<th>iii</th>
<th>Eee</th>
<th>h11</th>
<th>h112</th>
<th>h22</th>
<th>h222</th>
<th>h33</th>
<th>h333</th>
<th>ehh</th>
</tr>
<cfset variables.nphc = 0>
<cfloop index="x" from="1" to="#arraylen(anArray)#"
step="1">
<cfif NOT anArray[x][1]>
<tr>
<td>
#anArray[x][2].c_nbr#
</td>
<td>
#anArray[x][2].c_dcdt#
</td>
<td>
#anArray[x][2].PAPD#
</td>
<td>
#anArray[x][2].Iii#
</td>
<td>
#anArray[x][2].Eee#
</td>
<cfset thirdArray = anArray[x][3]>
<cfif NOT arraylen(thirdArray)>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<cfelse>
<cfloop index="z" from="1" to="3">
<cfif z GT arraylen(thirdArray)>
<td> </td>
<td> </td>
<cfelse>
<td>
#thirdArray[z][2]# 
</td>
<td>
#thirdArray[z][3]# 
</td>
</cfif>
</cfloop>
<cfif arrayLen(thirdArray) gt 3>
<td nowrap="nowrap">
<cfloop index="z" from="4"
to="#arraylen(thirdArray)#">
#thirdArray[z][2]# - #thirdArray[z][3]#<BR />
</cfloop>
</td>
</cfif>
</cfif>
</tr>
<cfset variables.nphct = variables.nphct + 1>
</cfif>
</cfloop>
</table>
Total Ccwoph: #variables.nphct#
<BR />
<BR />
<HR />
<BR />
<div align="center">
<h3>#form.ctcde# CWph</h3>
</div>
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<th>ccc##</th>
<th>aaa</th>
<th>cccc</th>
<th>iii</th>
<th>Eee</th>
<th>h11</th>
<th>h112</th>
<th>h22</th>
<th>h222</th>
<th>h33</th>
<th>h333</th>
<th>ehh</th>
</tr>
<cfset variables.phc = 0>
<cfloop index="x" from="1" to="#arraylen(anArray)#"
step="1">
<cfif anArray[x][1]>
<tr>
<td>
#anArray[x][2].c_nbr#
</td>
<td>
#anArray[x][2].c_dcdt#
</td>
<td>
#anArray[x][2].PAPD#
</td>
<td>
#anArray[x][2].Iii#
</td>
<td>
#anArray[x][2].Eee#
</td>
<cfset thirdArray = anArray[x][3]>
<cfif NOT arraylen(thirdArray)>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<cfelse>
<cfloop index="z" from="1" to="3">
<cfif z GT arraylen(thirdArray)>
<td> </td>
<td> </td>
<cfelse>
<td>
#thirdArray[z][2]# 
</td>
<td>
#thirdArray[z][3]# 
</td>
</cfif>
</cfloop>
<cfif arrayLen(thirdArray) gt 3>
<td nowrap="nowrap">
<cfloop index="z" from="4"
to="#arraylen(thirdArray)#">
#thirdArray[z][2]# - #thirdArray[z][3]#<BR />
</cfloop>
</td>
</cfif>
</cfif>
</tr>
<cfset variables.phc = variables.phc + 1>
</cfif>
</cfloop>
</table>
Total Cwph: #variables.phc#
<!---
<cfloop index="x" from="1" to="#arraylen(anArray)#"
step="1">
#anArray[x][1]#
#anArray[x][2].c_id#
#anArray[x][2].c_nbr#
#anArray[x][2].c_dcdt#
#anArray[x][2].PAPD#
#anArray[x][2].Iii#
#anArray[x][2].Eee#
#anArray[x][2].NumberOfHolds#
<cfset thirdArray = anArray[x][3]>
<cfloop index="z" from="1" to="#arraylen(anArray[x][3])#"
step="1">
#thirdArray[z][1]#
#thirdArray[z][2]#
#thirdArray[z][3]#
</cfloop>
<HR />
</cfloop>
--->
</cfoutput>
</body>
</html>
</cfc>
<cfc value="CSV">
<cfoutput>
<cfset variables.theOutput =
"Bkc#dateformat(form.SDT,"mm/dd/yyyy")# to
#dateformat(form.EDT,"mm/dd/yyyy")# Wudd">
<cfset variables.theOutput = variables.theOutput &
chr(10)>
<cfset variables.theOutput = variables.theOutput &
"#form.ctcde# CCwoph">
<cfset variables.theOutput = variables.theOutput &
chr(10)>
<cfset variables.theOutput = variables.theOutput & "C
##,Ad,Ccc,Iii,Eee,h11,h12,h22 ,h222,h33,H333,ehh">
<cfset variables.theOutput = variables.theOutput &
chr(10)>
<cfset variables.nphct = 0>
<cfloop index="x" from="1" to="#arraylen(anArray)#"
step="1">
<cfif NOT anArray[x][1]>
<cfset variables.theOutput = variables.theOutput &
"#anArray[x][2].c_nbr#, #anArray[x][2].c_dcdt#,
#anArray[x][2].PAPD#,#anArray[x][2].Iii#,#anArray[x][2].Eee#">
<cfset thirdArray = anArray[x][3]>
<cfif NOT arraylen(thirdArray)>
<cfset variables.theOutput = variables.theOutput &
",,,,,,">
<cfelse>
<cfloop index="z" from="1" to="3">
<cfif z GT arraylen(thirdArray)>
<cfset variables.theOutput = variables.theOutput &
",,">
<cfelse>
<cfset variables.theOutput = variables.theOutput &
",#thirdArray[z][2]#,#thirdArray[z][3]#">
</cfif>
</cfloop>
<cfif arrayLen(thirdArray) gt 3>
<cfloop index="z" from="4"
to="#arraylen(thirdArray)#">
<cfset variables.theOutput = variables.theOutput &
"#thirdArray[z][2]# - #thirdArray[z][3]# | ">
</cfloop>
</cfif>
</cfif>
<cfset variables.nphct = variables.nphct + 1>
<cfset variables.theOutput = variables.theOutput &
chr(10)>
</cfif>
</cfloop>
<cfset>
<cfset>
<cfset >
<cfset >
<cfset >
< & chr(10)>
</cfif>
</cfloop>
</cfoutput>
<cfcontent
type="application/msexcel"><cfoutput>#variables.theOutput#</cfoutput></cfc></cfswitch>

Similar Messages

  • Table of Contents page numbers works for PDF but not for other formats

    Hi,
    I followed exactly was indicated here regarding creation of TOC.
    http://docs.oracle.com/cd/E10415_01/doc/bi.1013/e12187/T421739T481157.htm
    The page numbers generated correctly for PDF but not for RTF, HTML and XLS.
    (HTML and XLS are understandably not paginated in nature but why not in RTF?)
    Tried to make the simplest example work, with 2 headings each on a separate page. Doesn't work on either MSWord 2003 or 2007.
    What am I doing wrong?
    Regards,
    Jarell
    Edited by: Jarell on Jan 11, 2012 8:08 PM

    Hi Kavipriya,
    What is your email address? I have attached a file in Oracle Metalink, under SR 3-5172030861. named test_toc.rtf
    You may use any xml because the template does not use any dynamic binding of values.
    The template is basically 2 pages, the TOC in the 1st page. First TOC item (Heading 1) is in Page 1, and Second TOC item is in Page 2.
    So the end result should be (PDF result from BI Publisher):
    First TOC Item .................. 1
    Second TOC Item ............. 2
    But for RTF it outputs:
    First TOC Item .................. 0
    Second TOC Item ............. 0
    And after doing Print Preview (once or twice)
    First TOC Item .................. Error in Bookmark
    Second TOC Item ............. Error in Bookmark
    Hope this is detailed enough to illustrate the problem.
    Edited by: Jarell on Jan 17, 2012 10:24 PM

  • Hi I need help with my iPhone 4s I unlock it but not reading on my tmobile it say no service or network

    I update restore it clearly say unlock on iTunes but not giving me no network

    Try Recovery Mode... http://support.apple.com/kb/HT1808

  • Slow web page loads on Mac, but not for PC

    I use a D-Link wireless router (DI-524) for my PowerBook G4 15" and my roommate's Dell PC. Very recently I seem to get very slow web page loads with some pages not even loading at all.
    Airport is consistently connected with no drops at all and when I'm downloading something it never gets interrupted the whole way through.
    My roommate's PC has no problem whatsoever and all of the web pages that he visits load instantly. It seems that my main problem is with web pages.
    I've tried doing a clean install on my Powerbook, I've tried resetting the router (I've tried upgrading the firmware but the router decided it didn't want to work with the new version). And surprisingly, I get the same slow speeds when I hook up my Powerbook to my router via ethernet cable. The only time my speeds are perfectly fine is when I hook up my Powerbook directly to the wall (I dorm in a university so we have a T3 line).
    Can someone please give me some advice on this very frustrating issue?

    In addition to Neds suggestions, empty the Safari cache (which should be empty after a clean install).
    Goto the Safari Get Info screen (in Finder or in Dock if you have Safari there), click the triangle on languages, and disable those you don't use.
    My Safari response time was significantly slowed after the 10.4.5 update, and using the combo updater took care of that. The 10.4.6 combo update is located here.

  • Why doesn't the Zoom work on images in Firefox 4 ? The page Zoom works for webpages but not for pictures like Firefox 3.7 did :(

    I have already seen the "page Zoom" help article and that doesn't solve the problem.
    with Firefox 3.7 i could view an image and use the "control" & + & - keys to zoom in and out but with the new Firefox4 that zoom only works on webpages and does not work for images like it did before.
    is there a solution to this ?
    example:
    http://nssdc.gsfc.nasa.gov/planetary/lunar/images/a11easep.jpg
    when i had Firefox 3.7 , i could zoom in and out but now it doesn't work with Firefox4
    what's the deal ? : )

    Check the Zoom settings: View > Zoom > Zoom Text Only
    * http://kb.mozillazine.org/Zoom_text_of_web_pages
    Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Need help to share Number/Pages file visa Mail option. Cannot do with iPad Air (iOS7)

    Need help to share Number/Pages file visa Mail option. Cannot do with iPad Air

    Oh, okay. After selecting the format I want to send, it says "creating... ". Then irrespective of the format I choose the message e.g. "creating spreadsheet" disappears, and so does the choice window (where I earlier chose Mail). I am taken back to the Numbers (or Page) where I had started from. Diavonex's note indicated that after "creating ... " stage I should be taken to an option where I can type in email address where I want to  send the  file, if I want to copy it to another address etc. I cannot arrive at that page - no matter whether I am working with Pages or Number, or which format I choose for the file to share !
    I will try to close as you have suggested and try. However, I have switched on and off several times by now, but nothing changed!
    Will look forward to any ideas to solve this !!!
    Thanks much!
    Best

  • I can't get volume on Main Output to work correctly with controllers on my keyboard. It's either all on or all off. Works fine for individual instruments (thought it lumps them all together) but not for main volume output on concert. Thanks for any help.

    I can't get volume on Main Output to work correctly with controllers on my keyboard. It's either all on or all off. Works fine for individual instruments (thought it lumps them all together) but not for main volume output on concert. Thanks for any help.

    Hi
    frodojon wrote:
    I either didn't do the correct mapping sequence before or I'm starting to wonder if it has something to do with my keyboard which has the expression pedal set to the same volume control as the mod wheel.
    All this sounds like you are confused about the general nature of MIDI Continuous Controllers (MIDI CC). The MIDI specification allows for 128 different CC's: CC0 to CC127. Some are typically "preallocated" to 'standard functions: CC1= Modulation, CC7=Volume, CC10+Pan, CC11= 'Expression'. Some act as switches such as 'Sustain' CC64.
    frodojon wrote:
    Everything appears to be scaled from -63 to +64 if that's what you mean by scaling?  What do you mean by MIDI CC7?
    Mainstage works with MIDI CC's generally in a number of ways:
    Some standard ones are automatically passed through to all MIDI/Instrument channels unless you specifically block them. Others are not passed through unless you specifically map them to something.
    This mapping can be done basically two ways (with MS 2.2):
    a) Make a Screen Control in Layout mode, and assign it to a particular incoming MIDI CC message. Then, you can map this Screeen Control to a variety of parameters such as the volume of a particular channel strip.
    b) With MS 2.2, you can do the above Assign and Mapping directly, without the need for Screen Controls as an 'intermediary'.
    frodojon wrote:
    something to do with my keyboard which has the expression pedal set to the same volume control as the mod wheel.  I
    Yes.
    It sounds to me like you have an issue where you have several hardware controls on your Keyboard set up to transmit the same MIDI CC. This is probably not a good idea, and it would be much better if you assigned them to transmit different CC messages (CC1 for Modulation and probably CC11 for the Expression (though you may want to set the pedal to some other number instead.
    Once you are transmitting different CC messages, you will be able to Assign and Map much more flexibly:
    for example, you could one to control the overall output volume at Concert Level in MS, whilst the other controls the volume of a specific channel within a Patch.
    Your issue of layered patches is one of "Scaling": one Screen Control (assigned to an incoming MIDI CC message) needs to alter the ranges of different channel strips to different amounts. You can set this up by using multiple mappings for one Control, each set to work over a particular range (for example a goes from -20 to 0 whilst b goes from -30 to -20 etc.).
    hth
    CCT

  • Hi, I've been playing Smurf's village for a year now and just last week, i tried to get into the app but it keeps rejecting and goes back to the main page.  Is there any reason for this?  I've been updating the app everytime and now it's not letting me in

    Hi, I've been playing Smurf's village for a year now and just last week, i tried to get into the app but it keeps rejecting and goes back to the main page.  Is there any reason for this?  I've been updating the app everytime and now it's not letting me in.  Pls advise. Tq

    Reset the device, restart the device, try downloading any other app.
    All of these are basic steps that could have been found by a simple search of the forums as a resolution for the issue.

  • Hi, I'm making hyperlinks. They work for the main page of the webpage, but when I'm trying to redirect the hyperlink to a "sub page" of the webpage it is still going to the main page. (allthough I'm pasting the complete url address)

    Hi, I'm making hyperlinks. They work for the main page of the webpage, but when I'm trying to redirect the hyperlink to a "sub page" of the webpage it is still going to the main page. (allthough I'm pasting the complete url address)

    Hi! first of all, thank you so much for your help.
    I don't know about that panel you are talking about.
    what I do is RIGHT CLICK, INTERACTIVE, NEW HYPERLINK, and a window pops up, where I paste the address (images).
    Where says URL I paste the complete address that the "sub page" gives me.
    Is that correct? (for the main page of the wabepage works correctly)
    thanks!!!

  • Hi, Need help. I am trying to download the latest iTunes for Windows application but on running the program it says that it can not be completed as it can not find the folder location of the file "iTunes.msi" . Any clues would be appreciated

    Hi, Need help. I am trying to download the latest iTunes for Windows application but on running the program it says that it can not be completed as it can not find the folder location of the file "iTunes.msi" . Any clues would be appreciated

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I buy for mac app but not for the iPad, so how do I reinstall a program that has already purchased? I need help because I bought the imovie'11 but when he opened it only brought 8 movie trailer templates instead of the 15 it says on the program. How do I

    I buy for mac app but not for the iPad, so how do I reinstall a program that has already purchased? I need help because I bought the imovie'11 but when he opened it only brought 8 movie trailer templates instead of the 15 it says on the program. How do I solve this problem? Once paid for a program incomplete. I also liked that the AppStore itself had a button to reinstall programs already bought, because it is very hard to understand how to do this in the store, only option is to install and hide purchase, and how do I reinstall, attention'm talking about reinstalling a computer mac, not an ipad or iphone.
    Thank you.

    Prodesigntools.com , go ahead and download the software from there and use your serial number to serialize it.

  • Iphone 3gs software update version 6.1.6 not able to do it need help and also want to know if i do not update it will my phone stop working

    Hi I am getting a message of updating my iphone 3gs software version ios 6.1.6 but i am not getting an option to download it how can i update this version on my phone and if i will not update it will my phone stop working i am confused as i tried a lot online to search and download for it but not find it and now want rectification of it and also want to know if i do not update it what will happen next. please a little help required in this if its possible please reply on this as i am in need of this phone and do not want it that it should stop working just bcoz of it

    manubakshi26 wrote:
    Hi I am getting a message of updating my iphone 3gs software version ios 6.1.6 but i am not getting an option to download it how can i update this version
    Do the Update using iTunes on your Computer.
    See the Using iTunes Section Here...
    How to update your iPhone, iPad, or iPod touch
    Make sure you have the Latest Version of iTunes (v11.1.5) Installed on your computer
    iTunes free download from www.itunes.com/download

  • Hi, I need help with my iphone four bought in England but I live in Italy, I upgraded IOS six and now I can not read more than the Italian card, how can I contact a service center via email?

    Hi, I need help with my iphone four bought in England but I live in Italy, I upgraded IOS six and now I can not read more than the Italian card, how can I contact a service center via email?

    Only the carrier it is locked to can authorize unlocking it. Sounds like the phone was hacked to unlock it originally. Find out what carrier it is locked to, and look up their contact information using google or the search engine of your choice.

  • HT3387 When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    When I use pages the languages that I mainly use are English and Hebrew. The spellchecker works for English but not with Hebrew. How can I add another language to the spellcheck?

    http://m10lmac.blogspot.com/2011/06/extra-spell-checking-dictionaries-for.html

Maybe you are looking for

  • Set default properties for Tools Content Modification Add Text?

    I'm running a French version of Adobe Acrobat XI version 11.0.0. I'm not enquiring about or alluding to the other tool that can be employed for adding text: Sign > Add Text. For instance, I'd like to change the default font, font size, font color, et

  • How much does it cost for iWeb after the trial is over?

    thanks.

  • Alsamixer GUI exits on using controls like F2 , F4 or F5

    Hi, I am relatively new with linux. I have installed alsa-utils into an arm based platform. After running alsamixer in the target platform I am able to see the GUI on console. However on pressing control keys like F2 ,F4 or F5 it exits. F6, Esc etc.

  • Change Mifi Data Plan

    After moving to a rural area in Iowa, I purchased a Verizon mifi in August 2010. The store employees, as well as the manager I confirmed this with, said the 3g mifi I was purchasing will be compatible with the soon to be offered 4g service. This turn

  • Playback for music..

    Just recently got ahold of an E75 and quite excited about it. However, I'm not too excited in how the music is arranged for this. It's not supposed to be a music centric phone I know but I was wondering if there was any way that I could simply browse