Solved

Urgent question

Posted on 2006-07-23
3
243 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
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
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.

733 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