Solved

Urgent question

Posted on 2006-07-23
3
237 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
Comment Utility
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
Comment Utility
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
Comment Utility
sjef, I have some code that may resolve the problem. Do you think you can help me modify it?

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now