Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dropdown list selection
Message
De
01/05/2003 01:54:45
 
 
À
23/04/2003 21:45:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00780960
Message ID:
00783567
Vues:
10
>I am developing a webpage which has a form on in which accesses a foxpro database using afp3. My problem is that on the form i have a series of 5 dropdown lists each accessing a different table and the data to be presented in each one depends on the one before.
>
>In fact the idea is very similar to the one used on this form. Where the Category options that are available are dependent on the Forum selected. I want to do this on all 5 dropdown lists using afp3.
>
>Any help would be very much appreciated.

When you only have one or two levels, you can send all data in a javascript and manipulate it locally. But, when you have so much levels, the only good approach I can see if to use the server to refresh what has to be refreshed. However, you probably don't want to refresh the entire page at every change of one listbox. See when creating a message here: change forum, the category is being refreshed. This is probably what you want. In your case, you will probably make use of a hidden frame. Then, whenever you need to refresh a part of the page, you can use that hidden frame to query the server, return some javascript code to DHTML the other frame. Simple! :) Basically, use the Time Warp here, go back two days, you'll get a treeview. However, whenever you'll click on it, that is exactly what it is doing.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform