[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Error -> Could not get default view id for database (Tracking.nsf)

Posted on 2003-10-23
10
Medium Priority
?
1,218 Views
Last Modified: 2013-12-18
when I added the new code

Dim rtitem As notesrichtextitem
      Set rtitem = message.createrichtextitem( "Body" )
      
      Call rtitem.AppendDocLink( uidoc.document , "link to document" )
      Call rtitem.AddNewLine(2)
      Call rtitem.AppendText( COMMENT )

I get that error and nothing happens?
0
Comment
Question by:Jaziar
  • 4
  • 3
  • 3
10 Comments
 
LVL 15

Expert Comment

by:Bozzie4
ID: 9606379
You need a default view in the database

So choose one of your views, and click the propery ' Default when database is first opened'
I don't think it's necessary that the document actually is in that view, but it is possible that it should.

cheers,

Tom
1
 

Author Comment

by:Jaziar
ID: 9606424
OK I made a default view - I get the email with the link icon - click it and get the message can not locate default form?

Thanks for staying with me Tom
0
 
LVL 15

Accepted Solution

by:
Bozzie4 earned 1600 total points
ID: 9606425
Note : The default view should be accessible to everybody who uses the database, and it can't be hidden (name between () ).

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 9

Assisted Solution

by:Arunkumar
Arunkumar earned 400 total points
ID: 9606450
now you should have a default form for the database.

you can have this by the form properties.

Pick the main form in your application and make it the default form.

:-)
0
 

Author Comment

by:Jaziar
ID: 9606456
It is open to all readers.
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 9606459
Now the real problem is your document does not have a "Form" Field i guess  check it out.
0
 

Author Comment

by:Jaziar
ID: 9606474
It is working now!!!!!!!!!!!!!  
0
 
LVL 15

Expert Comment

by:Bozzie4
ID: 9606482
You don't really need an actual form field, but it could help to add a line like

uidoc.document.Form="nameOfYourForm"

Or make the form you want it to open with, the default form.

cheers,

Tom

0
 

Author Comment

by:Jaziar
ID: 9606615
Arunkumar - I owe you some points and I wanted make sure you got them.  
Thanks to both of you
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 9606675
No problem Jaz !
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

834 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