1

I have a page form where the user can make a new account. Every user has a type. The user must choose which type of user it is. I have two tables (Users and UserTypes). What I want to do is user must choose the type from a select list which contains UserTypes.usertype in a table which has UserType_id a PK and FK in USERS.

How to make every value of that select list represent it's PK? Thanks.

LOV and SOURCe of my page item

1 Answer 1

1

You have to change your Select List type. Choose SQL query in List of Values section, as a source of a list write following:

select usertype, usertype_id from usertypes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.