Dear experts,
I have a table structure with following attributes:
route_Name, blockNmae, blockID, route_ID
RouteID is a unique id but blockID is not.
A route_Name is associated with blockName.
This means that route_name can have one blockName or many blockNames.
So, you could have a situation like this:
Route_Name blockName
route1 blockname1
route1 blockname2
route1 blockname3
___________________________
route2 blockname1
route2 blockname2
etc
My question is, is there anyway to come up with a code that will allow a user to view one blockname, then if he or she chooses to view the next blockname, he or she can click a button that says "next block"
He or she will keep viewing all the blocknames related to a particular route_name until all the blocks related that route_name have been viewed.
Then you get a message that says:
last blockname for route_name.
You would then be prompted to continue to next route_name.
I know this is complicated, to me it is.
So any help would be greatly appreciated.
Thanks in advance
I have a table structure with following attributes:
route_Name, blockNmae, blockID, route_ID
RouteID is a unique id but blockID is not.
A route_Name is associated with blockName.
This means that route_name can have one blockName or many blockNames.
So, you could have a situation like this:
Route_Name blockName
route1 blockname1
route1 blockname2
route1 blockname3
___________________________
route2 blockname1
route2 blockname2
etc
My question is, is there anyway to come up with a code that will allow a user to view one blockname, then if he or she chooses to view the next blockname, he or she can click a button that says "next block"
He or she will keep viewing all the blocknames related to a particular route_name until all the blocks related that route_name have been viewed.
Then you get a message that says:
last blockname for route_name.
You would then be prompted to continue to next route_name.
I know this is complicated, to me it is.
So any help would be greatly appreciated.
Thanks in advance