Click or drag to resize

ICommenceDatabaseGetLastError Method

Gets the last error that occurred during DDE conversation. Inspect this value if a call failed.

Namespace:  Vovin.CmcLibNet.Database
Assembly:  Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntax
string GetLastError()

Return Value

Type: String
NACK code. If the NACK error code is less than 100, then that number indicates the position of the parameter that was invalid. For example, if the EXECUTE command [EditItem("Person", "John Doe", "Work Phone", "(123)555-1234")] returned a NACK error code of 2, then perhaps a John Doe does not exist in the Person category.
NACK codesError description.
100 (0x64)Out of memory.
101 (0x65) Internal error.
102 (0x66) Wrong number of parameters.
103 (0x67) Unknown conversation topic.
104 (0x68) No Phone Log category has been set; returned by LogPhoneCall EXECUTE command. Use Customize-Preferences-Event Logs to select a category.
105 (0x69) No category selected; returned by ViewData REQUESTS not preceded by a ViewCategory.
106 (0x6A) Unsupported clipboard format.
107 (0x6B) Unsupported field type.
108 (0x6C) Field/qualifier mismatch; returned by ViewFilter REQUEST.
109 (0x6D) Unknown EXECUTE command.
110 (0x6E) Parsing error. Check syntax of DDE command.
111 (0x6F) Unknown REQUEST item or parsing error.
112 (0x70) Cannot add new item, category full; returned by AddItem, AddSharedItem and LogPhoneCall EXECUTE commands.
113 (0x71) File I/O error. Is the disk full?
114 (0x72) Connection already exists; returned by the AssignConnection EXECUTE command.
115 (0x73) No such connection exists; returned by the UnassignConnection EXECUTE commands.
116 (0x74) The category has been invalidated.
117 (0x75) The item has been invalidated.
118 (0x76) An "every" date was received, or is the default value for a date field. Date ranges are not supported via DDE; returned by the AddItem or EditItem EXECUTE commands.
119 (0x77) Non-unique item name; returned by the AddItem or EditItem EXECUTE commands.
120 (0x78) Parameter too long; returned by the AddItem, EditItem and AppendText EXECUTE commands.
121 (0x79) No active child window or child window is unsupported; returned by the GetActiveViewInfo and GetLetterViewInfo REQUESTS.
122 (0x80) Agents are currently disabled. Returned by FireTrigger.
123 (0x81) No item has been marked. Use ViewMarkItem or AddItem to mark an item.
124 (0x82) Incompatible image type. Returned by GetImageFieldToFile or ViewImageFieldToFile.
125 (0x83) Permission denied. Workgroup client does not have correct permission level.
126 (0x84) No (-Me-) item has been defined. Use Customize-Preferences-Personal Info.
127 (0x85) TAPI error encountered.
128 (0x86) An agent exists but it is currently inactive. Returned by FireTrigger.
201 (0xC9) Filter 1 has been invalidated; this may occur if a connCategory item is deleted/modified.
202 (0xCA) Filter 2 has been invalidated.
203 (0xCB) Filter 3 has been invalidated.
204 (0xCC) Filter 4 has been invalidated.
See Also