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...
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...
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...
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...
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...
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...
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="STARTROW" default="1">
<tr><td>
<cfoutput query="getModelList" group="Model" startrow=#StartRow#...
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...
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...
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="Site"...
I am trying to enable multiple selections using the following:
<cfselect name="Methodology" query="getMethodologyCodes" value="CodeValue" display="CodeValue" multiple>
<option value="--none--" selected>--none--</option>
</cfselect>
The Tag...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.