Ask the Expert

Back up local address books on server, revisited

I have trouble with Back up local address books on server. I don't understand the code, I guess. Can you explain it to me?
The first step would be to create your backup database on a server, say you call the database foo.nsf and the server "Bar." You would then create a form in that database with a Rich Text field (note that in Release 6 you could also use a Rich Text Lite field and restrict the input to file attachments). In the tip, they named the form "Field," but I think it would be clearer to call it something like "backupform." Then you could do as the tip said, writing the first part of the formula as follows: @Command([Compose];"Bar" : "foo.NSF"; "backupform");

This first part of the formula creates a new document, and the focus would be in the Rich Text field (a certainty with only one field on the form!). The second part of the formula, @Command([EditInsertFileAttachment]; "c:\lotus\notes\data\names.nsf"; namesbup) assumes the user's local address book is located in c:lotusnotesdatanames.nsf, and namesbup must resolve to either a 0 if you don't want to compress the file, or 1 if you do. It then copies the user's address book as a file attachment into that document.

This was first published in November 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: