Popupmenu help pls!

Hello i’m makeing a L’ll project just to get use to this program.
but now I got a little problem. I want to use 2 popupmenus in the 1 menu will be some names and I want to have the 2e popupmenu to be changed on the item you selected in the 1 box how can i do this?

this wat i got :

[code]
if popup_locatie.Index = “Florida”

popup_locatie.AddRow "Autorondreizen"
popup_locatie.AddRow "Villa/appartement"
popup_locatie.AddRow "Florida in combinatie met wintersport"
popup_locatie.AddRow "Motorreis Florida"
popup_locatie.AddRow "Golfreizen / Golfvakanties  *NIEUW*"
popup_locatie.AddRow "Korte trips"
popup_locatie.AddRow "Combi reizen Florida"

end if[/code]

Make a new project.
Add two popupMenus, called popupMenu1 and popupMenu2.
In the Event Handler called Open, put this:

PopupMenu1.AddRow "Florida" PopupMenu1.AddRow "Nevada" PopupMenu1.ListIndex = 0

In popupMenu1.Change put this:

[code] PopupMenu2.DeleteAllRows

if Me.Text = “Florida” then
PopupMenu2.AddRow “Autorondreizen”
PopupMenu2.AddRow “Villa/appartement”
PopupMenu2.AddRow “Florida in combinatie met wintersport”
PopupMenu2.AddRow “Motorreis Florida”
PopupMenu2.AddRow “Golfreizen / Golfvakanties NIEUW
PopupMenu2.AddRow “Korte trips”
PopupMenu2.AddRow “Combi reizen Florida”
elseif Me.Text = “Nevada” then
PopupMenu2.AddRow “Autorondreizen”
PopupMenu2.AddRow “Villa/appartement”
PopupMenu2.AddRow “Nevada in combinatie met wintersport”
PopupMenu2.AddRow “Motorreis Nevada”
PopupMenu2.AddRow “Golfreizen / Golfvakanties NIEUW
PopupMenu2.AddRow “Korte trips”
PopupMenu2.AddRow “Combi reizen Nevada”
end if

PopupMenu2.ListIndex = 0[/code]

What you are trying to do above is to add rows to the popup menu where your user is choosing the state, which I think is incorrect.