Thanks for the reply
the fields and field values being returned in this order: -
fields
Location,ID,Title,InsuranceValue,PurcahsePrice
Values sample
Room 9,1,happy valley,3500,3500
Room10,2,rounding the copelands,300,200
probably should of included the SQL statement I was using: -
strSQL="SELECT Asset_Register_Heritage.Location,Asset_Register_Heritage.ID, Asset_Register_Heritage.Title,Asset_Register_Heritage.Insura nce,Asset_Register_Heritage.purchaseprice FROM Asset_Register_Heritage ORDER BY Asset_Register_Heritage.Location,Asset_Register_Heritage.ID"
I have put into the code the statement <%=grouping%> --- <%objrs(i)%> just after the case 0 to see what values are being fired out each time and the variables being stored are correct as in when I want the statement to be false I'm getting
Room 9 --- Room9
which should ignore the td line but its not...
likewise when it comes accross a new value in the table and I want this to be represented this statement does all the right things i.e.
Room 9 --- Room 10
It just doesn't seem to be working in the if statement