Skip to content
Advertisement

Loading table values into a poplist, current value displaying correctly

I have two tables in my library database, Books and BookTypes:

When I load the Edit screen from my search results page, I have got the three types displaying.

But can’t get the currently selected value of the book to display(It’s always Digital).

My Edit Page Code is:

How do I ensure the current value of the selected book’s booktype is selected on the poplist when I load the edit page?

Advertisement

Answer

You need to do something like this

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement