This topic is locked
[SOLVED]

 Lookup Wizard Help

5/8/2010 11:04:57 AM
PHPRunner General questions
R
runey author

I'm trying to use the lookup wizard to create a dropdown box that only shows options based on the selection of a previous dropdown box...
Table structure is...

tblMaster tblGroups tblGroupSubgroups tblSubgroups

MasterID -----> groupID -----> groupID |--> subgroupID ---

groupID groupName subgroupID --| subgroupName |

subgroupID <-----------------------------------------------------------------------


Sample table

tblMaster tblGroups tblGroupSubgroups tblSubgroups

1 1 1 1

1 Group1 1 Subgroup1

2

Subgroup2


So when I select a group in the first dropdown box I only get choice of associated subgroups...

In the case of the sample data I will be able to choose Subgroup1 but not Subgroup2...
For the life of me I can't figure out a way of getting it to work...
I can select a category control of GroupID but only have the option of selecting subgroupID for category field...
Any help will be appreciated...

R
runey author 5/8/2010

Well I have it working...
Even though I had created a VIEW in MySQL it still wouldn't let me slect groupID in category field...

Deleting the add and edit pages doing a build... Then adding new add and edit pages and build again...

This time it let me select groupID as it should...
Not sure what happened but at least it is working now <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=49643&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />