Lotus Notes Common Questions
Lotus Domino / Notes is one of the most popular document database systems. As a group system, it uses its powerful functions to make it more and more widely used in enterprises and government office automation. The author summarizes some common issues of Notes development and management, I hope to help everyone. Q: How to compress my Notes workbench when the hard disk space is not enough? A: Since the Notes database is a typical document database, it will take up a larger hard disk space after long-term use, and we need to compress these databases often. Common compression methods are: 1. Right-click any worktable page and select WorkTet Attributes. 2. Select the second property button in the "Workbench" Properties box and click the Compression button to implement compression.
Q: How do you save it as a template for your own database to use it later? A: If a database has been developed or changed, we usually want to save its structure for future development. This approach not only saves time, but also ensures consistency between the application. We use the following steps to save a database as template: 1. Select "New Copy of the File Database". 2. In the Copy Database dialog, enter a server, title, and file name, where the file extension is NTF. 3. Select the Database Design check box and save it as a database. 4. Click the "OK" button to generate a database template.
Q: When debugging the Lotus Domino program, often trigger the QNC.exe program and exit Notes, how to solve it? A: When debugging the Lotus Domino / Notes program, due to the problem of programming, we often trigger the QNC.exe program and prompt the error. In fact, Qnc.exe performs purposes just notes memory protection measures, and does not necessarily have errors in the program itself. For ease of debugging, we can type qnc _u in the Lotus Domino command window to suspend run. If you want to recover, you can load it with the QNC_i command.
Q: After the server reloads, how to reconnect to a new server for a machine that has installed the Notes client? A: First you need to generate a new user ID file with the newly built server and delete the original ID file. In order to reinstall Notes on the client, we need to reset the client as follows: 1. Remove Desktop.dsk, log.nsf and names.nsf files. 2. Edit the Notes.ini file in the text editor, keep the top six lines in this file, the rest of the content, save the Notes.ini file and exit. When you double-click the Notes icon again, the Notes system automatically performs the installer, you only need to connect to the new server with a new user ID file.
Q: How can I run Notes again when I use it? A: Usually NOTES is abnormal exit, the system cannot run Notes again. At this time, the common method is to restart your computer and run Notes. In fact, we can also start NOTEs immediately without restarting your computer, let us manually kill a process nhldaemn.exe left in memory due to Notes exceptions, and then we can start Notes again.
Q: How to hide the Lotus itself in the development of the Lotus Notes application system? A: In order to hide the list of Lotus itself, we need to add the following definition: Declare function getActiveWindow lib "user32.dll" () As long declare function setmenu lib "user32.dll" (Byval HMenu as long) AS Integer then adds the following program in your script: DIM HWND As long hwnd = getActiveWindow () Call setMenu (hwnd, 0) Pass the above steps, you can implement the hidden Lotus itself. Q: When the server starts, the Notes display message says "Not Notes.ini file", how to solve it? A: If you run the Windows version of Notes server software, use the writepad to display and edit the autuexec.bat file, add the directory where the Notes.ini file is located in the Path statement, and restart the machine. Q: How to change the window title text when developing a Lotus Notes application system? A: In order to make the developed Lotus Notes application system more commercial, we need to change the Notes window title strip text. We can open the Notes.ini file in the text editor, plus a row code: window_title = string. String is the window title text we need. Q: Database's documentation often creates a copy and saving conflict, how to solve? A: "Copy and Save Conflict" is due to two or more users to modify the same document, or multiple users are different from the same document The copy is modified and copied when copying. For public databases, you can avoid them by using views as "sharing for the first time as private". In addition, the "Merge Copy Conflict" property selected for the selected form can combine modifications to different domains of the same document into the same document to avoid copying conflicts, but if it is a modification of the same domain, there will still be conflict documents.
Q: How to get the time of the Domino (server)? A: When you need to get the server time, create a new document on the server, get the creation time of this document, pay attention to this new text document.
Q: How to delete private views with Lotus Script? A: DIM Session As New Notessession Dim DB As NoteSDatabases DIM DOC AS NOTSDOCUMENT SET DB = Session.currentDatabase FORALL I in DB.Views Set Doc = DB.GetDocumentByUnid (v.Universalid) 'This place view is handled as documentation. In order to take some properties of the view. ViewFlag = Doc.getItemValue ("$ FLAGS" if Viewflag (0) = "PYV" The "PYV" is a private view. Call i.remove end if End Fort
Q: How to access NT-based Domino servers with a browser? Because the default homepage on NT is Microsoft, I don't know how to change to Domino. A: NT Server default Using Microsoft Homepage is due to starting NT IIS service, there are three solutions: 1. Turn off the NT itself IIS service so that the Domino Server's HTTP server can use the 80 port. 2. Modify the port of the HTTP task on Domino to 80, and enter the L Oad http command from the Domino Server to start the HTTP task. When accessing the Domino database from the browser, add the port number after the URL address, such as www.lotus.com.cn:81 3. Integrate Domino Server with IIS to enable IIS to access the Domino database, and then set the default home page in IIS. Q: Notes can run on the IMAC? It is not an IMAC's PC interface. Is it interconnected by Apple Talk? A: Notes Client has a Mac version, but Domino Server can't run on the Mac, and the additional Notes supports the Apple Talk network protocol.
Q: How to set Domino to set the SMTP server how to set Domino into a SMTP server used to send a letter (you can not accept). Follow the default settings, always talk about the address in the address, contain non-ASCII characters. A: Non ASCII characters are usually caused by Chinese usernames. Setting Domino Server for SMTP Server, you need to set up in server document: Route Tasks: Mail Routing, SMTP Routing Limited Internet Host Name: Host Name Internet Domain Name (with. Connection) SMTP Listening Tasks: Enable, 4.6 Alternatively, SMTP MTA is installed, and R4.6X integrates SMTP MTA into Domino Server. After R5, the Domino dam SMTP has made a task on the server, and there is no need to install MTA. The SMTP MTA configuration of R4 has a detailed description in the help document, mainly in the following documents (all in public address books), and the SMTP MTA 2 in the server document, the network domain (globaldomain) 3, Network field (external SMTP network domain) 4, the connection document (from the server to anyhost) First need to set a separate server to send up the Internet mail (ie the mail task is SMTP mail mailing), then set the global network in the public address book Domain, external SMTP network domain, and SMTP connection document three documents. Main settings in the global network field: In the Basic section: Global network domain name, "global network domain role" is "SMTP MTA", "Default Global Network Domain" in "SMTP Address Translation" section: "Internet Network Domain Suffixes and Notes Network Domain Settings SMTP network domains: Internet network domain *. *, Arbitrarily set a network domain name. Create a server connection document, set the connection type as SMTP, the destination network field is the same as the Internet network domain set in "SMTP Network Domain", and should be set to send a message to send the above configuration. The SMTP of R5 can directly use the DNS of the operating system, only the "Routing / SMTP" page in the configuration document in the Domino directory, the basic area segment is set: the message left the local Internet network domain uses SMTP to leave the local Internet network domain forwarding Host: If it is connected to the Interblede by proxy server or firewall, enter its IP address; if it is directly connected to the Internet, then after the domain is complete, restart the Domino server. Q: How to open another database B in the documentation of Database A. A: Create an RTF domain in the form of database A, and establish a connection with the NotesrichTextItem's AppendDoclink. Or in the edit mode, open the documentation of the database B, then click the link copy-document link from the Edit menu, and then paste it in the RTF domain of the database A form.
Q: About Win98 and Domino installed Domino under Win98, sometimes, sometimes it is not. When NOTS is started, the NLNOTES is displayed Q: Is the WebQueryOpen event of a Notes document running when creating a new document and open reading? If you just want to run when you are created, don't run when you open your reading, what should you do? A: You can use the @isnewDoc function to use the @isnewdoc function in the WebQueryopen event to determine whether the document being operated is new. Q: What are the sites about Lotus on the Internet? A: Lotus Company Site: www.lotus.com.cn www.lotus.com support.lotus.com www.notes.net IBM Red book: http://www.redbooks.ibm.com/ and some other newslets: news .cz.js.cn news.vol.cz news-reader.wcg.net read1.tor.accglobal.net comp.groupware.lotus.notes.misc comp.groupware.lotus.notes.admin comp.groupware.lotus.notes .application ... Q: How to read the format text with Notes? A: What kind of formatted text? If you are an Excel or Lotus1-2-3 table, you can transfer it directly with DDE. Is it "read" when the document edit, or write "read"? If the former, use "Copy" -> "selective paste". If the latter, you can trouble more, first know what "formatted text", then you can decide how to handle the next step. Q: When using Lotus Notes to do server (NT), the workstation cannot log in, editing the HOSTS file under Windows of the workstation, write the server IP address, still useless, please ask questions here? A: Please note: 1. Host files written? After the IP address, you must have a server (Domino) name 2. Whether the server is started normally. 3. Workstation address prompts something error from the client's command line Ping Domino server name Physical connectivity of the network (TCP / IP protocol) can be tested. Also note the ports and use of ports and uses that are activated in NOTES's servers and clients. Set the DNS server address under Windows. There are several solutions: 1. Construction of a DNS server 2 on NT, or build a WINS server 3, connect the server through the NetBIOS port (don't forget to activate Domino's LAN0 port) 4, Host file Q: How to get in the agent Delay execution? Write a program with Script in the agent, and a certain piece of code needs to be delayed for a few minutes during the execution, is it similar to the delay statement, can you? How to do? A: You can use the Timer or SLEEP statement to use Timer or SLEEP statement in Lotus Script, in detail and description in Notes Help. Q: How to shield a document Save Conflict When a document saves a conflict, how to block the system's information box, and pop up your message box? A: You can write a program in the QuerySave event. Find a document in the database according to the UNID of the current document. If this document is modified by others, the value of $ revion is certainly different from the current saved! Q: About QNC error often appears in QNC error, what is going on? A: It is best to remove it with QNC -U. QNC is a Debug program for Lotus. The practice is to delete QNC directly on each client. It can detect your system's question to give you a prompt, let you know the problems or small or large in your system. Is it a bit like a monitizer? If it doesn't like it, it can be kept in DOS (or "run" in Windows) to make it no longer run. If you think it is necessary, you can load it with QNC -I. Q: Reply document? Does the reply document inherited which Field from the main document? A: It can inherit the field in the main document, call with the domain name of the primary document (the default value for the repository domain " The domain name). Q: Notes Client can't run, I don't know what to change. After the Notes Server is running, the Notes Client can't run, only the Splash window is finished. When Notes Server is closed, the Notes Client can run. A: If you set a password on the Domino Server, this will happen to remove the password. In addition, Domino Server and Notes Client have higher system resources, it may cause some conflicts when starting, so it is not recommended to use Server and Client simultaneously on the same machine. Q: How do I use the Notes? There are Lotus Domino and WWW servers in the local area network, how to use Notes as the default email system of the intranet network? How to write a hyperlink of the email address in the web page? A: NOTES Email Outside the following form: username / groupname @ domain, such as: White / Soft @ Soft Setting Notes in the Internet browser to the default email system. Take IE as an example: After installing Notes in the client, start IE, then set the email option to "Lotus Notes" in the program page of the Internet Option. Set the mail address of notes in the web page. The same message is the same as the Internet address: set one connection, the content is Mailto: user / ou / org @ Domain Q: If you don't find the driver that matches the MODEM when installing notes / cc: mail, how should you solve? A: There are three solutions: first select "Modem File" download the latest Modem driver package (zip file) under the Quick Link in www.notes.net; or select the CC: Mail random driver with Modem Most A similar driver; Finally, you can customize your own drivers according to the format of the CC: Mail Modem driver (.mdm). Q: Can the shared mail database move from Servera to Serverb? A: No! Because the shared mail database is encrypted by Server ID, only the Server ID of this database can access it. If you want to move users from Servera to Serverb and still use the shared database, you can use the following steps: 1>. Create a new shared database copy from Servera to Serverb. That is, a connected mail database is generated in ServerB. 2>. Establish a shared database connection: load object link -relink usermail.nsf shared mail database .nsf Q: How to hide (or display) it (or displayed in * "when using a browser to access Domino A: R4.6X, type: type = password R4.5X in this domain: Type = Password R4.5X, type in the help description item of this domain property box: type = "password"] Note: Type = password is only suitable for Editable field editable Q: In the previous Notes version (so 4.5.2), when 1950-1999 was 1950-1999, Notes showed only two digits. After 2000, four digits were displayed. Such as 07/07/1997 Notes displayed as 07/07 / 97; 07/07/05, Notes appears as 07/07/2005. How to solve these versions? > = 50; @Text (DateEntry; "D2" "/" @Text (@YAR (Datentry); DateEntry) Q: Do not use the partitioning server, how to install two Domino servers on one NT server (one R5, another R4.x). A: Partition server is mainly used to ensure that you can start more on one machine Domino server. If you just start a server at a time, just install a few Server in different subdites, then change the shortcut to launch Server, add "= / notespath / notes.ini" after Nserve.exe, where Notesp Ath is The directory (absolute path) of Notes.ini. It should be noted that the previous Server's Notes.ini is automatically changed to Notes.00x when installing new Server to distinguish the current Notes.ini. Q: When the Notes exception exits, system information usually prompts to restart your computer. Is there a way not to restart your computer and start nows? A: Just use the operating system's task manager, manually shut down a program that is left in memory due to Notes exception: NHLDAEMN.EXE, you can not restart your computer, and immediately Start NOTES. But when you run Domino on your computer, you need to turn it off first before you can start NOTES. Q: How to set the automatic forwarding function of Domino Server? A: Edit the personal document in the public address book, fill in the target user mail address in the "Forwarding Address:", then all messages of this user will automatically forward to the destination address (can be a Notes address or Internet address) . Q: How to set the permissions of execution agent? A: Performance to execute the agent is limited by the domain related to the server document in the public address book. It should be noted that the user name set in this should be used as the user ID used when signing the agent, not the user ID of the agent. Each time you modify each time you need to sign again. Regardless of this agent runs in the front desk, the background or in a web mode, the server checks if the user ID of the agent has the corresponding permissions. Q: How to set Domino Server as a servics for NT, enabling administrators to set up DOMINO Server from Server Manager? A: When using Notes R4, you can use the NOTES SERVER's program directory (usually c: / notes) Run NTSVI NST -C; R5 requires a selective installation when you install Domino, an option "Domino is used as NT service". Continue after selecting, the system will automatically perform related settings. If the corresponding setting is not performed at the time of installation, you can install it once on the original Domino installation directory, you can only install this option by custom installation. Q: Which Chinese is entered in the English version of Notes? A: In the version after Notes 5.0, you can already enter and display Chinese directly (there may be individual input methods that do not support it, you can use the input method of the operating system to bring). The 5.0 edition previous English Notes needs to copy the following files under the list of Notes: 1. Covestd.cls 2 with COLLGB.CLS. Override L_CPWIN.CLS and L_CPDOS.CLS with l_cpgb.cls