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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grid Trouble

Status
Not open for further replies.

azrobert

Programmer
Apr 27, 2002
392
US
Very basic question:

I am using the following sample code to try and display a grid on a cfm page. There are no errors and I can see the submit button but no grid is shown. What am I doing wrong. I am creating this page in dreamweaver mx 2004.

Thanks in advance!

<cfquery name="empdata" datasource="ConTest">
SELECT * FROM Customers
</cfquery>

<cfform name="Form1" action="submit.cfm" >

<cfgrid name="employee_grid" query="empdata"
selectmode="single">
<cfgridcolumn name="ID">
<cfgridcolumn name="LastName">
<cfgridcolumn name="FirstID">
</cfgrid>

<br><input type="Submit" value="Submit">
</cfform>
 
Do you relly have a query column named FirstID?

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel. Covey
 
Actually that is a typo, it should be last name, it is lastname in the actual code. I get no errors on page but can not get the grid to display the records, or anything at all for that matter, i do get the submit button. I have never used a grid before in a cfm page and would love to start using them.
 
Thanks a lot !!!! I am at work now so I will play with that tomorrow !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top