Solved

Urgent question

Posted on 2006-07-23
3
245 Views
Last Modified: 2013-12-18
Hi all,

I have a categorized view in which I am using "show single category" depending on different roles I am displaying different view selections. On the form where the view is embedded I have a combobox field which does a lookup, based on selection of that field, the data is displayed. Now I need to use @DbCommand("Domino";"ViewNextPage") to get to next page of data. However, everytime I click the "next" button to navigate to next page of result, the lookup field (combobox) resets to the first option "0" value instead of the previous selected value and the view then displays "No documents found".

this is a web app.
Any idea how i can quickly fix this problem.
I am not using &restricttocategory instead "show single category"

Thank you all in advance.
0
Comment
Question by:varvoura
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 17163362
Two ideas, that's all:

a) Instead of the default value in the combobox, use a formula like:
    @If(combobox=""; default_value; combobox)

b) Is there a SaveOptions field? Remove it.

c) It might be necessary to add the combobox to the URL, but at the moment I wouldn't know how to do that in combination with @DbCommand("Domino";"ViewNextPage")

2.5 ideas actually... My 2.5 cents therefore.
0
 

Author Comment

by:varvoura
ID: 17166357
Thanks sjef, but I am still not having much luck with it.
I have noticed though today while fiddling around that, if I keep all my view selection and show single category forumlas as they are but include a category as default value of the comboxbox, For example, "CD" where CD is one of the categories, I seem to get the viewnextpage to work but only until it reaches the end of the CD category.
Maybe passing the combobox in the URL will be an idea, this way, it is capturing the category on the fly and it displays the view navigation accordingly.
However, if YOU with all your knowlege not sure about this, what chance have I got to get this working?
0
 

Author Comment

by:varvoura
ID: 17166365
sjef, I have some code that may resolve the problem. Do you think you can help me modify it?

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question