Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. profwannabe

    Cfif causing extra spaces in output

    I am trying to output bibliographic entries. The number of authors and their relative positions determines a variety of factors, such as "LastName, FirstName" versus "LastName, FirstName,", "FirstName LastName," or "and FirstName LastName". The same...
  2. profwannabe

    Pass anchor reference in cfform action field?

    Is there some way to reference an anchor tag in the cfform tag? I have a long iterative form and would like the user to return to the appropriate part of the form rather than the top of the page each time an element in the form is submitted...
  3. profwannabe

    passing form parameters with CFLOCATION?

    I have a long iterative form to build a large record submission (the information must be finalized prior to submission so iterative submissions are not possible). However, the user may need to exit from that form to add some additional data to the database, then return to the original form and...
  4. profwannabe

    Sorting on results from many-to-many relationships

    I have tried to resolve this problem both using SQL and using various CF tricks to no avail. I am running an Access DB on a CF 4.5 platform. I am generating a bibliography from a database. When a subject is selected (SubjectID) a list of books is generated using a subquery, as there is a...
  5. profwannabe

    CF Error when using DateFormat In Access

    Can't seem to figure this one out. I need to select all records in the table based on a user-input year; the date/time field DateReceived contains a full ODBC date. Oddly enough, I get a "too few parameters" error through my CF template, but the query works fine in Access (when I...
  6. profwannabe

    Embedding parameters within functions

    I am sure this is a simple one, but I can't seem to figure it outX-): I need to embed the value #reporttype# within a CF function: get#reporttype#Condition.recordcount Since the name of the query is dynamically determined, I cannot seem to do much with it. I have tried a number of different...
  7. profwannabe

    Navigating through grouped output results

    I am trying to provide a navigation through pages that display 15 records each: Jump to page: 1 2 3 4, etc. Here is the code thus far: <cfparam name=&quot;STARTROW&quot; default=&quot;1&quot;> <tr><td> <cfoutput query=&quot;getModelList&quot; group=&quot;Model&quot; startrow=#StartRow#...
  8. profwannabe

    Removing all non-alphanumeric characters from a string

    I need to use the string #ClientName# to generate subdirectories. In order to avoid a variety of potential problems, I wish to strip the string of all non-alphanumeric characters. Is there a relatively simple function for this, or should I loop through the string one character at a time...
  9. profwannabe

    Preselecting in a multiselect box

    On an edit form I am trying to populate all the existing values of the record. This works for most of my form fields, including cfselects, except for my multiselect boxes. The values in the field are comma delimited. Not sure if I can loop through the list and have each value preselected...
  10. profwannabe

    CFTreeItem problem

    I am trying to display a tree in which the lowest branch is a URL that would pass the TemplateID value along to an edit template. My tree displays correctly but the lowest branches are all the same: the final record of the query. <cfquery name=&quot;Site&quot...
  11. profwannabe

    Multiple selections from CFSELECT

    I am trying to enable multiple selections using the following: <cfselect name=&quot;Methodology&quot; query=&quot;getMethodologyCodes&quot; value=&quot;CodeValue&quot; display=&quot;CodeValue&quot; multiple> <option value=&quot;--none--&quot; selected>--none--</option> </cfselect> The Tag...
  12. profwannabe

    LogOut not actually ending the session...

    I have a login-driven site that I need to enable a logout for. I cannot use cookies. SessionManagement and ClientManagement are enabled in <cfapplication>. In my act_logout.cfm I have the following code: <cfset SESSION.ACTIVE = false> <cfset CLEAR = #StructClear(session)#> The user then...
  13. profwannabe

    Dynamically created folders

    I need to dynamically generate folders and subfolders into which a file will be posted using <cffile>. The folder name = #attributes.ClientName# and the subfolder is #attributes.ContractTitle#. I can create the folders using <cfdirectory> without problem. However, I need to evaluate whether...
  14. profwannabe

    Populating a calender

    I am trying to generate a calender of lectures for a course I am teaching that will populate lecture dates with URLs to assigned readings (each reading has a title and URL and has a foreign key to a Lecture table with the lecture date and title, as there is a 1-to-many relationship from lecture...

Part and Inventory Search

Back
Top