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.
Related Q&A from Maureen Leland
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.