Default View ID

Posted on 2003-03-12
Medium Priority
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.

Question by:Tweedy
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
LVL 63

Accepted Solution

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,


Author Comment

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

Expert Comment

ID: 8118853
Oh, you are welcome :-)

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month12 days, 8 hours left to enroll

777 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