Solved

Urgent question

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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.
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now