|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Gold member |
We have an html launch page setup with a half dozen listboxes. It seems to take a while to load these list boxes from the database. We are using the dynamic control values method from the Resource Layout tool. Is there a way to find out what Webfocus is doing in the background to load the listboxes? I suspect it is going against the whole table to find all the distinct values. Should we write a stored proc to do this?
|
||
|
|
Silver Member |
What we did was to have a nightly scheduled run of all the lists that would be used in the form. Then just include those lists (found thru a filedef) in your html.
Since the lists were pre-generated the forms would load nearly instantly. Hope that gives you some ideas. Vivian Perlmutter www.aviter.com vivian@aviter.com |
|||
|
|
Expert |
i totally agree with Vivian. i,too, generate all my lists as part of my etl procedures (hourly refreshed) and place them so that they can be filedeffed in my MRE as well as read by my self-serv .asp launch pages as serverside includes.
Creating them, i define a variable that is the complete option tag. OUTPUT/A100='[OPTION NAME=MYITEM VALUE="' | MYVAR | '">choose this region[/OPTION>'; and then print one OUTPUT value for each value of MYVAR as a format alpha file which gives it a .txt extension. Just change your mre launch pages from html pages to fexes (copy and paste) and then start your mre launch page/fexes with FILEDEFS to your text files, followed by the html tag and the rest of your launch page . Does this help?(you know those brackets are left carets, right?) |
|||
|
|
Gold member |
Thanks ladies, I'll try your suggestions. This technique should probably do the trick.
|
|||
|
|
Silver Member |
Our DBA's were kind enough to have created lookup tables containing all the possible values. We leverage these tables, and our drop-downs only take a few seconds to load.
You can check out the actual queries by looking in your Temporary Internet Files folder (same place where cookies are stored). You'll see some XML docs with the adhoc fex embedded in the name. Basically, it does: TABLE FILE SOMEFILE SUM FST.VALUE_FIELD FST.DISPLAY_FIELD BY VALUE_FIELD ON TABLE PCHOLD FORMAT XML END So yes, it does a full-table-scan. -Michael |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

