CF_Columns

The <CF_Columns> tag dynamically creates the STARTROW and MAXROWS attribute values. The two parameters needed are the number of columns to display the output in and the record count of the query to display.

Click the 'View Source' image below to see the code that dynamically creates the columns using the <CFLOOP> tag.

The tag:

	<CF_Columns Cols="5" Records="#Query.RecordCount#">

Returns the variables:
	start1, end1
start2, end2
start3, end3
start4, end4

The 50 states are currently displayed in 4 columns. To view the states in another number of columns, enter the number below and click the 'Display' button.

Alabama
Alaska
Arizona
Arkansas
California
Colorado
Connecticut
Delaware
District of Columbia
Florida
Georgia
Hawaii
Idaho
Illinois
Indiana
Iowa
Kansas
Kentucky
Louisiana
Maine
Maryland
Massachusetts
Michigan
Minnesota
Mississippi
Missouri
Montana
Nebraska
Nevada
New Hampshire
New Jersey
New Mexico
New York
North Carolina
North Dakota
Ohio
Oklahoma
Oregon
Pennsylvania
Rhode Island
South Carolina
South Dakota
Tennessee
Texas
Utah
Vermont
Virginia
Washington
West Virginia
Wisconsin
Wyoming


Join Our E-Mail Newsletter

For Email Newsletters you can trust


Sister Sites

RiteTech LLC
Modern HOA