Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Default View ID

Posted on 2003-03-12
3
Medium Priority
?
223 Views
Last Modified: 2013-12-18
In the database that my company uses there is a coded feature that sends emails to various depts when there is a status change on a particular document. Status A needs to be looked at by production, Status B by sales etc. When the status changes (after certain fields are filled in) an email is generated to inform the next dept that the form is ready for their attention.
The problem - The email contains a doclink for easy access to the form
 ( Call body.appenddoclink(doc, "Click here") ) that for some reason, beginning a few days ago, has started to generate errors. Whenever the code gets to this line the user gets an error message reading

"Couldnt get default view Id for database (Folder\DBname.nsf)"

and then the code terminates at this line.
If i comment the line out, the rest of the code works fine.

Can anyone tell me what is causing the problem and what i need to do to fix it please.

Thanks.
0
Comment
Question by:Tweedy
  • 2
3 Comments
 
LVL 63

Accepted Solution

by:
Zvonko earned 200 total points
ID: 8118717
Look at Design list of the views.
One of the views has to have the blue arrow marking that particular view as the Default view (only ONE dark blue arrow can mark one view).

If you have none of the views as default, then open one of the views and choose in the View properties dialog this view as the default view.

Good luck,
Zvonko

0
 

Author Comment

by:Tweedy
ID: 8118758
You are a genius my friend!
Thanks alot.
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 8118853
Oh, you are welcome :-)
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
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 a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

577 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