Find jobs - Deaf Topics - Spanish Property - Myspace Code - Debt Consolidation

PDA

View Full Version : A Newbee needs your help


ICEMAN2303
Dec 5th 2006, 9:55 am
First i load a grid with all of the information but i need to be able to alow the user to select letter and then refres the grid with on the information that begins with that letter? Please help

tbarr60
Dec 15th 2006, 11:40 am
First i load a grid with all of the information but i need to be able to alow the user to select letter and then refres the grid with on the information that begins with that letter? Please help
I assume you did a database query to get the data for the grid. Make another page like that one but include the letter variable in the query. If you pass a variable (say myletter) via link you can refer to it as url.myletter so your query could be like:

select *
from mydata
where myletter="#url.myletter#"

This will get only items associated with that letter and you can display in the grid.

datropics
Dec 16th 2006, 6:57 pm
pretty cool spirit