?
Solved

Urgent question

Posted on 2006-07-23
3
Medium Priority
?
246 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 2000 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

762 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