Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modify a downloaded .NTF

Status
Not open for further replies.

mdabney

IS-IT--Management
Jul 1, 2002
77
US
I downloaded a template from LDD for expense report database. There actually two templates, one for the expense report and the other for a personal profile. I was able to modify both templates to reflect my company with no problem. I was then able to create a personal profile. However, when I tried to complete the expense report I got errors that it could not connect to the personal profile database. I'm not sure what to change. I found the script that relates to it, but what do I change. The error says I need the correct connection key of XXXXX-Personal Profile Db. That comes up twice then it says it needs connection key for accounting XXXX-Accounting Approval. The XXXXX is my domino server. The script for the connection is below:

currentserver := @Name([CN]; @Subset(@DbName; 1));
@Set("currentserver"; @Name([CN]; currentserver));
key := @If(currentserver = ""; "Local"; LFGN1) + "-Personal Profile Db";
server := @DbLookup("" : "NoCache"; ""; "(LookupConnection)"; key; "TrueTargetServer");
@If(@IsError(server); @Do(@Prompt([Ok]; "Personal Profile Db Error"; "There was an error in retrieving the Personal Profile Db server name. Please contact an administrator to resolve this problem. The connection key should be " + key); @Set("server"; "")); "");
server

The template does not come with instructions. Does anyone know how I can make this work.
 
Could you provide the link you used to download the template ?

Pascal.
 
If anyone else needs to use this database, the trick is to open the hidden config view and make your changes there. It took a minute, but now it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top