home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / DECSDocumentation / lsxlc.nsf (.txt) < prev   
Encoding:
Lotus Notes Storage Facility  |  1998-11-17  |  944.0 KB  |  9,871 lines

  1. LSX for Lotus Connectors Manual
  2. NotesPump
  3. $Modified
  4.     1S2S3S
  5. $TITLE$FormPrivs$FormUsers$Body$Flags$Class$Modified$Comment$AssistTrigger$AssistType$AssistFlags$UpdatedBy$$FormScript_O$C1$
  6. $Flags
  7.     0SL1S4S5S
  8. $TITLE
  9. Comment
  10. CN=Scott Prager/OU=CAM/O=Lotus
  11. LSXClass
  12. LSXSection
  13. LSX Guide
  14. LSX Methods
  15. All Documents
  16. LSXMethod
  17. Remove Empty Fields
  18. ass$Modified$Comment$AssistTrigger$AssistType$AssistFlags$UpdatedBy$$FormScript_O
  19. $Flags
  20.     0SL1S4S5S
  21. $Modified
  22. CN=Scott Prager/OU=CAM/O=Lotus
  23. CN=Edward Knowlton/OU=CAM/O=Lotus
  24. CN=Lotus Notes Template Development/O=Lotus Notes
  25. CN=Glen Salmon/OU=CAM/O=Lotus
  26. iIW7g
  27. ;RQ~]
  28. d}NSWg
  29. =~kxWg
  30. zzW7Xg
  31. QVDXg
  32. 3o/*_Xg
  33. hkc)Cg
  34. &Arial
  35. Times
  36. LotusFrute
  37. Symbol
  38.     5Courier New
  39. Helvetica
  40. This chapter provides information about Connector properties.  These properties are used when creating Connections using the Lotus Connectors LotusScript Extensions.  
  41. ^=!Wg
  42. )WV.$Wg
  43. D:6ps
  44. \=\Wg
  45. }!fWg
  46. 3z    Xg
  47. |*-K4Xg
  48. )e9hXg
  49. ScO'~v
  50. .>>Z@&Yg
  51. &Arial
  52. Times
  53. LotusFrute
  54. Symbol
  55.     5Courier New
  56. Helvetica
  57. This appendix provides information about character sets, including character set translation, character sort order, and a list of the character sets supported by the LC LSX. 
  58. &Arial
  59. This is the constructor for LCCurrency.  It initializes a currency object.
  60. variableName as 
  61.  LCCurrency
  62. ##########################################################
  63. ##########################################################
  64. ##########################################################
  65. iIW7g
  66. CN=Edward Knowlton/OU=CAM/O=LotusCN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notess
  67. ~############
  68. ##########################################################
  69. ##########################################################
  70. ##########################################################
  71. ??>>=
  72. 111?>>
  73. 1111>>
  74. 1111?>
  75. 1111?>
  76. 1111?>
  77. 111?>>
  78. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=LotusLSX for Lotus Connectors Manual
  79. NotesPump##############
  80. Comment
  81. BodySubjectDateComposedFrom
  82. CN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  83. ##########################################################
  84. LSXSectionC
  85. SectionChapterDocumentNumberChapterNumberContents
  86. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes############
  87. All Documents
  88. Chapter
  89. AppendixF
  90.     1S3S6S9S11S
  91. LSXSection
  92. Chapter
  93. Class
  94.     3S4S6S8S
  95. LSXSection
  96. Section
  97. Chapter
  98. Section
  99. LSXClass
  100. Class
  101.  Description"
  102.     3S4S6S7S9S10S12S14S17S20S21S23S24S27S29S30S32S36S38S
  103. $17$12DocumentNumberSubject$16$Conflict$REF
  104. $17$12DocumentNumber$16
  105.  $17^
  106. Chapter
  107. AppendixF
  108.     1S3S6S9S11S$12\
  109. LSXSection
  110. Chapter
  111. Class
  112.     3S4S6S8S
  113. DocumentNumberSubject$16Title
  114. LSXSection
  115. Section
  116. Chapter
  117. Section
  118. LSXClass
  119. Class
  120.  Description"
  121.     3S4S6S7S9S10S12S14S17S20S21S23S24S27S29S30S32S36S38S
  122. 538Arial
  123. CN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  124. #######################
  125. Remove Empty Fields
  126. E4fL3
  127. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  128. ############################
  129. ##########################################################
  130. ##########################################################
  131. ##########################################################
  132. CN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes#######################################
  133. CN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes###############################################
  134. LSXClassC
  135. ClassDocumentNumberDescription
  136. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes#############################################
  137. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  138. ##########################################################
  139. LSX Methods&
  140. Class
  141.     1S4S
  142. LSXClass
  143.     3S4S6S8S9S11S14S16S17S19S21S
  144. LSXClass
  145. Class Description
  146.     3S4S6S8S9S11S14S16S17S19S21S25S27S
  147. $10Subject$9$7$Conflict$REF
  148. LSXClass
  149. LSXMethod
  150. Comment
  151.     L1S2S3S4S5S6S7S8S9S10S11S1"
  152. $10$9$7
  153.  $10Class(
  154. Class
  155.     1S4S
  156. Subject$9
  157. LSXClass
  158.     3S4S6S8S9S11S14S16S17S19S21S
  159. $7Method
  160. LSXClass
  161. Class Description
  162.     3S4S6S8S9S11S14S16S17S19S21S25S27S
  163. 538Arial
  164. CN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  165. ################################################
  166. ##########################################################
  167. ##########################################################
  168. ##########################################################
  169. ##########################################################
  170. ##########################################################
  171. ##########################################################
  172. ##########################################################
  173. ##########################################################
  174. LSXMethodC    
  175. DocumentNumberClassExampleNotesReturnsParametersSyntaxDescriptionName
  176. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes#########
  177. ##########################################################
  178. ##########################################################
  179. ##########################################################
  180. ##########################################################
  181. ##########################################################
  182. ##########################################################
  183. ##########################################################
  184. ##########################################################
  185. LSXSectionChapter 1
  186. Introduction
  187. CN=Scott Prager/OU=CAM/O=Lotus##########################
  188. LSXSectionChapter 1
  189. IntroductionOrganization of this manual
  190. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  191. ########
  192. LSXSectionChapter 1
  193. IntroductionOverview of the LotusScript Extension for Lotus Domino Connectors
  194. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  195. ##########################
  196. LSXSectionChapter 1
  197. IntroductionLSX LC Usage Notes
  198. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  199. #################
  200. LSXSectionAppendix A
  201. Error Messages
  202. CN=Scott Prager/OU=CAM/O=Lotus#######################
  203. LSXSectionAppendix A
  204. Error MessagesAnatomy of an Error Message
  205. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  206. #####
  207. LSXSectionAppendix A
  208. Error MessagesGeneral Errors
  209. Format of General Errors
  210. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  211. #########################################################
  212. LSXSectionAppendix B
  213. Connector Property Tokens
  214. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  215. #####################
  216. LSXSectionAppendix C
  217. Connector Properties
  218. CN=Scott Prager/OU=CAM/O=Lotus#################
  219. LSXSectionAppendix C
  220. Connector PropertiesConnector Properties
  221. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  222. ######
  223. LSXSectionAppendix C
  224. Connector PropertiesNotes Connector Properties
  225. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  226. ########################################################
  227. LSXSectionAppendix C
  228. Connector PropertiesDB2 Connector Properties
  229. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  230. LSXSectionAppendix C
  231. Connector PropertiesEDA/SQL Connector Properties
  232. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  233. ##########################################################
  234. LSXSectionAppendix C
  235. Connector PropertiesFile System Connector Properties
  236. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  237. ##########################################################
  238. LSXSectionAppendix C
  239. Connector PropertiesODBC Connector Properties
  240. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  241. LSXSectionAppendix C
  242. Connector PropertiesOracle Connector Properties
  243. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  244. ##########################################################
  245. LSXSectionAppendix C
  246. Connector PropertiesSybase Connector Properties
  247. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  248. ##########################################################
  249. ^=!Wg
  250. LSXSectionAppendix D
  251. Character Sets
  252. CN=Scott Prager/OU=CAM/O=Lotus#######################
  253. )WV.$Wg
  254. LSXSectionAppendix D
  255. Character SetsList of Supported Character Sets
  256. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  257. LSXClassChapter 2
  258. LCConnection Class
  259. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  260. #######################################################
  261. LSXMethodNew method for LCConnectionChapter 2
  262. LCConnection Class
  263. @LCConnection Class
  264. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  265. #########################
  266. d}NSWg
  267. LSXMethodAction method for LCConnectionChapter 2
  268. LCConnection Class
  269. @LCConnection Class
  270. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  271. ######################
  272. D:6ps
  273. \=\Wg
  274. LSXMethodCall method for LCConnectionChapter 2
  275. LCConnection Class
  276. @LCConnection Class
  277. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  278. }!fWg
  279. LSXMethodCatalog method for LCConnectionChapter 2
  280. LCConnection Class
  281. @LCConnection Class
  282. CN=Scott Prager/OU=CAM/O=LotusCN=Kathy Connor/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  283. #####################################
  284. LSXMethodConnect method for LCConnectionChapter 2
  285. LCConnection Class
  286. @LCConnection Class
  287. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  288. #############################
  289. LSXMethodCopy method for LCConnectionChapter 2
  290. LCConnection Class
  291. @LCConnection Class
  292. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  293. ################
  294. LSXMethodCreate method for LCConnectionChapter 2
  295. LCConnection Class
  296.  @LCConnection Class
  297. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  298. ######################
  299. =~kxWg
  300. LSXMethodDisconnect method for LCConnectionChapter 2
  301. LCConnection Class
  302. "@LCConnection Class
  303. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  304. ##########################
  305. LSXMethodDrop method for LCConnectionChapter 2
  306. LCConnection Class
  307. $@LCConnection Class
  308. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  309. ########################
  310. LSXMethodExecute method for LCConnectionChapter 2
  311. LCConnection Class
  312. &@LCConnection Class
  313. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  314. #############
  315. LSXMethodFetch method for LCConnectionChapter 2
  316. LCConnection Class
  317. (@LCConnection Class
  318. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  319. #######
  320. LSXMethodGetProperty method for LCConnectionChapter 2
  321. LCConnection Class
  322. *@LCConnection Class
  323. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  324. #################
  325. LSXMethodGetProperty<Type> MethodsChapter 2
  326. LCConnection Class
  327. ,@LCConnection Class
  328. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  329. ###########################
  330. LSXMethodInsert method for LCConnectionChapter 2
  331. LCConnection Class
  332. .@LCConnection Class
  333. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  334. ##############
  335. LSXMethodListProperty method for LCConnectionChapter 2
  336. LCConnection Class
  337. 0@LCConnection Class
  338. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  339. ################
  340. LSXMethodLookupProperty method for LCConnectionChapter 2
  341. LCConnection Class
  342. 1@LCConnection Class
  343. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  344. ######
  345. LSXMethodRemove method for LCConnectionChapter 2
  346. LCConnection Class
  347. 2@LCConnection Class
  348. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  349. ##############
  350. LSXMethodSelect method for LCConnectionChapter 2
  351. LCConnection Class
  352. 3@LCConnection Class
  353. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  354. ######
  355. LSXMethodSetProperty method for LCConnectionChapter 2
  356. LCConnection Class
  357. 4@LCConnection Class
  358. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  359. #########
  360. LSXMethodSetProperty<Type> methods for LCConnectionChapter 2
  361. LCConnection Class
  362. 5@LCConnection Class
  363. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  364. ##################
  365. LSXMethodUpdate method for LCConnectionChapter 2
  366. LCConnection Class
  367. 6@LCConnection Class
  368. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  369. ##############
  370. LSXClassChapter 3
  371. LCCurrency Class
  372. CN=Scott Prager/OU=CAM/O=Lotus################################################
  373. LSXMethodNew method for LCCurrencyChapter 3
  374. LCCurrency Class
  375. 8@LCCurrency Class
  376. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  377. ###############################################
  378. LSXMethodAdd method for LCCurrencyChapter 3
  379. LCCurrency Class
  380. 9@LCCurrency Class
  381. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  382. ###############################
  383. LSXMethodCompare method for LCCurrencyChapter 3
  384. LCCurrency Class
  385. :@LCCurrency Class
  386. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  387. ###################
  388. LSXMethodCopy method for LCCurrencyChapter 3
  389. LCCurrency Class
  390. ;@LCCurrency Class
  391. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  392. ######################
  393. LSXMethodSubtract method for LCCurrencyChapter 3
  394. LCCurrency Class
  395. <@LCCurrency Class
  396. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  397. ##########################
  398. LSXClassChapter 4
  399. LCDatetime Class
  400. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  401. #########################################################
  402. LSXMethodNew Constructor method for LCDatetimeChapter 4
  403. LCDatetime Class
  404. >@LCDatetime Class
  405. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  406. ###########################
  407. LSXMethodAdjust method for LCDatetimeChapter 4
  408. LCDatetime Class
  409. ?@LCDatetime Class
  410. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  411. ############################
  412. LSXMethodClear method for LCDatetimeChapter 4
  413. LCDatetime Class
  414. @@LCDatetime Class
  415. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  416. #####################################
  417. LSXMethodCompare method for LCDatetimeChapter 4
  418. LCDatetime Class
  419. @@LCDatetime Class
  420. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  421. ###################
  422. LSXMethodCopy method for LCDatetimeChapter 4
  423. LCDatetime Class
  424. A@LCDatetime Class
  425. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  426. ######################
  427. LSXMethodGetDiff method for LCDatetimeChapter 4
  428. LCDatetime Class
  429. A@LCDatetime Class
  430. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  431. ###################
  432. LSXMethodSetConstant method for LCDatetimeChapter 4
  433. LCDatetime Class
  434. B@LCDatetime Class
  435. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  436. #######################
  437. LSXMethodSetCurrent method for LCDatetimeChapter 4
  438. LCDatetime Class
  439. B@LCDatetime Class
  440. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  441. ################################
  442. LSXClassChapter 5
  443. LCField Class
  444. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  445. ##########################################################
  446. LSXMethodClearVirtualCode method for LCFieldChapter 5
  447. LCField Class
  448. D@LCField Class
  449. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  450. ###########################
  451. LSXMethodCompare method for LCFieldChapter 5
  452. LCField Class
  453. D@LCField Class
  454. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  455. ############################
  456. LSXMethodConvert method for LCFieldChapter 5
  457. LCField Class
  458. E@LCField Class
  459. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  460. ####################################
  461. LSXMethodCopy method for LCFieldChapter 5
  462. LCField Class
  463. E@LCField Class
  464. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  465. ###############################
  466. LSXMethodGetCurrency method for LCFieldChapter 5
  467. LCField Class
  468. F@LCField Class
  469. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  470. ########################
  471. LSXMethodGetDatetime method for LCFieldChapter 5
  472. LCField Class
  473. F@LCField Class
  474. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  475. ########################
  476. 3z    Xg
  477. LSXMethodGetFieldlist method for LCFieldChapter 5
  478. LCField Class
  479. G@LCField Class
  480. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  481. #######################
  482. LSXMethodGetFloat method for LCFieldChapter 5
  483. LCField Class
  484. G@LCField Class
  485. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  486. ###########################
  487. LSXMethodGetFormatDatetime method for LCFieldChapter 5
  488. LCField Class
  489. H@LCField Class
  490. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  491. ##########################
  492. LSXMethodGetFormatNumber method for LCFieldChapter 5
  493. LCField Class
  494. H@LCField Class
  495. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  496. ############################
  497. LSXMethodGetFormatStream method for LCFieldChapter 5
  498. LCField Class
  499. I@LCField Class
  500. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  501. ############################
  502. LSXMethodGetInt method for LCFieldChapter 5
  503. LCField Class
  504. I@LCField Class
  505. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  506. #############################
  507. LSXMethodGetNumeric method for LCFieldChapter 5
  508. LCField Class
  509. J@LCField Class
  510. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  511. #########################
  512. LSXMethodGetStream method for LCFieldChapter 5
  513. LCField Class
  514. J@LCField Class
  515. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  516. ##########################
  517. LSXMethodLookupVirtualCode method for LCFieldChapter 5
  518. LCField Class
  519. K@LCField Class
  520. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  521. ##################
  522. LSXMethodSetCurrency method for LCFieldChapter 5
  523. LCField Class
  524. K@LCField Class
  525. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  526. ################################
  527. LSXMethodSetDatetime method for LCFieldChapter 5
  528. LCField Class
  529. L@LCField Class
  530. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  531. ################################
  532. LSXMethodSetFieldlist method for LCFieldChapter 5
  533. LCField Class
  534. L@LCField Class
  535. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  536. ###############################
  537. |*-K4Xg
  538. LSXMethodSetFloat method for LCFieldChapter 5
  539. LCField Class
  540. M@LCField Class
  541. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  542. ###################################
  543. zzW7Xg
  544. LSXMethodSetFormatDatetime method for LCFieldChapter 5
  545. LCField Class
  546. M@LCField Class
  547. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  548. ##########################
  549. LSXMethodSetFormatNumber method for LCFieldChapter 5
  550. LCField Class
  551. N@LCField Class
  552. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  553. ############################
  554. LSXMethodSetFormatStream method for LCFieldChapter 5
  555. LCField Class
  556. N@LCField Class
  557. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  558. ############################
  559. LSXMethodSetInt method for LCFieldChapter 5
  560. LCField Class
  561. O@LCField Class
  562. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  563. #####################################
  564. QVDXg
  565. LSXMethodSetNumeric method for LCFieldChapter 5
  566. LCField Class
  567. O@LCField Class
  568. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  569. #################################
  570. LSXMethodSetStream method for LCFieldChapter 5
  571. LCField Class
  572. P@LCField Class
  573. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  574. ##################################
  575. LSXMethodSetVirtualCode method for LCFieldChapter 5
  576. LCField Class
  577. @P@LCField Class
  578. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  579. #############################
  580. LSXClassChapter 6
  581. LCFieldlist Class
  582. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  583. ################################################
  584. LSXMethodAppend method for LCFieldlistChapter 6
  585. LCFieldlist Class
  586. Q@LCFieldlist Class
  587. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  588. #########################
  589. LSXMethodCopy method for LCFieldlistChapter 6
  590. LCFieldlist Class
  591. @Q@LCFieldlist Class
  592. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  593. ###################
  594. LSXMethodCopyField method for LCFieldlistChapter 6
  595. LCFieldlist Class
  596. Q@LCFieldlist Class
  597. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  598. ##############
  599. LSXMethodCopyRef method for LCFieldlistChapter 6
  600. LCFieldlist Class
  601. Q@LCFieldlist Class
  602. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  603. ################
  604. 3o/*_Xg
  605. LSXMethodGetField method for LCFieldlistChapter 6
  606. LCFieldlist Class
  607. R@LCFieldlist Class
  608. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  609. ###############
  610. LSXMethodGetName method for LCFieldlistChapter 6
  611. LCFieldlist Class
  612. @R@LCFieldlist Class
  613. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  614. ################
  615. )e9hXg
  616. LSXMethodIncludeField method for LCFieldlistChapter 6
  617. LCFieldlist Class
  618. R@LCFieldlist Class
  619. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  620. ###################
  621. LSXMethodInsert method for LCFieldlistChapter 6
  622. LCFieldlist Class
  623. R@LCFieldlist Class
  624. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  625. #########################
  626. LSXMethodList method for LCFieldlistChapter 6
  627. LCFieldlist Class
  628. S@LCFieldlist Class
  629. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  630. ###########################
  631. LSXMethodLookup method for LCFieldlistChapter 6
  632. LCFieldlist Class
  633. @S@LCFieldlist Class
  634. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  635. #################
  636. LSXMethodMap method for LCFieldlistChapter 6
  637. LCFieldlist Class
  638. S@LCFieldlist Class
  639. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  640. ############################
  641. LSXMethodMapName method for LCFieldlistChapter 6
  642. LCFieldlist Class
  643. S@LCFieldlist Class
  644. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  645. ########################
  646. LSXMethodMerge method for LCFieldlistChapter 6
  647. LCFieldlist Class
  648. T@LCFieldlist Class
  649. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  650. ##########################
  651. LSXMethodMergeVirtual method for LCFieldlistChapter 6
  652. LCFieldlist Class
  653. @T@LCFieldlist Class
  654. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  655. ###########################
  656. LSXMethodRemove method for LCFieldlistChapter 6
  657. LCFieldlist Class
  658. T@LCFieldlist Class
  659. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  660. #########################
  661. LSXMethodReplace method for LCFieldlistChapter 6
  662. LCFieldlist Class
  663. T@LCFieldlist Class
  664. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  665. ########################
  666. LSXMethodSetName method for LCFieldlistChapter 6
  667. LCFieldlist Class
  668. U@LCFieldlist Class
  669. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  670. ########################
  671. LSXClassChapter 7
  672. LCNumeric Class
  673. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  674. ##########################################################
  675. LSXMethodNew method for LCNumericChapter 7
  676. LCNumeric Class
  677. U@LCNumeric Class
  678. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  679. ##########################################
  680. LSXMethodAdd method for LCNumericChapter 7
  681. LCNumeric Class
  682. U@LCNumeric Class
  683. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  684. ##################################
  685. LSXMethodCompare method for LCNumericChapter 7
  686. LCNumeric Class
  687. V@LCNumeric Class
  688. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  689. ######################
  690. LSXMethodCopy method for LCNumericChapter 7
  691. LCNumeric Class
  692. @V@LCNumeric Class
  693. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  694. #########################
  695. LSXMethodSubtract method for LCNumericChapter 7
  696. LCNumeric Class
  697. V@LCNumeric Class
  698. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  699. #############################
  700. LSXClassChapter 8
  701. LCSession Class
  702. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  703. ##########################################################
  704. LSXMethodNew method for LCSessionChapter 8
  705. LCSession Class
  706. W@LCSession Class
  707. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  708. ##################################################
  709. LSXMethodClearStatus method for LCSessionChapter 8
  710. LCSession Class
  711. @W@LCSession Class
  712. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  713. ##################################
  714. LSXMethodGetStatus method for LCSessionChapter 8
  715. LCSession Class
  716. W@LCSession Class
  717. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  718. ############################
  719. LSXMethodGetStatusText method for LCSessionChapter 8
  720. LCSession Class
  721. W@LCSession Class
  722. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  723. ################
  724. LSXMethodListConnector method for LCSessionChapter 8
  725. LCSession Class
  726. X@LCSession Class
  727. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  728. ########################
  729. LSXMethodListMetaConnector method for LCSessionChapter 8
  730. LCSession Class
  731. @X@LCSession Class
  732. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  733. ####################
  734. LSXMethodLookupConnector method for LCSessionChapter 8
  735. LCSession Class
  736. X@LCSession Class
  737. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  738. ######################
  739. LSXMethodLookupMetaConnector method for LCSessionChapter 8
  740. LCSession Class
  741. X@LCSession Class
  742. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  743. ##################
  744. LSXMethodSleep method for LCSessionChapter 8
  745. LCSession Class
  746. Y@LCSession Class
  747. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  748. ################################
  749. LSXClassChapter 9
  750. LCStream Class
  751. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  752. ##########################################################
  753. LSXMethodNew method for LCStreamChapter 9
  754. LCStream Class
  755. Y@LCStream Class
  756. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  757. #############################################
  758. LSXMethodClear method for LCStreamChapter 9
  759. LCStream Class
  760. Y@LCStream Class
  761. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  762. ###########################################
  763. ScO'~v
  764. LSXMethodAppend method for LCStreamChapter 9
  765. LCStream Class
  766. Z@LCStream Class
  767. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  768. ##################################
  769. LSXMethodCompare method for LCStreamChapter 9
  770. LCStream Class
  771. @Z@LCStream Class
  772. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  773. #########################
  774. LSXMethodConvert method for LCStreamChapter 9
  775. LCStream Class
  776. Z@LCStream Class
  777. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  778. #########################
  779. LSXMethodCopy method for LCStreamChapter 9
  780. LCStream Class
  781. Z@LCStream Class
  782. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  783. ############################
  784. LSXMethodExtract method for LCStreamChapter 9
  785. LCStream Class
  786. [@LCStream Class
  787. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  788. #################################
  789. LSXMethodMerge method for LCStreamChapter 9
  790. LCStream Class
  791. @[@LCStream Class
  792. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  793. ###################################
  794. LSXMethodResetFormat method for LCStreamChapter 9
  795. LCStream Class
  796. [@LCStream Class
  797. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  798. #############################
  799. LSXMethodSetFormat method for LCStreamChapter 9
  800. LCStream Class
  801. [@LCStream Class
  802. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  803. ###############################
  804. LSXMethodTrim method for LCStreamChapter 9
  805. LCStream Class
  806. \@LCStream Class
  807. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  808. ############################################
  809. LSXMethodDatetimeListGetRange method for LCStreamChapter 9
  810. LCStream Class
  811. @\@LCStream Class
  812. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  813. ####################
  814. LSXMethodDatetimeListGetValue method for LCStreamChapter 9
  815. LCStream Class
  816. \@LCStream Class
  817. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  818. ####################
  819. LSXMethodDatetimeListInsertRange method for LCStreamChapter 9
  820. LCStream Class
  821. \@LCStream Class
  822. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  823. #################
  824. LSXMethodDatetimeListInsertValue method for LCStreamChapter 9
  825. LCStream Class
  826. ]@LCStream Class
  827. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  828. #################
  829. LSXMethodDatetimeListRemoveRange method for LCStreamChapter 9
  830. LCStream Class
  831. @]@LCStream Class
  832. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  833. #################
  834. hkc)Cg
  835. LSXMethodDatetimeListRemoveValue method for LCStreamChapter 9
  836. LCStream Class
  837. ]@LCStream Class
  838. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  839. #################
  840. LSXMethodNumberListGetRange method for LCStreamChapter 9
  841. LCStream Class
  842. ]@LCStream Class
  843. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  844. ######################
  845. LSXMethodNumberListGetValue method for LCStreamChapter 9
  846. LCStream Class
  847. ^@LCStream Class
  848. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  849. ######################
  850. LSXMethodNumberListInsertRange method for LCStreamChapter 9
  851. LCStream Class
  852. @^@LCStream Class
  853. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  854. ###################
  855. LSXMethodNumberListInsertValue method for LCStreamChapter 9
  856. LCStream Class
  857. ^@LCStream Class
  858. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  859. ###################
  860. LSXMethodNumberListRemoveRange method for LCStreamChapter 9
  861. LCStream Class
  862. ^@LCStream Class
  863. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  864. ###################
  865. LSXMethodNumberListRemoveValue method for LCStreamChapter 9
  866. LCStream Class
  867. _@LCStream Class
  868. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  869. ###################
  870. LSXMethodTextListFetch method for LCStreamChapter 9
  871. LCStream Class
  872. @_@LCStream Class
  873. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  874. ###################
  875. LSXMethodTextListInsert method for LCStreamChapter 9
  876. LCStream Class
  877. _@LCStream Class
  878. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  879. ##########################
  880. .>>Z@&Yg
  881. LSXMethodTextListRemove method for LCStreamChapter 9
  882. LCStream Class
  883. _@LCStream Class
  884. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  885. ##########################
  886. LSXMethodNew method for LCFieldlistChapter 6
  887. LCFieldlist Class
  888. P@LCFieldlist Class
  889. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  890. ############################
  891. ##########################################################
  892. ##########################################################
  893. ##########################################################
  894. O=Lotus Notes
  895. O=Lotus Notes
  896. PURSAFO
  897. |.:#U
  898. O=Lotus Notes
  899. CN=Lotus Notes Template Development/O=Lotus Notes
  900. PURSAFO
  901. $ACLDigest
  902. PURSAFO
  903. Times New Roman
  904. About LSX for Lotus Connectors Online Manual
  905. $$U$$
  906. $IU$I
  907.  @  @@ @` @
  908. @@ @@@@@`@@
  909. `@ `@@`@``@
  910. copyright
  911. LSX for Lotus Connectors
  912.  Online Manual
  913. Lotus Development Corporation, an IBM subsidiary
  914. Copyright
  915. Under the copyright laws, neither the documentation nor the software may be copied, photocopied, reproduced, translated, or reduced to any electronic medium or machine-readable form, in whole or part, without the prior written consent of Lotus Development Corporation.
  916.  Copyright 1998     Lotus Development Corporation
  917.     55 Cambridge Parkway
  918.     Cambridge, MA 02142
  919. All rights reserved. Printed in the United States.
  920. Trademarks
  921. Lotus and Lotus Notes are registered trademarks, and LotusScript and Lotus NotesView are trademarks of Lotus Development Corporation.
  922. AIX, AS/400, DB2, DPROPR, OS/400, IBM, MVS, and OS/2 are registered trademarks, and DB2/2 and RS/6000 are trademarks of International Business Machines Corporation.
  923. Oracle and SQL*Net are registered trademarks, and Oracle7 and PL/SQL are trademarks of Oracle Corporation.
  924. SYBASE and Transact-SQL are registered trademarks and SQL Server and Open Client are trademarks of Sybase, Inc.
  925. ZMerge is a trademark of Granite Software, Inc.
  926. EDA/SQL and FOCUS are registered trademarks of Information Builders, Inc.
  927. Informix is a registered trademark of Informix Software, Inc.
  928. Novell and NetWare are registered trademarks of Novell, Inc.
  929. INTERSOLV is a registered trademark, and DataDirect is a trademark of INTERSOLV, Inc.
  930. Visigenic is a trademark of Visigenic Software, Inc.
  931. Microsoft and Windows are registered trademarks, and Microsoft Windows NT and ODBC are trademarks of Microsoft Corporation.
  932. Intel is a registered trademark of Intel Corporation.
  933. UNIX is a registered trademark of UNIX Systems Laboratories, Inc.
  934. Hewlett-Packard and HP are registered trademarks, and HP-UX is a trademark of Hewlett-Packard Company.
  935. Sun, Solaris, and SunOS are registered trademarks or trademarks of Sun Microsystems.
  936. All SPARC trademarks are trademarks or registered trademarks of SPARC International, Inc.
  937. Alpha, DEC, and Digital are registered trademarks of Digital Equipment Corporation.
  938. Apple and Macintosh are registered trademarks and System 7 is a trademark of Apple Computer Inc.
  939. All other trademarks are property of their respective owners.
  940. Disclaimer
  941. The information in this database is subject to change and does not represent a commitment on the part of Lotus Development Corporation.
  942. O=Lotus Notes
  943. O=Lotus Notes
  944. PURSAFO
  945. |.:#U
  946. O=Lotus Notes
  947. CN=Lotus Notes Template Development/O=Lotus Notes
  948. PURSAFO
  949. On.[|
  950. $Info
  951. $Body
  952. Using LSX for LC Online Manual
  953.  @  @@ @` @
  954. @@ @@@@@`@@
  955. `@ `@@`@``@
  956. copyright
  957. LSX for Lotus Connectors
  958.  Online Manual
  959. This database is the online documentation for the LSX for Lotus Connectors.
  960. Full-Text Index
  961. In addition to using the views built into this database, we strongly encourage you also to create and use a full-text index for the database. Doing so will require extra disk space, but will allow you to very quickly find the information you need.
  962. Changing the Information in the Database
  963. To add a comment to the database...
  964. 1) In a view, highlight the item you want to add a comment to.
  965. 2) Pull down the Compose menu.
  966. 3) Choose the "Comment" form. 
  967. O=Lotus Notes
  968. O=Lotus Notes
  969. PURSAFO
  970. |.:#U
  971. O=Lotus Notes
  972. CN=Lotus Notes Template Development/O=Lotus Notes
  973. PURSAFO
  974. $Info
  975. $Body
  976. Subject
  977. &Arial
  978. Comment
  979. Comment
  980. Author:
  981. FromAuthor of this document
  982.             
  983. Date Composed:  
  984. DateComposedDate this document was composed
  985. Subject:    
  986. Trimmed
  987. Subject
  988. Trimmed
  989. Trimmed
  990. SubjectEnter an optional word or phrase describing your response.
  991. Your Comment                                                                                      
  992. BodyEnter the text of your response.
  993. O=Lotus Notes
  994. O=Lotus Notes
  995. PURSAFO
  996. |.:#U
  997. O=Lotus Notes
  998. CN=Lotus Notes Template Development/O=Lotus Notes
  999. PURSAFO
  1000. $TITLE
  1001. $Info
  1002. $WindowTitle
  1003. $$ScriptName
  1004. DateComposed
  1005. $Body
  1006. Object
  1007. &Arial
  1008. LSXClass
  1009. Class
  1010. Description
  1011. DocumentNumber
  1012. O=Lotus Notes
  1013. O=Lotus Notes
  1014. PURSAFO
  1015. |.:#U
  1016. O=Lotus Notes
  1017. CN=Lotus Notes Template Development/O=Lotus Notes
  1018. PURSAFO
  1019. 2>i:W
  1020. 5EQ(.f
  1021. ChapterNumber
  1022. $TITLE
  1023. $Info
  1024. $WindowTitle
  1025. $$Script_O
  1026. $$ScriptName
  1027. DocumentNumber
  1028. $Body
  1029. Section
  1030. Chapter
  1031. Section
  1032.     1S3S4S6S8S
  1033. &Arial
  1034. LSXSection
  1035. Chapter
  1036. Section
  1037.     1S2S
  1038. Section:
  1039. Section
  1040. Chapter
  1041. Section
  1042.     1S3S4S6S8S
  1043. Section
  1044. Contents
  1045. ChapterNumber
  1046. DocumentNumber
  1047. O=Lotus Notes
  1048. O=Lotus Notes
  1049. PURSAFO
  1050. |.:#U
  1051. O=Lotus Notes
  1052. CN=Lotus Notes Template Development/O=Lotus Notes
  1053. PURSAFO
  1054. $TITLE
  1055. $Info
  1056. $WindowTitle
  1057. $$Script_O
  1058. $$ScriptName
  1059. ChapterNumber
  1060. DocumentNumber
  1061. $Body
  1062. O=Lotus Notes
  1063. O=Lotus Notes
  1064. PURSAFO
  1065. |.:#U
  1066. O=Lotus Notes
  1067. CN=Lotus Notes Template Development/O=Lotus Notes
  1068. PURSAFO
  1069. $TITLE
  1070. $Index
  1071. $Formula
  1072. $FormulaClass
  1073. $ViewFormat
  1074. $Comment
  1075. O=Lotus Notes
  1076. O=Lotus Notes
  1077. PURSAFO
  1078. |.:#U
  1079. O=Lotus Notes
  1080. CN=Lotus Notes Template Development/O=Lotus Notes
  1081. PURSAFO
  1082. 9]<S9
  1083. $TITLE
  1084. $Index
  1085. $Formula
  1086. $FormulaClass
  1087. $ViewFormat
  1088. $Comment
  1089. ==?v3BMC
  1090. O=Lotus Notes
  1091. O=Lotus Notes
  1092. PURSAFO
  1093. |.:#U
  1094. O=Lotus Notes
  1095. CN=Lotus Notes Template Development/O=Lotus Notes
  1096. PURSAFO
  1097. $TITLE
  1098. $Index
  1099. $Formula
  1100. $FormulaClass
  1101. $ViewFormat
  1102. $Comment
  1103. ==?v3BMC
  1104. &Arial
  1105. LSXMethod
  1106. Description
  1107.     Defined In
  1108. Class
  1109.     1S4S
  1110. DispClass
  1111.     Syntax
  1112. Syntax
  1113. Parameters
  1114.     1S2S
  1115.     Parameters
  1116. Parameters
  1117. Returns
  1118.     1S2S
  1119.     Return Value
  1120. Returns
  1121. Notes
  1122.     1S2S
  1123.     Usage Notes
  1124. Notes
  1125. Example
  1126.     1S2S
  1127.     Example
  1128. Example
  1129. Class
  1130.     1S4S
  1131. Class
  1132. DocumentNumber
  1133. O=Lotus Notes
  1134. O=Lotus Notes
  1135. PURSAFO
  1136. |.:#U
  1137. O=Lotus Notes
  1138. CN=Lotus Notes Template Development/O=Lotus Notes
  1139. PURSAFO
  1140. h3\_5
  1141. yE+Um
  1142. ChapterNumber
  1143. $TITLE
  1144. $Info
  1145. $WindowTitle
  1146. $$Script_O
  1147. $$ScriptName
  1148. DocumentNumber
  1149. $Body
  1150. Started running agent 'Remove Empty Fields' on 09/21/98 01:17:56 PM
  1151. Running on all documents in database: 146 total
  1152. Found 146 document(s) that match search criteria
  1153. Ran LotusScript code
  1154. Done running agent 'Remove Empty Fields' on 09/21/98 01:18:03 PM
  1155. '++LotusScript Development Environment:2:5:(Options):0:74
  1156. Option Public
  1157. '++LotusScript Development Environment:2:5:(Forward):0:1
  1158. Declare Sub Initialize
  1159. '++LotusScript Development Environment:2:5:(Declarations):0:10
  1160. 'RemoveBlankRTFields: 
  1161. '++LotusScript Development Environment:2:2:Initialize:1:10
  1162. Sub Initialize
  1163.      Dim session As New NotesSession
  1164.      Dim db As NotesDatabase
  1165.      Dim collection As NotesDocumentCollection
  1166.      Dim j As Integer
  1167.      Set db = session.CurrentDatabase
  1168.      Set collection = db.UnprocessedDocuments
  1169.      For j = 1 To collection.Count
  1170.           Set doc = collection.GetNthDocument( j )
  1171.           If (doc.form(0) = "LSXMethod") Then
  1172.                If (doc.GetItemValue( "Parameters")(0) = "") Then doc.RemoveItem ("Parameters")
  1173.                If (doc.GetItemValue ("Returns")(0) = "") Then doc.RemoveItem ("Returns")
  1174.                If (doc.GetItemValue ("Notes")(0) = "") Then doc.RemoveItem ("Notes")
  1175.                If (doc.GetItemValue ("Example")(0) = "") Then doc.RemoveItem ("Example")
  1176.                Call doc.Save( True, False, True )
  1177.           End If
  1178.           Call session.UpdateProcessedDoc( doc )
  1179.      Next
  1180. End Sub
  1181. O=Lotus Notes
  1182. O=Lotus Notes
  1183. PURSAFO
  1184. |.:#U
  1185. O=Lotus Notes
  1186. CN=Lotus Notes Template Development/O=Lotus Notes
  1187. PURSAFO
  1188. -AeqvJ
  1189. $TITLE
  1190. $AssistType
  1191. $AssistLastRun
  1192. $AssistDocCount
  1193. $AssistFlags
  1194. $AssistTrigger
  1195. $AssistInfo
  1196. $AssistQuery
  1197. $AssistAction
  1198. $AssistAction_Ex
  1199. *H3p#
  1200. &Arial
  1201. Times
  1202. LotusFrute
  1203. Symbol
  1204.     5Courier New
  1205. Helvetica
  1206. This chapter provides an introduction to the LotusScript Extension for Lotus Domino Connectors and gives information on the organization of this manual.  
  1207. This chapter also gives a glossary of common terms and concepts used throughout the documentation, a general description of the individual classes of the LotusScript Extension for Lotus Domino Connectors, and describes how the classes might be used to implement a typical application. The documentation assumes a working knowledge of LotusScript, the Notes development environment, and the Notes classes.  For more information on any of these subjects, please refer to the 
  1208. Notes Programmer's Guide
  1209. &Arial
  1210. The table below describes the organization of this documentation and the information contained in each section.  
  1211. Chapter
  1212. Description
  1213. Chapter 1
  1214. Introduction
  1215. This chapter provides an introduction to the LotusScript Extension for Lotus Domino Connectors.  It also includes information about the organization of this manual.  
  1216. Chapter 2
  1217. LCConnection Class
  1218. This chapter provides descriptions of the LCConnection Class methods and properties, and includes examples for using each of the methods.  
  1219. Chapter 3
  1220. LCCurrency Class
  1221. This chapter provides descriptions of the LCCurrency Class methods and properties, and includes examples for using each of the methods.
  1222. Chapter 4
  1223. LCDatetime
  1224. This chapter provides descriptions of the LCDatetime Class methods and properties, and includes examples for using each of the methods.
  1225. Chapter 5
  1226. LCField Class
  1227. This chapter provides descriptions of the LCField Class methods and properties, and includes examples for using each of the methods.
  1228. Chapter 6
  1229. LCFieldlist Class
  1230. This chapter provides descriptions of the LCFieldlist Class methods and properties, and includes examples for using each of the methods.
  1231. Chapter 7
  1232. LCNumeric Class
  1233. This chapter provides descriptions of the LCNumeric Class methods and properties, and includes examples for using each of the methods.
  1234. Chapter 8
  1235. LCSession Class
  1236. This chapter provides descriptions of the LCSession Class methods and properties, and includes examples for using each of the methods.
  1237. Chapter 9
  1238. LCStream Class
  1239. This chapter provides descriptions of the LCStream Class methods and properties, and includes examples for using each of the methods.
  1240. Appendix A
  1241. Error Messages
  1242. This appendix provides a list of error messages that can occur during a script execution, and provides a description of the error message format.  
  1243. Appendix B
  1244. Property Tokens
  1245. This appendix provides a list of property tokens that are used in some of the LotusScript Extension for Lotus Connectors methods.  
  1246. Appendix C
  1247. Connector Properties
  1248. This appendix provides a list of the properties for each Lotus Connector.  
  1249. Appendix D
  1250. Character Sets
  1251. This appendix provides a list of character sets supported for use with the LotusScript Extension for Lotus Connectors.  
  1252. &Arial
  1253. Symbol
  1254. Lotus Domino Connectors provide native access to a wide variety of DBMS products, ODBC, the platform File system, Enterprise Resource Planning systems, and Transaction Processing systems. The LotusScript Extension for Lotus Domino Connectors (LSX LC) extends these Connectors to LotusScript.  
  1255. LotusScript provides an integral programming interface to Lotus Notes. The LotusScript Extension for Lotus Domino Connectors enhances the power of Notes by extending its scripting to data outside of Notes. The programming model is independent of the individual Connector. This eliminates the need to learn each individual system, while at the same time allowing experienced users to access the individual features of a specific system.  
  1256. For example, through Lotus Connectors, Notes and web applications have the ability to retrieve and act upon data within agents, during document events, or at the click of a button. 
  1257. This release of the LSX LC supports access to the following Connectors:
  1258. DB2/UDB
  1259. EDA/SQL
  1260. File System
  1261. Notes
  1262. Oracle
  1263. Sybase
  1264. It is important to note that the LotusScript Extension for Lotus Domino Connectors may be used alone or in conjunction with the Domino Enterprise Connection Services (DECS). Respectively, these two technologies provide programmatic and declarative access to external data for application development.  
  1265. Connectivity Software Requirements
  1266. Access to supported Lotus Connectors may require software to be installed on the Domino Server or the Notes client from which the Lotus Connector scripts are run.  Refer to the 
  1267. Domino Connectors Setup Guide 
  1268. for information about software that may be required in order to access any particular data source.  The 
  1269. Domino Connectors Setup Guide
  1270.  is provided online in NSF format (LCCON.NSF).  
  1271. Registration and Loading of the LSX LC
  1272. The LSX LC is registered when the Domino Server is installed.  
  1273. You must load the LotusScript Extensions for Lotus Connectors using the 
  1274. UseLSX 
  1275. &*lsxlc
  1276. statement in the script.  
  1277. Terms and Concepts
  1278. Metadata
  1279. This is a generic term referring to a Connector's data definition.  The data definition includes the names of data elements, their datatypes, and implies the order of the elements.  For example, Notes uses 'forms' to describe both the names of data fields as well as the data type of each field; Sybase metadata describes a 'table'.  Refer to Appendix C, 
  1280. &Connector Properties
  1281. 8, for information specific to each Connector metadata.  
  1282. Alternate Metadata
  1283. Available through some Lotus Connectors, this is an alternate source for the data definition.  For example, DB2 metadata is in the form of a 'table', while its alternate metadata form is a 'SQL view'.  Refer to Appendix C, 
  1284. &Connector Properties
  1285. 8, for information on whether a specific Connector supports alternate metadata.  
  1286. Result Set
  1287. The return from an information request through a connection. Each connection can have a single active result set.  The LCConnection methods Execute, Select, Call and Catalog each produce a result set, replacing any existing result set.  The result set describes the collection of data or information from the connection, which matched the input criteria. It does not return the actual data until fetched.  If desired, these methods will build a fieldlist representing the metadata as part of generating the result set.
  1288. When using other connection methods which read or write data of a result set, the implied order of the metadata may be suspended by using the connection's OrderByName property to indicate that, regardless of the order of the data elements within the metadata, match the names in the metadata to the names in the external system.  
  1289. Writeback Result Set
  1290. A Writeback result set is an optimized form of result set supported by some Connectors.  A Writeback result set provides both sequential read and write operations on the data, and may be used for efficient Update and Remove operations by directly operating on the most recently fetched record in the result set, rather than having to locate the information in the external system a second time.  Some Connectors may implement locking in the back end for Writeback result sets.  
  1291. Token
  1292. A token is an integer used to identify a property of a connection.  All connection properties have a token value.  Common properties have predefined tokens represented by constants.  Connection-specific properties do not have predefined tokens.  (For a list of property tokens and names for each connection, see Appendix C.)  Connection properties may be accessed by token or by name.  The token method may be used when testing if a property is supported.  The name may be used when it is known that a given property exists.  
  1293. LSX LC Classes
  1294. The Lotus Connectors provides external data and system access to the Domino LotusScript environment.  The LSX LC classes consist of LCConnection, LCFieldlist and LCField, and four advanced datatypes, LCStream, LCNumeric, LCCurrency, and LCDatetime.  In addition to these 7 classes, there is also an LCSession class.  Each of these classes and their primary usage is described below:  
  1295. LCSession
  1296. The LCSession class provides error information useful in error handlers.  It also provides for query and lookup of available Lotus Connectors.  
  1297. LCConnection
  1298. The LCConnection class represents an instance of a Lotus Connector.  This class provides query and data access to the external system.  Multiple connections may be allocated to a single Connector.  
  1299. LCFieldlist
  1300. The LCFieldlist class is the primary class for manipulating data through a connection.  It binds a group of fields together with names and an implied order. 
  1301. Fieldlists are used primarily for a number of connection operations; result sets and selection criteria, as well as reading and writing data. 
  1302. When a result set is generated, and an empty fieldlist was initially passed in, the fieldlist is automatically populated by the Connector.  For each data element of the result set, the fieldlist receives the element's name and a field object of the corresponding datatype.  The result set may be controlled by manually building the fieldlist before the result set is constructed or by using the FieldNames property of the connection.
  1303. The Select and Call connection methods use an optional fieldlist of keys or parameters to restrict the result set.  This fiedllist is manually constructed and passed to the select method.  A key or parameter list is constructed by appending or inserting names and datatypes to the list.  These methods create fields in the fieldlist and return these fields for further manipulation.  These fields are then given values and, using field flags, may be given conditions such as greater-than, not-equal, etc.  
  1304. LCField
  1305. LCField is the storage class that contains one or more data values.  The datatype of a field is for all values contained within and may be any of the four advanced datatypes below, as well as long integer and double precision floating point, and, in some advanced usage, fieldlist or connection.  
  1306. LCStream
  1307. LCStream is a general purpose text and binary datatype.  The contents of a stream are marked with a format that details the character set of the text or any special attributes of the binary data.
  1308. LCNumeric
  1309. The LCNumeric class is a container for very high precision numbers.  
  1310. LCCurrency
  1311. The LCCurrency class is a fixed point decimal datatype with 4 decimal places and 19 digits of precision. (This is mathematically equivalent to the LotusScript datatype and is provided to support connections with a dedicated currency.)
  1312. LCDatetime
  1313. The LCDatetime class is a date and time datatype which is accurate to the hundredth of a second and which is aware of time zones and daylight savings time.
  1314. Working with the LSX
  1315. A typical use of the Lotus Connectors is to gather, create, or modify data in an external system. For example, a Notes application has a number of data fields on a form. Once the user input is complete, a button activates script to take the form data and establish a connection to Oracle, locating corresponding information form one or more tables and updating the Notes form. The script is responsible for: 
  1316. 1.    accessing the active Note form
  1317. 2.    gathering the input data
  1318. 3.    create a connection to the external system
  1319. 4.    selecting the data based on the input values
  1320. 5.    loading the data from the external system
  1321. 6.    storing the results in the active Notes form
  1322. Here is a simple script to accomplish the task. The assumption is that the Notes form has a single text input field called "Customer". The script will use the value of the customer field to location the corresponding customer information in DB2 and return an address and phone number for the customer storing the return values in the form using fields called "Address", "City", "State", and "Phone". 
  1323. NOTE:
  1324.     No attempt has been made to prescribe a code style. The practice of grouping object declarations together at the beginning of a script versus locating declarations close to the code is a preference and does not affect the execution.  In this example, declarations and code are grouped to facilitate explaining the process. 
  1325. The first step in writing the script is to load the LotusScript Extensions for Lotus Connectors.  The UseLSX statement accomplishes this step. Additional Options may be used to check variables, simplify string comparison, etc.
  1326.     Option Public
  1327.     Option Explicit
  1328.     Uselsx "*lsxlc"
  1329. The remainder of the script is located in the 'Click' event of the form's button. Errors should be displayed to the user. A simple error handler is written at the bottom of this example. The LSX Session class has a Status property that may be used to determine if the error handler was triggered by an LSX error or a LotusScript error. In all cases where the LSX reports an error, the LotusScript 'Error$' will contain error information. However, when first creating LSX objects, the LSX has additional error information not available through the LotusScript error statements. Creating and initializing the Session status provides this additional information for the error handler. The creation of the session object is not necessary for normal error handling. 
  1330.     Sub Click (Source as Button)
  1331.         On Error Goto Handler
  1332.         Dim session as New LCSession
  1333.         session.ClearStatus
  1334. The input values are in the current active document. This information is accessible via the NotesUIDocument which may be located through the NotesUIWorkspace from its 'CurrentDocument' property..
  1335.         Dim wksp As New NotesUIWorkspace
  1336.         Dim uidoc As NotesUIDocument
  1337.         Set uidoc = wksp.CurrentDocument
  1338. The next step establishes a connection to the Lotus Connector for DB2. After the connection has been created, all of its properties are accessible to customize the connection to the target system. Common properties include Database and/or Server, UserID, and Password. Properties are not case sensitive. (For a complete list of properties for each Lotus Connector, see Appendix B.) The following code connects to the DB2 system called Rainbow as 
  1339. jdoe 
  1340. with the password 
  1341.         Dim src As New LCConnection ("db2")
  1342.         src.Database = "Rainbow"
  1343.         src.UserID = "jdoe"
  1344.         src.Password = "gold"
  1345.         src.Connect
  1346. There are four connection methods for querying through a connection: Catalog, Execute, Select and Call.  The catalog operation is used to return metadata information within the external system, for example, the tables of a DB2 database or the columns of a specific Sybase table.  For a complete list of Catalog options, see the Catalog method.  The remaining methods, Execute, Select and Call, create result sets of data from the connection.  The methods differ significantly in their interface.  The execute statement uses a Connector-specific command statement to determine the contents of the result set.  This interface is helpful when the external system's command structure is familiar and when cross Connector portability is not an issue.  The Select method uses a combination of key names, values, and condition flags to indicate the desired contents of the result set.  This interface works across Connectors and does not require knowledge of the connector's command language.  The Call method is similar to Select, but is used for calling back end procedures or functions.  Instead of keys, parameters are provided.  
  1347. For our example, the important data are stored in the "Customer" DB2 table, as indicated by the Metadata property of the connection. The only record of interest is the customer named by the input value from the Notes form. This selection is accomplished by creating a key list. The default key flag, LCFIELDF_KEY, indicates match exactly. If an inequality match such as 'greater-than' or 'like' is needed, then the field's flags property would be ORed with the corresponding constant.  (In all cases, key fields must have the LCFIELDF_KEY constant in addition to any optional conditional flag constants.)  
  1348.         Dim keys As New LCFieldList
  1349.         Dim field As LCField
  1350.         src.Metadata = "Customer"
  1351.         Set field = keys.Append ("Name", LCTYPE_TEXT)
  1352.         field.Flags =  LCFIELDF_KEY
  1353.         field.Text = uidoc.FieldGetText ("Customer")
  1354. The Select connection method creates a result set of all records from the external system which match the keylist. If the LotusScript keyword "Nothing" is substituted for the key list, then all records of the specified metadata would be selected. In this case, all records from the "Customer" DB2 table would be selected. This example is interested in just the customer record matching the input value from the Notes form. The key list is created to make this restriction.
  1355. The fieldlist receiving the result set is currently empty. The selection will populate the fieldlist will the fields from the DB2 table. If all of the fields of the metadata are not needed, the result set may be restricted to just the fields of interest either by creating the fieldlist prior to the selection or by setting the 'FieldNames' property of the connection.
  1356.         src.FieldlNames = "Address, City, State, OfficePhone"
  1357. The selection returns one of three values: the number of records selected; zero (0) if no matching records were found; or LCCOUNT_UNKNOWN, when records were found but the connection does not know the total.  Since a return of zero is the only case where data was not found, it is the test case for error handling or branching.
  1358.         Dim fields As New LCFieldList
  1359.         If (src.Select (keys, 1, fields) = 0) Then End
  1360. A result set has been created and there is a match.  The result set has not retrieved the data.  The Fetch connection method reads the data from the external system into the fieldlist.  The individual data values may be accessed from a fieldlist using the expanded class properties.  For each field in a fieldlist, there is a property with the corresponding name.  This property is an array of values using the closest available LotusScript datatype to match the LSX LC datatypes. 
  1361.         If (src.Fetch (fields) > 0) Then
  1362.             Call uidoc.FieldSetText ("Address", fields.Address(0))
  1363.             Call uidoc.FieldSetText ("City", fields.City(0))
  1364.             Call uidoc.FieldSetText ("State", fields.State(0))
  1365.             Call uidoc.FieldSetText ("Phone", fields.OfficePhone(0))
  1366.         End If
  1367. NOTE:
  1368.     When writing scripts that act on more than one record, it is more efficient to locate the field from within the fieldlist, outside the loop, and then use the field for data access. Using the expanded class properties locates the field each time it is used and allocates an array of values, not just a single value.  Here is an sample of this code.  The %REM has been used to indicate that this code is not part of the actual example. 
  1369.     %REM
  1370.         Dim address as LCField
  1371.         Dim city as LCField
  1372.         Dim state as LCField
  1373.         Dim phone as LCField
  1374.         Set address = fieldlist.Lookup ("Address")
  1375.         Set city = fieldlist.Lookup ("City")
  1376.         Set state = fieldlist.Lookup ("State")
  1377.         Set phone = fieldlist.Lookup ("OfficePhone")
  1378.         while (src.Fetch (fields) > 0) Then
  1379.             Call uidoc.FieldAppendText ("Address", address.Text(0))
  1380.             Call uidoc.FieldAppendText ("City", city.Text(0))
  1381.             Call uidoc.FieldAppendText ("State", state.Text(0))
  1382.             Call uidoc.FieldAppendText ("Phone", phone.Text(0))    End If
  1383.     %END REM
  1384. The data has been retrieved from the external system and placed in the Notes form. This completes this example. The final step is to refresh the Notes document to display the new data to the user.
  1385.         uidoc.Refresh
  1386.         End
  1387. An error handler was designated as the first line of this example. Testing for an LSX error first provides additional information in the case of an object creation error. Without the session object and subsequent test in the error handler, failure while creating a connection to DB2 generates the LotusScript message, "Error creating product object". However, for the same error condition, the LSX reports "Error: Cannot load LSX library 'db2'".
  1388.     Handler:
  1389.         If (Session.Status <> LCSUCCESS) Then
  1390.             Messagebox Session.GetStatusText, 0, "The following Lotus Connector error has occurred"
  1391.         Else
  1392.             Messagebox Error$, 0, "The following LotusScript error has occurred"
  1393.         End If
  1394.         End
  1395.     End Sub
  1396. This example is very simple. It is meant only to provide an understanding of the Lotus Connectors, the classes, and the relationship between the connection, metadata result set, fieldlist, fields and data.
  1397. &Arial
  1398. Symbol
  1399. Use of the Lotus Connectors LotusScript Extensions is limited to the Notes environment and  Notes applications.  For example, LC LSX scripts cannot be called from within Lotus 1-2-3 or Lotus Approach, because the Connectors only have context within the Domino Server and Notes client.  
  1400. LSX LC Data Types
  1401. Standard Data types
  1402. Standard data types come in three classes: Number (Int, Float, Currency, and Numeric), Datetime (Datetime), and Stream (Text and Binary). All types except Int and Float are represented by Lotus Connector classes described in this manual (Int is represented by a LotusScript Long, and Float by a LotusScript Double).
  1403. : A four-byte signed integer. Integers are very efficient, but limited in precision and range. An int is any whole number between -2147483647 and 2147483647 (9 digits of precision).
  1404. Float
  1405. : An eight-byte (double-precision) floating point number. Floats have less precision than currencies or numerics, but have a far greater range of values and are more efficient. A float has 15 digits of precision, and can represent any practical value (with an exponential range between 10^308 and 10^-308).
  1406. Currency
  1407. : An eight-byte integer with four decimal places. Currency provides greater precision than either int or float values. While it is less precise than a numeric, it is far more efficient, making it the preferable choice when higher precision is required. A currency has 19 digits of precision, and a maximum value of 922,337,203,685,477.5807
  1408. Numeric
  1409. : A numeric is larger and less efficient than any other number datatype, but has far greater precision. A numeric is assigned a precision (number of digits) up to 88 and a scale (number of decimal places) between -127 and 127, allowing it to express a very large number of values with very high precision.
  1410. Datetime
  1411. : A datetime indicates a specific date and time. Its range is any date between the years 1 and 32767, with a precision of .01 seconds. In addition, datetimes are specific to timezone and DST settings, making them usable in international settings.
  1412. : Text is a stream of characters up to 4 Gb in length. All text has a character set, and conversion between character sets is supported. When transferring between systems, character set conversion is automatically performed as needed.
  1413. Binary
  1414. : Binary is a stream of bytes up to 4 Gb in length. All binary data has a format which is either BLOB (Binary Large Object) for unformatted data, or a structured binary format such as composite, text list, number list, and datetime list. The three list formats allow for a single data value to itself contain multiple values.
  1415. Advanced Data types
  1416. Fieldlist
  1417. : A fieldlist itself is a collection of named fields with one or more values each, similar to a SQL table. A fieldlist as a data type allows for a single data value to itself contain a fieldlist, supporting hierarchical or nested data. The fields in a fieldlist data value may in turn contain additional nested fieldlists. Fieldlists are only usable by those back end that support such data structures.
  1418. Connection
  1419. : A connection supports interaction with a back end system through a Lotus Connector. Connections as a data type are only valid when working with metaconnectors, since metaconnectors have properties of type Connection.
  1420. Arrays and Indexes
  1421. The default for array indexes in LotusScript is 0 based. For example, elements of an array are specified as Elem(0), Elem(1), Elem(2), etc. There is an option in LotusScript, 
  1422. &Option Base n
  1423. 8, that makes the default lower bound of an unspecified array something other than 0. LSXs do not support this syntax. It is recommended, for consistency, that within scripts which use an LSX, such as the Lotus Connectors, that this option not be used.
  1424. Many Lotus Connector class methods operate on multi-value data. Class methods include the 'List' methods of LCStream, the 'Get' and 'Set' methods of LCField and LCFieldlist, as well as the 'Fetch', 'Insert', 'Update', and 'Remove' methods of LCConnection.  These operations are counted from 1. For example, fields of a fieldlist are specified as MyFieldList.GetField (1), MyFieldList.GetField (2), MyFieldList.GetField (3), ... etc.
  1425.  Unlike dimensioned arrays which default to zero based, and LSX generated arrays which are always zero based, these class methods require an index counted from 1.
  1426. It is possible to assign a LotusScript array to a multi-value object such as a LCField. It is important that the array not contain more elements than the LCField object will store as this will cause an overflow error. For example, 5 long integers may be assigned to an LCField as follows:
  1427.     Dim numbers(4) as Long  ' numbers(0, numbers(1), ... numbers(4)
  1428.     Dim field as new LCField (LCTYPE_INT, 5)
  1429.     field.Value = numbers
  1430. Working with Multiple Rows of Data
  1431. The Fetch, Insert, Update, Remove methods of a connection use a 
  1432. RecordCount
  1433.  parameter and may operate on more than a single row at a time.  However, the LCFiedllist parameter must have been created to hold more than one record for this to work.  You may operate on less records than the Fieldlist was created with, but not more. 
  1434. A simple example of different configurations for 
  1435. RecordIndex
  1436.  and 
  1437. RecordCount
  1438.  might be as follows:  
  1439.     Dim Records as New LCFieldlist (3, LCFIELDF_TRUNC_DATA)
  1440.     Call connection.Fetch (Records, 1, 3)    ' fetch three records
  1441.     Call connection.Insert (Records, 3, 1)    ' insert them in reverse order
  1442.     Call connection.Insert (Records, 2, 1)
  1443.     Call connection.Insert (Records, 1, 1)
  1444. Note that both parameters for New LCFieldlist are optional and default to 1, and LCFIELDF_TRUNC_PREC, respectively.  Likewise, the 
  1445. RecordIndex 
  1446. RecordCount
  1447.  parameters are optional for Fetch, Insert, Update and Remove, and default to 1 and 1. Lastly, the 
  1448. RecordIndex
  1449.  and 
  1450. RecordCount
  1451. , when added to each other (minus 1) must not exceed the size of the created Fieldlist.
  1452. Optional Parameters
  1453. Some methods have optional parameters.  Note the LotusScript keyword "Nothing" is used for output parameters that the user is not interested in receiving.  If one or more optional parameters are at the end of a call, they may simply be ignored as in the case of a datetime.  For example, a datetime with only the date portion provided is created using
  1454.       Dim Calendar as New LCDatetime (1998, 8, 7)
  1455. When optional parameters that occur in the middle are omitted, the commas must remain, as in:
  1456.     Call session.GetStatus (ErrorText, , DBError)
  1457. Performance
  1458. Certain techniques can be used to increase LSX LC code performance.  These techniques are described below.  
  1459. Connector Caching
  1460. Most connectors are optimized for repeated calls using the same parameters, but different data values.  This generally applies to Fetch, Insert, Update, Remove, and Select operations.  When these methods are called with the same fieldlist more than once, they are able to avoid certain steps such as field mapping and type checking.  This optimized functionality is available as follows:  
  1461. Select: METADATA property and KeyFieldlist are the same.
  1462. Fetch: Result set and DestFieldlist are the same.
  1463. Insert: METADATA property and SrcFieldlist are the same.
  1464. Update and Remove: WRITEBACK and METADATA properties and SrcFieldlist are the same.
  1465. Calls to one type of method generally do not affect others, so the following pseudo-code obtains the optimal use of this caching:  
  1466.     Connect to Connection CONN
  1467.     Set Metadata
  1468.     Generate result set, producing Fieldlist FL
  1469.     Loop until done:
  1470.     Fetch into FL
  1471.     Insert from FL
  1472.     Exit
  1473. If this were changed to fetch the data and then insert into one of two tables depending on some condition, then every time the table changed, new field mapping and type checking would be performed. In such a case, establishing two connections for Insert would be optimal.
  1474. Tight Loops
  1475. Another way to optimize LSX LC code is to produce tight loops, moving as much code out of the loop as possible. Anything inside such a loop must be done for every iteration of the loop, and can therefore become costly with large data sets. For example, inside a loop which transfers 10,000 records, you may need to access a field in a fieldlist. Instead of using the property as Fieldlist.Fieldname, which will locate the field by name every iteration, you could instead use Field = Fieldlist.Fieldname outside the loop and then simply refer to Field inside the loop. This will remove 10,000 property accesses for the fieldlist.  
  1476. NOTES.INI Variables
  1477. The following entries may be added to the NOTES.INI file to control aspects of the LSX LC:  
  1478. DECSTranslation
  1479. : This controls text translation, allowing the user to increase performance in exchange for certain assumptions about the data being accessed. Note that none of these settings affects translation between unicode and other character sets, since it is always required. There are three valid numeric settings:
  1480. 0    Do not perform translation between character sets (except unicode). This is valid when all data being accessed is compatible with the Notes LMBCS character set - primarily ASCII printable characters.
  1481. 1    No not performed translation between non-LMBCS (and non-unicode) character sets. This is valid when all data being accessed, except for Notes LMBCS data, is in compatible character sets.
  1482. 2    Always translate between any character sets. This is the default.
  1483. DECSCenturyBoundary
  1484. : This controls how to interpret the year in a text string being converted to a datetime, when the year contains only two digits.  Values greater than or equal to the century boundary are considered to be in 1900s, values less than are in the 2000s. There are three ways to set this: 
  1485. 0    Since all values are greater than or equal to zero, always use 1900.
  1486. 1-100    If the two-digit year is greater than or equal to this value, use 1900; otherwise use 2000.
  1487. 101    Since all values are less than 101, always use 2000.
  1488. The default setting is 50, which is the same as Notes. This means than any two-digit year from 0-49 is in 2000, and 50-99 is in 1900.
  1489. DECSNativeText
  1490. : This allows the local machine's native character set to be overridden. There are various situations when the native character set is used within the LSX LC, and some backend systems always consider client data to be in the native character set.  Setting this value to a valid text format string replaces the character set obtained from the operating system by the LSX LC with the indicated character set.  Appendix D lists supported character sets.  Use the text that remains after removing the "LCSTREAMFMT_" prefix.  For example, Code Page 932, represented by the constant LCSTREAMFMT_IBMCP932, would be set as follows: 
  1491. DECSNativeText=IBMCP932
  1492. &Arial
  1493. Times
  1494. LotusFrute
  1495. Symbol
  1496.     5Courier New
  1497. Helvetica
  1498. This appendix provides information about error messages. 
  1499. Each entry each provides the error code in both hexadecimal and decimal format (hexadecimal is first, decimal second), the LCSTATUS constant (usable from any language), the error text for the message, and then a description of the error. 
  1500. Parameterized elements of a message are indicated in all uppercase, and are replaced at error generation time with the relevant value.  Optional elements of a message are enclosed in square brackets, and are included only if the contained parameters have values provided.  
  1501. &Arial
  1502. This section provides information about how to interpret the LSX LC error messages.  It describes the format of each error and what each component of the error message indicates.  
  1503. Example Error Message
  1504. rror: Two Fields cannot have the same name within a Form, Connector 'notes', 
  1505.     Method -Create [Metadata]-  (0x80000803)
  1506. Error Message Components
  1507. Error:
  1508. & - This prefix is added to any error. It is not included for 
  1509. +events
  1510. , (informational messages).  
  1511. Two Fields cannot have the same name within a Form
  1512. 8 - This is the specific error message. This can be either an LC error message, or an external error message. In this case, it is an external error message.
  1513. Connector 
  1514. +Notes
  1515. 8 - This is the Connector which generated the error message. This element is only included when the error occurs inside an LCConnection method - it is skipped otherwise.
  1516. Method -Create [Metadata]
  1517. 8 - This is the LCConnection method in which the error occurred. It is only generated when the Connector is included in the error message. It indicates the LCConnection method generating the error. In addition, for methods which accept a parameter indicating an object type (Create, Drop, or Catalog) or action type (Action), the object or action type is included in square brackets for more information.
  1518. (0x80000803)
  1519. 8 - This is the external error code generated by the backend system. It is only included when the actual error was LCFAIL_EXTERNAL - which is the case whenever the error is not an LC error. When the value is between -65536 and 65536, the decimal value is used. When it is lower or higher, the hex value is used.
  1520. &Arial
  1521. Errors are in the following format:  
  1522. Hex Value    Decimal Value    Constant    Text
  1523. Description
  1524. General Errors
  1525. &H101    257    LCFAIL_PROGRAM    Lotus Connector program failure - contact Lotus support
  1526. An unexpected internal error has occurred. Collect all information regarding events leading up to this error and contact Lotus technical support.
  1527. &H102    258    LCFAIL_MEMORY    Unable to allocate memory
  1528. An attempt to allocate program memory failed. There are a few possible causes of this error. First check system resources to determine if your system is low on memory. If it is, then more memory is needed on your system to support the processing tasks occurring. If your system still has significant memory available, then a request for a very large amount of memory was made. Certain operations are memory intensive, such as loading extremely large data values, requesting too many records at one time, or using a metaconnector such as the order metaconnector (which loads the entire result set at once) against a very large result set.
  1529. Connector Errors
  1530. &H3001    12289    LCFAIL_UNAVAILABLE    Requested functionality is not available
  1531. A request for unsupported functionality was made. This can occur when using a Connector which doesn
  1532. ,t support a specific operation (for example, a Connector may not support the Create method), or when an LC API method doesn
  1533. ,t support a specific request (see the documentation for the method in question).
  1534. &H3002    12290    LCFAIL_END_OF_DATA    The last data value has been retrieved
  1535. The last element has been retrieved from a list of available data values. This is a normal return code from any operation which is called to iterate through data values (for example, LCConnection.Fetch, LCConnect.ListProperty, LCFieldlist.List, etc.). It does not indicate a fatal error, and is usually part of a normal flow of operations.
  1536. &H3003    12291    LCFAIL_INVALID_INDEX    Cannot locate list element
  1537. A request made of a multi-value object provided an invalid index. This normally occurs when accessing a list entity (for example, a field in a fieldlist or a text entry in a text list) where the index provided is greater than the maximum valid index for that object. Note that all indices are one-based - so that an object with three elements has valid index values of 1, 2, and 3.
  1538. &H3004    12292    LCFAIL_INVALID_LIST        Invalid List direction
  1539. When using a method which iterates through values, an LCLIST parameter indicates the listing method (for example, start at the first, or return the next entry). Either an invalid listing direction was provided, or a valid direction was provided, but is not supported in the current context.
  1540. &H3005    12293    LCFAIL_INVALID_CONVERT    Invalid conversion
  1541. An unsupported data conversion was attempted. Conversion is valid between members of the same data type 
  1542. &class
  1543. 8 (numbers, streams, and datetimes) as well as to and from text. Conversions between datatype classes where one type is not text (for example, converting between a datetime and a currency) will return this error. In addition, conversion to or from a binary stream formats is generally only valid when one type is text or a binary BLOB format.
  1544. &H3006    12294    LCFAIL_INVALID_TEXT_LIST    This operation requires a valid text list
  1545. An action that operates on a text list stream (a binary stream of format LCSTREAMFMT_TEXT_LIST) was provided a stream of a different format or with an invalid structure. Ensure that the stream data is a properly formatted text list.
  1546. &H3007    12295    LCFAIL_INVALID_NUMBER_LIST    This operation requires a valid number list
  1547. An action that operates on a number list stream (a binary stream of format LCSTREAMFMT_NUMBER_LIST) was provided a stream of a different format or with an invalid structure. Ensure that the stream data is a properly formatted number list.
  1548. &H3008    12296    LCFAIL_INVALID_DATETIME_LIST    This operation requires a valid datetime list
  1549. An action that operates on a datetime list stream (a binary stream of format LCSTREAMFMT_DATETIME_LIST) was provided a stream of a different format or with an invalid structure. Ensure that the stream data is a properly formatted datetime list.
  1550. &H3009    12297    LCFAIL_ZERO_INDEX        All index values are one-based - an index of zero is not valid
  1551. A request made of a multi-value object provided an index of zero. All objects and methods which support an index reference (for example, fieldlists and text lists) use one-based indices - zero is never a valid index value.
  1552. &H300A    12298    LCFAIL_ZERO_COUNT        This operation requires a non-zero count
  1553. A parameter indicating a count was given a value of zero when it is not valid. Zero counts are only valid in specific cases - check the method documentation for more information.
  1554. &H300B    12299    LCFAIL_ZERO_OFFSET        All offset values are one-based - an offset of zero is not valid
  1555. A request made of a multi-value object provided an offset of zero. All methods which support an offset parameter (for example, LCStream.Merge) use one-based offsets - zero is never a valid offset value.
  1556. &H300C    12300    LCFAIL_ZERO_FORMAT    This operation requires a non-zero Stream Format
  1557. A parameter indicating a stream format was given a value of zero when it is not valid. Zero stream formats are only valid in specific cases - check the method documentation for more information. A list of valid stream formats is provided in your documentation.
  1558. &H300D    12301    LCFAIL_NULL_BUFFER    A NULL buffer was provided when one was required
  1559. A method with a required buffer parameter was provided no value where a valid buffer was required. Check the method documentation for more information.
  1560. &H300E    12302    LCFAIL_NULL_RESULT    A return parameter is required, but none was provided
  1561. A method with a required output parameter was provided no value where a valid parameter was required. Check the method documentation for more information.
  1562. &H300F        12303    LCFAIL_FIXED_LENGTH    A fixed-length stream requires a non-zero length
  1563. When requesting a fixed-length stream (with the stream flag LCSTREAMF_FIXED), a maximum length property with a non-zero value must be provided via LCStream.Create
  1564. &H3010        12304    LCFAIL_INVALID_FLAGS    The supplied flags are invalid, possibly due to a conflict
  1565. Bitwise flags provided for an operation are not valid - either invalid flags were specified, or conflicting flags were provided. Check the object or method documentation for more information on valid flags.
  1566. &H3011        12305    LCFAIL_TEXT_TRANSLATE    Text translation failure
  1567. Translation between character sets failed. This may be caused by an incorrect character set indicator or invalid data in the source text. If the problem persists, contact Lotus technical support.
  1568. &H3012        12306    LCFAIL_NULL_FIELDNAME    A NULL field name was provided
  1569. A NULL or empty field name was provided when a valid field name was required. Ensure that the field name being provided has at least one character, and check the method documentation for more information.
  1570. &H3013        12307    LCFAIL_INVALID_FIELDLIST    Invalid fieldlist
  1571. An LCFIELDLIST object handle is either not a valid handle, or is zero. Object handles must be a valid value returned by a method which creates a new fieldlist. Handles are no longer valid once the object is freed. 
  1572. &H3014        12308    LCFAIL_INVALID_CONNECTION    Invalid connection
  1573. An LCCONNECTION object handle is either not a valid handle, or is zero. Object handles must be a valid value returned by a method which creates a new connection. Handles are no longer valid once the object is freed. 
  1574. &H3015        12309    LCFAIL_EMPTY_FIELDLIST    This operation cannot be performed on a fieldlist with no fields
  1575. A fieldlist that contains no fields is not valid in this context. To avoid this error, ensure that any fields are added to the fieldlist, and check the method documentation for more information.
  1576. &H3016        12310    LCFAIL_NAME_FIELDLIST    This operation cannot be performed on a name-only fieldlist
  1577. A fieldlist created with a record count of zero is not valid in this context. Such fieldlists are intended for name mapping, and cannot contain data values. As such, they cannot be used in any situation where data will be read from or written to a fieldlist. To avoid this error, provide a non-zero record count when creating the fieldlist.
  1578. &H3017        12311    LCFAIL_NATIVE_OVERRIDE    Native text format override supplied is not a valid stream format indicator
  1579. An override of the native character set was provided in an .INI variable as indicated in the documentation. The character set indicated is not a valid character set identifier. Check the documentation for a list of valid character set strings.
  1580. &H3018        12312    LCFAIL_RECORD_INDEX    An invalid fieldlist record index was encountered
  1581. A fieldlist record index is not valid for the relevant fieldlist. This generally occurs with LCConnection class methods which accept a fieldlist and a record index. The index must be at least one (all indices are one-based), and cannot be greater than the number of records that the fieldlist was created with.
  1582. &H3019        12313    LCFAIL_RECORD_COUNT    Request to transfer more records than allocated in fieldlist
  1583. A fieldlist record count is not valid for the relevant fieldlist. This generally occurs with LCConnection class methods which accept a fieldlist and a record count. The count plus the record index cannot exceed the number of records that the fieldlist was created with. In addition, a count of zero is only valid in specific situations - see the method documentation for more information.
  1584. &H301A    12314    LCFAIL_LIST_SETUP        Fieldlist iteration requires initial setup
  1585. Listing fieldlist in a fieldlist with LCFieldlist.List requires that LCFieldlist.ListSetup be called first to prepare the iteration.
  1586. &H301B    12315    LCFAIL_NO_MERGE_DATA    The data fieldlist in a merge cannot be a name-only fieldlist
  1587. When using the methods LCFieldlist.Merge or MergeVirtual, the fieldlist provided as the data fieldlist cannot be a name-only fieldlist. It must be created with a non-zero record count.
  1588. &H301C    12316    LCFAIL_NO_RESULTSET    This operation requires an active result set
  1589. A requested LCConnection operation cannot be performed unless the connection has an active result set. Produce a result set before attempting this operation. This error is generally produced by calling LCConnection.Fetch without a previous call to a method which produces a result set (such as Execute, Select, Call, or Catalog).
  1590. &H301D    12317    LCFAIL_NO_WRITEBACK    This operation requires an active writeback result set
  1591. A requested LCConnection operation cannot be performed unless the connection has an active writeback result set. Produce a writeback-enabled result set before attempting this operation. This error is generally produced by calling LCConnection.Update or Remove with the 
  1592. &Writeback
  1593. 8 property set, but without a previous call to a method which produces a writeback result set (such as Execute or Select with the 
  1594. &Writeback
  1595. 8 property set). If the result set is produced without the writeback property set, then writeback operations are not supported against that result set.
  1596. &H301E    12318    LCFAIL_WRITEBACK_COUNT    Writeback operation record counts must be one
  1597. When requesting a writeback operation against an LCConnection, only the most recently fetched record is affected, so the record count must be one.
  1598. &H301F        12319    LCFAIL_TRANSLATE_INIT    Text translation subsystem initialization failure
  1599. The internal character set translation subsystem failed to initialize properly. This is generally due to an improperly installed environment. Check the document for installation and platform-specific notes, and contact Lotus technical support if the problem persists.
  1600. &H3020        12320    LCFAIL_TIMEBOMB    This time-limited version has expired [as of DATE]
  1601. This is a time-limited version which expired on the date indicated. A new version with a later timebomb, or a complete version must be obtained from Lotus.
  1602. &H3021        12321    LCFAIL_SESSION_NOT_INIT    The Lotus Connector Session must be initialized before performing any operation
  1603. The Lotus Connector Session class must be initialized before any other LC objects can be created or methods used.
  1604. &H3022        12322    LCFAIL_CONNECTOR_VERSION    Incorrect Connector version
  1605. A Connector was built with an incompatible version of the Lotus Connector Toolkit. Contact Lotus or the developer of the Connector for an updated version.
  1606. &H3023        12323    LCFAIL_NOT_CONNECTED    This operation requires a connection to a Connector
  1607. The LCConnection method called cannot be used on an unconnected LCConnection. Call the Connect method before this operation. In general, any operation which produces a result set or manipulates data or metadata cannot be called before connecting - only getting and setting properties may occur. One exception for some Connectors is that a server or database catalog result set may be produced and fetched from before connecting.
  1608. &H3024        12324    LCFAIL_CONNECTED    This operation cannot be performed when there is a valid connection to a Connector
  1609. The LCConnection operation performed is not valid when the LCConnection is actively connected - the Disconnect method must first be called. This may occur when performing an action which affects the connection itself, such as using the Drop method on a database.
  1610. &H3025        12325    LCFAIL_EXTERNAL    <external error text>
  1611. An external database or application accessed by a Connector generated an error. The external error text and code are available with the method LCSession.GetStatus.
  1612. &H3026        12326    LCFAIL_ACTIVE_SUBCONNECTOR    The sub-Connector of a metaconnector can only be set once
  1613. Any subconnector property of a metaconnector can only be set once - any attempt to reset it will generate this error.
  1614. &H3027        12327    LCFAIL_TRANSLATE_TABLE    No translation tables are available for the character set
  1615. A translation table is available for most translations between supported character sets. This error indicates that the translation table for a specific character set or translation is not available and the character set translation cannot be performed. Often, a similar character set is available and can be used to obtain the same effective translation.
  1616. &H3028        12328    LCFAIL_NO_SCROLL        This operation requires an active scrollable result set
  1617. Using the LCConnection.Fetch method with a negative record count is only valid when the Connector supports scrolling result sets and the active result set was produced with the 
  1618. &Scrolling
  1619. 8 property set. This error is returned from the Fetch method when a negative record count is provided and either of these conditions is not met.
  1620. &H3029        12329    LCFAIL_BINARY_FORMAT    This operation requires a non-binary Stream Format
  1621. Certain LCStream methods are not valid on formatted binary stream formats. This method requires a stream with a text format, or unformatted BLOB binary format. Check the method documentation for more information.
  1622. &H302A    12330    LCFAIL_ASYNC_ACTIVE    Asynchronous operation is still active
  1623. This error is returned from methods that wait for an asynchronous operation to complete. When the asynchronous operation is still active and any wait period specified passes, this error is returned.
  1624. Parameterized Connector Errors
  1625. &H3101        12545    LCFAIL_INVALID_METADATA        Metadata object [
  1626. +METADATA
  1627. ,] does not exist
  1628. The value provided for the 
  1629. &Metadata
  1630. 8 property is not a valid metadata object in the external system. The invalid metadata name will generally be provided. Ensure that a valid value is being provided - common errors include misspellings, incorrect capitalization in case-sensitive systems, and being connected to the wrong database.
  1631. &H3102        12546    LCFAIL_TYPE_MISMATCH    Type mismatch [for field 
  1632. +FIELDNAME
  1633. ,] [; Connector: TYPE1] [, External: TYPE2]
  1634. Data type mismatch. Implicit data conversion is supported only within a datatype 
  1635. &class
  1636. 8 - number, stream, or datetime. When mapping is attempted between datatypes in different classes (for example, INT to TEXT; or DATETIME to NUMERIC), this error is generated. The fieldname and datatypes are generally provided in the error text. Ensure that the datatypes being mapped are members of the same datatype class.
  1637. &H3103        12547    LCFAIL_DUPLICATE        Duplicate object [
  1638. +NAME
  1639. An object of the same name already exists - select a different name. This error can occur when creating an API object or an external system object, such as creating a new metadata object where one of the same name already exists.
  1640. &H3104        12548    LCFAIL_FIELD_COUNT_MISMATCH    Field count mismatch [; Connector: COUNT1, External: COUNT2]
  1641. The number of fields did not match between a Connector and an external system. In some cases, this problem can be resolved automatically (for example, when writing fields to a backend system that supports more fields than provided). In other cases, this error will be generated (for example, when writing 5 fields to a backend system which supports 3 fields). To avoid this error, fields can be removed from a fieldlist on a per-operation basis by using field flags.
  1642. &H3105        12549    LCFAIL_KEY_COUNT_MISMATCH    Key count mismatch [; Connector: COUNT1, External: COUNT2]
  1643. The number of keys did not match two systems. In cases where keys must be specified for two systems, the same number of keys must be provided for both systems.
  1644. &H3106        12550    LCFAIL_STAMPFIELD_TYPE    Timestamp field [
  1645. +FIELDNAME
  1646. ,]must be type Datetime[; Actual: TYPE]
  1647. A timestamp field provided for the 
  1648. &StampField
  1649. 8 property of a Connector must represent an external field of type datetime. This error is returned when it is a number or stream datatype.
  1650. &H3107        12551    LCFAIL_FIELD_TYPE    Type mismatch for field [
  1651. +FIELDNAME
  1652. ,] used in this context [; Expected: TYPE1 [, Actual: TYPE2]]
  1653. Specific functionality requested of a Connector requires that a field be of a particular datatype. This error is generated when a specific datatype is expected for a particular field, but an incompatible datatype is provided.
  1654. &H3108        12552    LCFAIL_MERGE_FIELD    Field mapping failed due to a missing field [
  1655. +FIELDNAME
  1656. When using the methods LCFieldlist.Merge or MergeVirtual, there was a mismatch between the fieldlists. Either a field in the namelist had no match in the data list, or vice-versa. If such a mismatch occurs and the merge flag LCMERGEF_NAME_LOSS or LCMERGEF_DATA_LOSS is not specified to indicate that loss of fields is allowed, then this error is generated. Ensure that the field indicated in the error has a corresponding field in the other fieldlist.
  1657. &H3109        12553    LCFAIL_MISSING_PROPERTY    No value supplied for required property [
  1658. +PROPERTY
  1659. The indicated property requires a value for the requested operation, but none was provided. Supply a valid value for the property. Check the documentation for the Connector or the method being called (for example, when using the LCConnection.Create method to create an index, the property 
  1660. &Index
  1661. 8 is required, and if no value was given, this error would be generated).
  1662. &H310A    12554    LCFAIL_PROPERTY_CONFLICT    Conflicting values for properties [
  1663. +PROPERTY1
  1664. , and 
  1665. +PROPERTY2
  1666. The values provided for the two indicated properties conflict with one another. Check the Connector documentation for information regarding conflicting property values for this Connector.
  1667. &H310B    12555    LCFAIL_INVALID_PROPERTY    Invalid property [
  1668. +PROPERTY
  1669. The attempt to get or set the indicated property failed because it is not supported by the Connector. Check the Connector documentation for more information on supported properties for this Connector.
  1670. &H310C    12556    LCFAIL_PROPERTY_VALUE    Invalid property value [for property 'PROPERTY
  1671. The value provided for the indicated property is not a valid value. Check the Connector documentation for information on valid property values for this Connector.
  1672. &H310D    12557    LCFAIL_INVALID_CHARSET    The text format provided [
  1673. +CHARSET
  1674. ,] is not a valid Lotus Connector character set indicator
  1675. An attempt to indicate a character set by it
  1676. ,s textual representation failed due to an invalid string. Check the documentation for a list of supported character set strings.
  1677. &H310E    12558    LCFAIL_READ_ONLY_PROPERTY    Cannot change the value of read-only property [
  1678. +PROPERTY
  1679. The indicated property is read-only for this Connector and an attempt to set it
  1680. ,s value was made. For example, the 
  1681. &TextFormat
  1682. 8 property of some Connectors cannot be assigned, so will generate this error on any such attempt.
  1683. &H310F        12559    LCFAIL_MISSING_CONNECTORLCX    Cannot load Connector LCX Library [
  1684. +CONNECTOR
  1685. The Connector library .LCX file could not be loaded. Ensure that a valid Connector was specified and that the Connector is available on the system. A common mistake which produces this error is to not have any client files installed to support the Connector (for example, use of the DB2 Connector requires that a DB2 client product be installed)
  1686. &H3110        12560    LCFAIL_INVALID_CONNECTORLCX    Invalid Connector LCX Library [
  1687. +CONNECTOR
  1688. The Connector library .LCX file was located and loaded, but was not a valid Connector.  Contact Lotus or the Connector vendor for a valid Connector library.
  1689. Field-Specific Parameterized Connector Errors
  1690. &H3201        12801    LCFAIL_OVERFLOW    Data overflow[in field 
  1691. +FIELDNAME']
  1692. A data overflow was encountered when transferring data to or from a field. This error generally occurs when writing data to an external system, and the data is too large for the target field (for example, writing the text 
  1693. &abcdefg
  1694. 8 to a SQL CHAR(5) field). This error can also occur, though, when reading data into an internal datatype and the data cannot be accommodated (a number or datetime is out of range, or a stream exceeds the maximum allowed length. This error can be suppressed by assigning the field flag LCFIELDF_TRUNC_DATA, or selecting the corresponding UI option to allow data loss on overflow.
  1695. &H3202        12802    LCFAIL_PRECISION_LOSS    Data precision loss [in field 
  1696. +FIELDNAME
  1697. This error is generated when performing type mapping between internal and external fields when the datatypes are different, and precision may be lose on data transfer. Note that this error indicates that precision will be lost between the datatypes, irrelevant of the actual data (for example, writing a FLOAT values of 3 to an INT field will be considered a precision loss, since it checks the datatypes once at mapping time, rather than the data values for each transfer). This error can be suppressed by assigning the field flag LCFIELDF_TRUNC_PREC, or selecting the corresponding UI option to allow precision loss.
  1698. &H3203        12803    LCFAIL_INVALID_INT    Invalid integer value [in field 
  1699. +FIELDNAME
  1700. The indicated field contains an invalid integer value, or an attempt to assign an invalid integer value was made. Ensure that the data source for the field was a valid value and check that the field value is not being destroyed by an incorrect operation or method call.
  1701. &H3204        12804    LCFAIL_INVALID_FLOAT    Invalid float value [in field 
  1702. +FIELDNAME
  1703. The indicated field contains an invalid floating point value, or an attempt to assign an invalid floating point value was made. Ensure that the data source for the field was a valid value and check that the field value is not being destroyed by an incorrect operation or method call.
  1704. &H3205        12805    LCFAIL_INVALID_CURRENCY    Invalid currency value [in field 
  1705. +FIELDNAME
  1706. The indicated field contains an invalid currency value, or an attempt to assign an invalid currency value was made. Ensure that the data source for the field was a valid datetime value within the allowable range of an LCCurrency and check that the field value is not being destroyed by an incorrect operation or method call.
  1707. &H3206        12806    LCFAIL_INVALID_NUMERIC    Invalid numeric value [in field 
  1708. +FIELDNAME
  1709. The indicated field contains an invalid numeric value, or an attempt to assign an invalid numeric value was made. Ensure that the data source for the field was a valid numeric value within the allowable range of an LCNumeric and check that the field value is not being destroyed by an incorrect operation or method call.
  1710. &H3207    12807    LCFAIL_INVALID_DATETIME    Invalid datetime value [in field 
  1711. +FIELDNAME
  1712. The indicated field contains an invalid datetime value, or an attempt to assign an invalid datetime value was made. Ensure that the data source for the field was a valid datetime value within the allowable range of an LCDatetime, and check that the field value is not being destroyed by an incorrect operation or method call.
  1713. &H3208        12808    LCFAIL_INVALID_STREAM    Invalid stream value [in field 
  1714. +FIELDNAME
  1715. The indicated field contains an invalid stream value, or an attempt to assign an invalid stream value was made. Ensure that the data source for the field was a valid value and check that the field value is not being destroyed by an incorrect operation or method call.
  1716. &H3209    12809    LCFAIL_INVALID_FIELD    Invalid field [
  1717. +FIELDNAME
  1718. An LCFIELD object handle is either not a valid handle, or is zero. Object handles must be a valid value returned by a method which creates a new field. Handles are no longer valid once the object is freed. 
  1719. &H320A    12810    LCFAIL_INVALID_TYPE    Invalid data type[for field 'FIELDNAME']
  1720. The datatype for the indicated field is an unknown datatype, or a datatype parameter was provided with an invalid value. This error will generally only occur if some sort of corruption exists, but could also be indicative of a version mismatch between a specific Connector and the calling program or tool. Check to ensure that only valid datatypes of the form LCTYPE_XXX are being used, and if the problem persists, contact Lotus technical support.
  1721. &H320B    12811    LCFAIL_INVALID_KEY        Invalid key field [
  1722. +FIELDNAME
  1723. The indicated field was provided as a key field, but no such searchable field exists in the result set or external system. Two common sources of this error are misspellings of the key field name or use of a non-searchable field (as defined by the external systems - check the Connector documentation for information on datatypes that cannot be used as keys) as a key. This error can also occur when the key field is left out of the result set.
  1724. &H320C    12812    LCFAIL_DUPLICATE_KEY    Duplicate key field [
  1725. +FIELDNAME
  1726. The indicated field was provided as a key field twice - a single field can only be used once as a key. Either remove the second occurrence of the key field, or provide a different field name in it
  1727. ,s place.
  1728. &H320D    12813    LCFAIL_INVALID_STAMPFIELD    Invalid timestamp field [
  1729. +FIELDNAME
  1730. The indicated field was provided as a timestamp field, but no such field exists in the result set or external system. This generally occurs because the name of the field was misspelled, or it was not included in the result set.
  1731. &H320E    12814    LCFAIL_INVALID_FIELDNAME    Field name [
  1732. +FIELDNAME
  1733. ,] is not valid in this context
  1734. The indicated field name is not valid for the context in which it was used. For example, when attempting to create a new metadata object in an external system, this error may be generated if any of the fields are not valid field names for that external system.
  1735. &H320F        12815    LCFAIL_VIRTUAL_FIELD    Unsupported virtual field [
  1736. +FIELDNAME
  1737. Virtual fields are an advanced feature only supported by certain Connectors. When using virtual fields, only those fields supported by the Connector in questions are valid. When a Connector supports virtual fields and a field provided has that Connector
  1738. ,s virtual code set, then it will generate this error if it does not understand the supplied virtual field. Check the Connector documentation for information on supported virtual fields.
  1739. &H3210    12816    LCFAIL_VIRTUAL_VALUE    Invalid data value for virtual field [
  1740. +FIELDNAME
  1741. Virtual fields are an advanced feature only supported by certain Connectors. When using virtual fields, only values supported by the Connector in questions are valid. When a Connector supports virtual fields and a field provided has that Connector
  1742. ,s virtual code set, then it will generate this error if it cannot handle or interpret the value supplied in that virtual field. Check the Connector documentation for information on supported virtual fields and valid values for those fields..
  1743. &H3211        12817    LCFAIL_INVALID_ORDER    Invalid order field [
  1744. +FIELDNAME
  1745. The indicated field was provided as an ordering field, but no such usable field exists in the result set or external system. This error can occur when misspelling a fieldname or leaving the indicated field out of the result set. It can also occur in some cases when using a non-searchable field (as defined by the external systems - check the Connector documentation for information on datatypes that cannot be used as keys) for ordering, and not using an Order metaconnector.
  1746. &Arial
  1747. This appendix provides information about the property tokens used in the Lotus Connectors LotusScript Extensions.  
  1748. The following flags can be combined with LCX property tokens. 
  1749. The base value for an LCX property is between 1 and 0xFFFF.  
  1750. Predefined Tokens
  1751. LCTOKEN_NAME - Library name for the connector used to create this connection.
  1752. LCTOKEN_CONNECTOR_CODE - A code unique to this connector, and the same for all connections to this connector. This code is assigned dynamically, so may change for each execution of a script. This code can be used as a virtual field code to indicate special handling by any connection to this connector.
  1753. LCTOKEN_CONNECTION_CODE - A code unique to this connection among all connections. This code is assigned dynamically, so may change for each execution of a script. This code can be used as a virtual field code to indicate special handling by this connection only.
  1754. LCTOKEN_EVENT_ERROR - Error code (LCFAIL_XXX constant) to treat as an event. When this error is generated, it is downgraded to an informational event. Set to LCSUCCESS to clear this property.
  1755. LCTOKEN_CHARACTER_SET - Character Set indicator representing the character set used by this connector for data transfers to and from the backend system. This is normally dynamically determined by the connector from the backend system at run time. Often read-only, but may be assigned for some connectors. Valid values include any text stream format suffix from the supported character set appendix (e.g., "IBMCP932" for LCSTREAMFMT_IBMCP932.)
  1756. LCTOKEN_IGNORE_ERROR - Error code (LCFAIL_XXX constant) to ignore. When this error is generated, it is ignored. Set to LCSUCCESS to clear this property.
  1757. LCTOKEN_LCX_VERSION - Version code for the connector LCX library.
  1758. LCTOKEN_CONNECTOR_NAME - Property representing the first sub-connector for a particular Metaconnector. Setting this property to a connector name is the same as creating a connection of that connector type and assigning it to the metaconnector.
  1759. LCTOKEN_SERVER - Server string, used for connectivity.
  1760. LCTOKEN_DATABASE - Database string, used for connectivity.
  1761. LCTOKEN_USERID - Userid string, used for connectivity.
  1762. LCTOKEN_PASSWORD - Password string, used for connectivity. This value is write-only, and cannot be retrieved from a connector once assigned.
  1763. LCTOKEN_METADATA - Metadata object name. Used for reading and writing records, as well as creating, dropping, and cataloging metadata and fields.
  1764. LCTOKEN_INDEX - Index string. Used when an index name is required, sich as when creating or dropping an index.
  1765. LCTOKEN_MAP_NAME - Map by name flag - set to TRUE to map fields in fieldlist to backend metadata by name, and to FALSE to map by position.
  1766. LCTOKEN_WRITEBACK - Writeback flag - set to TRUE before calling Execute or Select to produce a writeback result set, and before calling Update or Remove to perform a writeback operation against a writeback result set.
  1767. LCTOKEN_FIELDNAMES - Selection field name list, a text list (or comma or semicolon separate list of field names in a text string) indicating fields to include in a Select method result set. By default, all fields selected are included; this property can be used to restrict that list.
  1768. LCTOKEN_ORDERNAMES - Ordering field name list, a text list (or comma or semicolon separate list of field names in a text string) indicating fields to order a Select method result set by. 
  1769. LCTOKEN_CONDITION - Condition string in a syntax defined by the connector. This clause will be embedded within a selection or modification statement for Select, keyed Update, or keyed Remove operations.
  1770. LCTOKEN_STAMPFIELD - Name of the field containing a timestamp value (must be a datetime datatype). When set before calling the Select method, the result set will be restricted to fields where the timestamp field value is between the value assigned to the BASESTAMP property and returned in the MAXSTAMP property. If BASESTAMP is not set, no minimum will be used. The Select method will determine the current time from the backend server, assign that value to the MAXSTAMP property, and use that datetime as the upper boundary for selection.
  1771. LCTOKEN_BASESTAMP - Base timestamp value for timestamp selection - see STAMPFIELD property. 
  1772. LCTOKEN_MAXSTAMP - Maximum timestamp value for timestamp selection - see the STAMPFIELD property.  This property is set by the Connector during Select operations when the STAMPFIELD property is set.
  1773. LCTOKEN_TEXT_FORMAT - See CHARACTER_SET property - this property is the numeric constant assigned to the particular character set. 
  1774. LCTOKEN_PROCEDURE - Procedure name to execute for the Call method.
  1775. LCTOKEN_OWNER - Owner name string to restrict Catalog method calls (excluding server and database catalogs) to only objects owned by this owner.
  1776. LCTOKEN_SCROLLABLE - Whether to produce a scrollable result set. This property is not supported by any connectors at this time.
  1777. Connector Identification Property Tokens
  1778. LCTOKEN_IDFLAG_ACTION - Action flags 
  1779. LCTOKEN_IDFLAG_CONNECTOR - General flags 
  1780. LCTOKEN_IDFLAG_OBJECT_CATALOG - Catalog flags 
  1781. LCTOKEN_IDFLAG_OBJECT_CREATE - Create flags 
  1782. LCTOKEN_IDFLAG_OBJECT_DROP - Drop flags 
  1783. LCTOKEN_IDNAME_SERVER - Name for server objects in this backend system.
  1784. LCTOKEN_IDNAME_DATABASE - Name for database objects in this backend system.
  1785. LCTOKEN_IDNAME_USERID - Name for user ID objects in this backend system.
  1786. LCTOKEN_IDNAME_PASSWORD - Name for password objects in this backend system.
  1787. LCTOKEN_IDNAME_METADATA - Name for metadata objects in this backend system.
  1788. LCTOKEN_IDNAME_FIELD - Name for metadata fields in this backend system.
  1789. LCTOKEN_IDNAME_ALT_METADATA - Name for alternate metadata objects in this backend system.
  1790. LCTOKEN_IDNAME_ALT_FIELD - Name for alternate metadata fields in this backend.
  1791. LCTOKEN_IDNAME_PROCEDURE - Name for procedure objects in this backend system.
  1792. LCTOKEN_IDNAME_INDEX - Name for index objects in this backend system.
  1793. LCTOKEN_IDNAME_PARAMETER - Name for procedure parameters in this backend system.
  1794. &Arial
  1795. The table below describes the items included in the tables of Connector properties. 
  1796. >2kdU
  1797. Description
  1798.     Token
  1799. >2kdU
  1800.     Property token. A name indicates the property is represented by the pre-defined constant LCTOKEN_<name>. For example, METADATA indicates the constant LCTOKEN_METADATA. A number indicates a property specific to the particular Connector.
  1801.     Name
  1802. >2kdU
  1803.     The property name. This is the dynamic property added through the LSX LC.
  1804.     Type
  1805. >2kdU
  1806.     The data type of the property:  
  1807.     Boolean
  1808.       Considered either FALSE (zero) or TRUE (non-zero).
  1809.       Valid values are indicated in the description.
  1810.     Datetime
  1811.       Standard datetime.
  1812.     Text
  1813.       Standard text stream.
  1814.     Text List
  1815.       Can be submitted as a formatted text list or (more commonly) a comma, semicolon, or newline-separated text value.
  1816.     All default values are FALSE (boolean), 0 (integer), no value (datetime), and the empty string (text) unless otherwise indicated.
  1817. &Arial
  1818. The table below defines the properties for the Lotus Connector for Notes.
  1819.     Token
  1820.     Name/Description
  1821.     Type
  1822.     SERVER
  1823.     Server
  1824.     Notes Server.  If not supplied, the local Notes database will be accessed.  
  1825.     Text
  1826.     DATABASE
  1827.     Database
  1828.     Notes database filepath, not the title. Required. Primarily used for establishing a connection.
  1829.     Text
  1830.     METADATA
  1831.     Metadata
  1832.     Notes form name. Unlike many other Connectors, Notes Execute operations also require a Metadata property value, since the selection formula does not include metadata information.
  1833.     Text
  1834.     INDEX
  1835.     Index
  1836.     Notes view name.
  1837.     Text
  1838.     MAP_NAME
  1839.     MapByName
  1840.     Whether to map by name or position when transferring data between data source and target. 
  1841.     Boolean
  1842.     WRITEBACK
  1843.     Writeback
  1844.     Whether to perform writeback or non-writeback operations
  1845.     Boolean
  1846.     FIELD_NAMES
  1847.     FieldNames
  1848.     Text list of fields to select - used for Select operations
  1849.     Text List
  1850.     ORDER_NAMES
  1851.     OrderNames
  1852.     Text list of fields to order results by - used for Select operations
  1853.     Text List
  1854.     CONDITION
  1855.     Condition
  1856.     Notes-specific syntax conditional clause used for Select operations (part of a Notes selection formula).  This must be valid syntax for a 
  1857. &select <condition>
  1858. 8 formula.  
  1859.     Text
  1860.     STAMPFIELD
  1861.     StampField
  1862.     Field name of timestamp field - used for Select operations. Using 
  1863.     StampField without a view (DB search instead) only works when the timestamp field is "@Modified", and the LoadModified property is set to TRUE. When not using this new property, a view search is still required (although if no view property is set, a temporary one will be created).
  1864.     Text
  1865.     BASESTAMP
  1866.     BaseStamp
  1867.     Minimum timestamp value to include in results - used for Select operations
  1868.     Datetime
  1869.     MAXSTAMP
  1870.     MaxStamp
  1871.     During a Select operation, set by the Connector to the current/maximum timestamp value - set by Select operations. 
  1872.     Datetime
  1873.     TEXT_FORMAT 
  1874.     TextFormat
  1875.     This is always LCSTREAMFMT_LMBCS for Notes.  Read-only property. 
  1876.     CHARACTER_SET
  1877.     CharacterSet
  1878.     This is always LCSTREAMFMT_LMBCS for Notes.  Read-only property.
  1879.     Text
  1880.     Port
  1881.     Port name to locate the server on. No value searches all ports.
  1882.     Text
  1883.     EnforceForm
  1884.     Whether to enforce the form design on documents created and accessed. 
  1885. * The connection does not execute any Notes form- and field-related formulas.
  1886. * Executes all Notes field-related formulas (default value, input translation, and computed field) as part of the session. This option may cause slower data transfer as a result of formula calculations. This option does not execute @Db functions.
  1887. * The session sets all field flags as defined in the form but does not execute any formulas. As a result, special types, indicated in Notes by flags --such as reader and author names--are assigned in new documents as indicated in the form. This option avoids the overhead of computing field formulas.
  1888.     MultiValueAsText
  1889.     Whether to represent all multi-value Notes types (text list, number list, and datetime list) as text values. This can make type transformation between non-Notes Connectors that do not support multi-value types more straightforward.  
  1890.     Boolean
  1891.     BulkStore
  1892.     Whether to buffer all document modifications for bulk submittal at disconnection. This increases performance, but prevents access to those changes until disconnection.  
  1893.     Boolean
  1894.     FilePath
  1895.     Directory on the Domino Server into which attachments are extracted to and attached from when using the FILE virtual field or the LoadFile property. By default, the current working directory is used.
  1896.     Text
  1897.     UpdateViews
  1898.     Whether to update all views in the database during disconnection. After making extensive changes, the initial opening of a view can perform a time-consuming update.
  1899.     Boolean
  1900.     CreateDatabase
  1901.     Whether to create a database during connection if one does not exist. The database is blank, unless a database template is specified with the TemplateServer and TemplateDatabase properties.
  1902.     Boolean
  1903.     TemplateServer
  1904.     Notes Server on which the database specified at TemplateDatabase resides. This template is used in conjunction with the CreateDatabase option. No value uses the local Notes installation
  1905.     Text
  1906.     TemplateDatabase
  1907.     Notes template database filepath on TemplateServer. This template is used in conjunction with the CreateDatabase option. 
  1908.     Text
  1909.     View
  1910.     Notes view to open for Execute or to use for keyed operations. The view
  1911. ,s result set replaces any Statement submitted to Execute.
  1912.     Text
  1913.     Agent
  1914.     Notes agent to run for an Execute operation on the result set produced by either the Statement parameter or the View property.
  1915.     Text
  1916.     FullTextQuery
  1917.     Notes full text query for an Execute operation on the result set produced by either the Statement parameter or the View property, and any Agent property.
  1918.     Text
  1919.     TextMaxLength
  1920.     Notes text data is limited to slightly less than 64K. To simplify data creation on other Connectors with shorter text columns, specify a value to assign as the maximum length for text metadata in any result set produced.
  1921.     FetchViewData
  1922.     Whether to fetch data from view columns rather than from document fields. Requires a View property value.
  1923.     Boolean
  1924.     AllForms
  1925.     Whether to include documents of all forms. By default, only documents of the form indicated by the metadata property value are included. When including documents of other forms, fields in the indicated metadata are used in place of those document
  1926. ,s forms.
  1927.     Boolean
  1928.     ViewResponses
  1929.     Whether to include view response documents. By default, only main topics are included. Requires a View property value.
  1930.     Boolean
  1931.     LoadUnid
  1932.     Whether to add a UNID virtual field to the result set produced by an Execute or Select operation.
  1933.     Boolean
  1934.     LoadNoteid
  1935.     Whether to add a NOTEID virtual field to the result set produced by an Execute or Select operation.
  1936.     Boolean
  1937.     LoadRef
  1938.     Whether to add a REF virtual field to the result set produced by an Execute or Select operation.
  1939.     Boolean
  1940.     LoadFile
  1941.     Whether to add a FILE virtual field to the result set produced by an Execute or Select operation.
  1942.     Boolean
  1943.     CopyHierarchy
  1944.     Whether to add a LCXHIER virtual field to the result set produced by an Execute operation.
  1945.     Boolean
  1946.     CopyFile
  1947.     Whether to add a LCXFILE virtual field to the result set produced by an Execute or Select operation.
  1948.     Boolean
  1949.     ExecuteDelete
  1950.     Whether to delete the result set produced during an Execute operation. This property is to simulate native DELETE statements provided on some other Connectors.
  1951.     Boolean
  1952.     InsertMail
  1953.     Whether to reroute Inserted documents as mail. Normal Notes addressing information, such as the required SendTo field, is used.
  1954.     Boolean
  1955.     MailEmbedForm
  1956.     Whether to embed the form in documents mailed through the InsertMail property. Use when the target form is not available in the recipients
  1957. , mail database.
  1958.     Boolean
  1959.     Encrypt
  1960.     Encrypts all encryption-enabled fields in the form of the target document. To use private encryption keys (the default is to use the public key), provide one or more private encryption key names, separated by commas or semicolons in EncryptKeyList. These keys must be available on the Domino Server.
  1961.     Boolean
  1962.     EncryptKeyList
  1963.     One or more private encryption key names, separated by commas or semicolons, to be used by Encrypt. Valid only if Encrypt is True.
  1964.     Text list 
  1965.     PurgeDeleteStubs
  1966.     Clears all deletion stubs from the Notes database when disconnecting. It is strongly recommended that this only be used with UpdateViews, since once the stubs are deleted, they will not be properly removed from views.
  1967.     Boolean
  1968.     SearchNoCase
  1969.     Makes view searches case-insensitive (they are case-sensitive by default). 
  1970.     Boolean
  1971.     AlterView
  1972.     When the LC LSX does a Select operation with the Connector's View property set, AlterView=True allows the script to modify or create the view if it doesn't already exist or doesn't have the proper formatting. Necessary for select operations when a view and stampfield are specified.
  1973.     Boolean
  1974.     LoadModified
  1975.     Set to add a field "@Modified" to the result set, which contains the Notes implicit document timestamp. This field can only be read and attempts to set it will be ignored. 
  1976.     Boolean
  1977.     StampViewKey
  1978.     Indicates the value for the first key value for keyed operations when the view is a LC LSX-created view for timestamp selection. Zero means don't use. 1 is the value for docs outside the timestamp selection range, 2 is the value for docs inside the range. When performing a timestamp selection, this is automatically set to 1 by the Connector, and reset to zero when clearing the result set, 
  1979.     and should only be used or altered with great care
  1980. Notes Connector Property Combinations
  1981. The following are 
  1982. invalid
  1983.  combinations: 
  1984. FetchViewData TRUE and Agent or FieldList non-NULL
  1985. View NULL and any of FetchViewData, ViewResponses, or CopyFile TRUE
  1986. ViewResponses TRUE and CopyHierarchy TRUE
  1987. FetchViewData TRUE and any of LoadUnid, LoadNoteid, LoadRef, LoadFile, or CopyFile TRUE
  1988. MapByName TRUE and any of LoadUnid, LoadNoteid, LoadRef, LoadFile, CopyFile, or CopyHierarchy TRUE
  1989. When using ordering or timestamps (properties OrderNames or StampField, respectively) in Notes select operations, the View property can be set to indicate the name of the view to use for these operations. When performing selections with View set, the LSX LC will check that the view has the proper formatting (special requirements for either ordered or timestamped result sets). If the view has the correct format, it will be used. Supplying a view name when doing these operations can drastically improve performance by not requiring the database to be reindexed every run. When no view is specified, a temporary view is still created. When the view is the wrong format or doesn't exist, the use of the AlterView property allows the LSX LC to create or overwrite that view to be in its own format.  
  1990. Notes Virtual Fields
  1991. Notes recognizes a set of virtual fields - fields which are interpreted differently by the Notes connector than by other connectors. To use these virtual fields, either set the virtual code of the relevant fields to the Notes connector virtual code (obtain the property LCTOKEN_CONNECTOR_CODE from a Notes connection, and set that code into the properly names field using the LCField.SetVirtualCode method), or use one of the Notes properties which adds a virtual field to the result set. The virtual fields supported by Notes are described below:  
  1992. Field Name
  1993. Corresponding Property
  1994. Data type
  1995. X$Y.X$
  1996. Stream Length (in bytes)
  1997.     UNID
  1998.     LoadUnid
  1999.     Binary (BLOB)
  2000. X$Y.X$
  2001.     NOTEID
  2002.     LoadNoteid
  2003.     Integer
  2004.     LoadRef
  2005.     Binary (BLOB)
  2006.     FILE
  2007.     LoadFile
  2008.     Binary (Text List)
  2009.     variable (up to 64K)
  2010.     MODIFIED
  2011.     LoadModified
  2012.     Datetime
  2013.     LCXHIER
  2014.     CopyHierarchy
  2015.     Binary (BLOB)
  2016.     LCXFILE
  2017.     CopyFile
  2018.     Binary (BLOB)
  2019.     LCXSPEC
  2020.     CopyCompSpecial
  2021.     Binary (BLOB)
  2022. X$Y.X$
  2023. Descriptions may vary based on whether a document is being read (Fetch) or written (Insert or Update):  
  2024. Read - Read the UNID of the document
  2025. Write - Set the document's UNID to the field value
  2026. NOTEID
  2027. Read - Read the NOTEID of the document
  2028. Write - ignored
  2029. Read - Read the parent UNID of a response document
  2030. Write - Make the document a response to the document whose UNID is in this field
  2031. Read - Retrieve all attachments from the document, writing the files to disk. This field is set to a text list containing the filenames of all the files from the document
  2032. Write - Store each entry in the text list value as a file attachment to the document.
  2033. MODIFIED
  2034. Read - Read the last modified timestamp from the document
  2035. Write - ignored
  2036. LCXHIER
  2037. This field is only relevant when the document is both read from and written to a Notes connector. When written, the field contents stored during the read are used to access the source database and transfer the entire response hierarchy beneath the document into the target database. Note that the source result set must still be valid at the time the document is written.  
  2038. LCXFILE
  2039. This field is only relevant when the document is both read from and written to a Notes connector. When written, the field contents stored during the read are used to access the source database and transfer all file attachments directly from the source document to the target document. Since they are transferred directly without temporary storage on disk, this is more efficient than the FILE property for Notes to Notes transfers. The source document must be the most recently fetched document in the result set at the time the document is written.  
  2040. LCXSPEC
  2041. This field is only relevant when the document is both read from and written to a Notes connector. When written, the field contents stored during the read are used to access the source database and transfer specific document fields required to retain full document fidelity for doclinks and rich text fonts. Specifically the fields "$Links" and "$Fonts" are copied. The source document must be the most recently fetched document in the result set at the time the document is written.  
  2042. &Arial
  2043. The table below defines the properties for the Lotus Connector for DB2.
  2044.     Token
  2045.     Name/Description
  2046.     Type
  2047.     DATABASE
  2048.     Database
  2049.     DB2 Database name. Required. Primarily used for establishing a connection.
  2050.     Text
  2051.     USERID
  2052.     Userid
  2053.     User ID / name: used for logging in during connection
  2054.     Text
  2055.     PASSWORD
  2056.     Password
  2057.     Password: used for logging in during connection
  2058.     Text
  2059.     METADATA
  2060.     Metadata
  2061.     Data table or view: the source or target for data transfer operations.
  2062.     Text
  2063.     INDEX
  2064.     Index
  2065.     Index name.
  2066.     Text
  2067.     MAP_NAME
  2068.     MapByName
  2069.     Whether to map by name (TRUE) or position (FALSE) when transferring data between data source and target. 
  2070.     Boolean
  2071.     WRITEBACK
  2072.     Writeback
  2073.     Whether to perform writeback or non-writeback operations
  2074.     Boolean
  2075.     FIELD_NAMES
  2076.     FieldNames
  2077.     Text list of fields to select - used for Select operations
  2078.     Text List
  2079.     ORDER_NAMES
  2080.     OrderNames
  2081.     Text list of fields to order results by - used for Select operations
  2082.     Text List
  2083.     CONDITION
  2084.     Condition
  2085.     DB2-specific syntax conditional clause used for Select, keyed update and remove operations.  Must be of valid syntax, as in 
  2086. &select * from table where <condition>
  2087.     Text
  2088.     STAMPFIELD
  2089.     StampField
  2090.     Field name of timestamp field - used for Select operations
  2091.     Text
  2092.     BASESTAMP
  2093.     BaseStamp
  2094.     Minimum timestamp value to include in results - used for Select operations
  2095.     Datetime
  2096.     MAXSTAMP
  2097.     MaxStamp
  2098.     During a Select operations, set by the Connector to the current timestamp value - set by Select operations
  2099.     Datetime
  2100.     TEXT_FORMAT 
  2101.     Text Format
  2102.     Stream format in which text data is transferred between the relevant Connector and its external source.  Determined dynamically.  Read-only. 
  2103.     CHARACTER_SET
  2104.     CharacterSet
  2105.     Text format constant suffix for the text format.  For example, character set Code Page 932 is represented by the constant LCSTREAMFMT_CP932 value "CP932". Read-only property.
  2106.     Text
  2107.     PROCEDURE
  2108.     Procedure
  2109.     The stored procedure to execute for the Call method. 
  2110.     Text
  2111.     CommitFrequency
  2112.     Number of data modification actions between commits. A value of zero commits at disconnect; one auto-commits after every action; any other value commits after that many data modification actions.
  2113.     Integer
  2114.     RollbackOnError
  2115.     Whether to rollback the current transaction at disconnection if the session is in an error state.
  2116.     Boolean
  2117.     CreateMaxLogged
  2118.     Use when creating tables.  The maximum length of a CLOB/BLOB column to create with logging. If the length during metadata creation is longer than this value, the options NOT LOGGED COMPACT are used. A value of zero indicates no maximum, although unbounded columns are always created with this option.
  2119.     NoJournal
  2120.     Whether the database contains non-journalled data. If so, the transaction isolation level is set to uncommitted read to permit SQL operations.
  2121.     Boolean
  2122.     CreateInDatabase
  2123.     Use to add "IN DATABASE <dbname>" to a CREATE TABLE query constructed for table creation.
  2124.     Text
  2125. &Arial
  2126. The table below defines the properties for the Lotus Connector for EDA/SQL.  
  2127.     Token
  2128.     Name/Description
  2129.     Type
  2130.     SERVER
  2131.     Server
  2132.     EDA/SQL Server name. Required. Primarily used for establishing a connection.
  2133.     Text
  2134.     DATABASE
  2135.     Database
  2136.     EDA/SQL Engine name. Used to indicate a relational database engine to use.
  2137.     Text
  2138.     USERID
  2139.     Userid
  2140.     User ID / name: used for logging in during connection
  2141.     Text
  2142.     PASSWORD
  2143.     Password
  2144.     Password: used for logging in during connection
  2145.     Text
  2146.     METADATA
  2147.     Metadata
  2148.     Data table: the source or target for data transfer operations.
  2149.     Text
  2150.     MAP_NAME
  2151.     MapByName
  2152.     Whether to map by name or position when transferring data between data source and target. 
  2153.     Boolean
  2154.     WRITEBACK
  2155.     Writeback
  2156.     Whether to perform writeback or non-writeback operations
  2157.     Boolean
  2158.     FIELD_LIST
  2159.     FieldList
  2160.     Multi-value text list of fields to select - used for Select operations
  2161.     Text List
  2162.     ORDER_LIST
  2163.     OrderList
  2164.     Multi-value text list of fields to order results by - used for Select operations
  2165.     Text List
  2166.     CONDITION
  2167.     Condition
  2168.     Connector-specific syntax conditional clause - used for Select operations
  2169.     Text
  2170.     TEXT_FORMAT 
  2171.     Text Format
  2172.     Connector Only: Stream format in which text data is transferred between the relevant Connector and its external source
  2173.     CHARACTER_SET
  2174.     CharacterSet
  2175.     Text format constant suffix for the character set to use, if the default of the underlying Connector's character set is to be overridden. For example, for character set Code Page 932, represented by the constant LCSTREAMFMT_CP932, enter "CP932". Read-only property.
  2176.     Text
  2177.     CommitFrequency
  2178.     Number of data modification actions between commits. A value of zero commits at disconnect; one auto-commits after every action; any other value commits after that many data modification actions.
  2179.     Integer
  2180. &Arial
  2181. The table below defines the properties for the Lotus Connector for File System.
  2182.     Token
  2183. 9+iCU
  2184.     Name/Description
  2185.     Type
  2186.     DATABASE
  2187. 9+iCU
  2188.     Database
  2189.     Path to the directories (
  2190.     C:\FILES\SOMEFILES
  2191.     /unix/usr/files
  2192.     ). Required.
  2193.     Text
  2194.     METADATA
  2195. 9+iCU
  2196.     Metadata
  2197.     The subdirectory name (
  2198.     mydirectory
  2199.     somedir/mydir
  2200.     ). This subdirectory contains the files you want to access. 
  2201.     Text
  2202.     MAP_NAME
  2203. 9+iCU
  2204.     MapByName
  2205.     Whether to map by name or position when transferring data between data source and target. 
  2206.     Boolean
  2207.     WRITEBACK
  2208. 9+iCU
  2209.     Writeback
  2210.     Whether to perform writeback or non-writeback operations
  2211.     Boolean
  2212.     FIELD_LIST
  2213. 9+iCU
  2214.     FieldList
  2215.     Multi-value text list of fields to select - used for Select operations
  2216.     Text List
  2217.     ORDER_LIST
  2218. 9+iCU
  2219.     OrderList
  2220.     Multi-value text list of fields to order results by - used for Select operations
  2221.     Text List
  2222.     CONDITION
  2223. 9+iCU
  2224.     Condition
  2225.     The file specification for the files to include.  The specification can include the standard wildcard characters: * to match any character string; ? to match any single character.
  2226.     Text
  2227.     STAMPFIELD
  2228. 9+iCU
  2229.     StampField
  2230.     Field name of timestamp field - used for Select operations
  2231.     Text
  2232.     BASESTAMP
  2233. 9+iCU
  2234.     BaseStamp
  2235.     Minimum timestamp value to include in results - used for Select operations
  2236.     Datetime
  2237.     MAXSTAMP
  2238. 9+iCU
  2239.     MaxStamp
  2240.     During a Select operations, set by the Connector to the current timestamp value - set by Select operations
  2241.     Datetime
  2242.     TEXT_FORMAT 
  2243. 9+iCU
  2244.     TextFormat
  2245.     Stream format for file contents.  
  2246.     CHARACTER_SET
  2247. 9+iCU
  2248.     CharacterSet
  2249.     Text format constant suffix for the character set to use, if the default of the underlying Connector's character set is to be overridden. For example, character set Code Page 932 is represented by the constant LCSTREAMFMT_CP932 value "CP932". Can be set. When set, it affects the character set of the file contents when they're represented as text (default is NATIVE char set).
  2250.     Text
  2251. 9+iCU
  2252.     Binary
  2253.     Whether file contents should be treated as binary (BLOB) data rather than the default (native TEXT).
  2254.     Boolean
  2255. 9+iCU
  2256.     Sort
  2257.     Defines the sort order in the case of ordering by filename (0 = binary, 1 = case sensitive, 2 = case insensitive). 
  2258. File System Metadata
  2259. File system metadata is defined as follows:
  2260. Filename 
  2261. ) Text
  2262. Contents 
  2263. ) Text
  2264. Timestamp 
  2265. ) Datetime
  2266. Size - int
  2267. &Arial
  2268. The table below defines the properties for the Lotus Connector for ODBC.
  2269.     Token
  2270. $$51U
  2271.     Name/Description
  2272. $%P)$%
  2273.     Type
  2274.     USERID
  2275. $$51U
  2276.     Userid
  2277.     User ID/name: used for logging in during connection
  2278. $%P)$%
  2279.     Text
  2280.     PASSWORD
  2281. $$51U
  2282.     Password
  2283.     Password: used for logging in during connection
  2284.     Text
  2285.     METADATA
  2286. $$51U
  2287.     Metadata
  2288.     Data table source or target for data transfer operations
  2289.     Text
  2290.     INDEX
  2291. $$51U
  2292.     Index
  2293.     Data index name.
  2294.     Text
  2295.     MAP_NAME
  2296. $$51U
  2297.     MapByName
  2298.     Whether to map by name or position when transferring data between data source and target.
  2299.     Boolean
  2300.     WRITEBACK
  2301. $$51U
  2302.     Writeback
  2303.     Whether to perform writeback or non-writeback operations
  2304.     Boolean
  2305.     FIELD_NAMES
  2306. $$51U
  2307.     FieldNames
  2308.     Text list of fields to select - used for Select operations
  2309.     Text List
  2310.     ORDER_NAMES
  2311. $$51U
  2312.     OrderNames
  2313.     Text list of fields to order results by - used for Select operations
  2314.     Text List
  2315.     CONDITION
  2316. $$51U
  2317.     Condition
  2318.     Connector-specific syntax conditional clause - used for Select operations
  2319.     Text
  2320.     STAMPFIELD
  2321. $$51U
  2322.     StampField
  2323.     Name of timestamp field used for Select operations
  2324.     Text
  2325.     BASESTAMP
  2326. $$51U
  2327.     BaseStamp
  2328.     Minimum timestamp value to include in results - used for Select operations
  2329.     Datetime
  2330.     MAXSTAMP
  2331. $$51U
  2332.     MaxStamp
  2333.     During a Select operations, set by the Connector to the current timestamp value - set by Select operations
  2334.     Datetime
  2335.     TEXT_FORMAT 
  2336. $$51U
  2337.     Text Format
  2338.     Connector Only: Stream format in which text data is transferred between the Connector and its external source
  2339.     CHARACTER_SET
  2340. $$51U
  2341.     CharacterSet
  2342.     Text format constant suffix for the character set to use, if the default of the underlying Connector's character set is to be overridden. For example, character set Code Page 932 is represented by the constant LCSTREAMFMT_CP932 value "CP932". Read-only.
  2343.     Text
  2344. $$51U
  2345.     CommitFrequency
  2346.     Number of data modification actions between commits. A value of zero commits at disconnect; one auto-commits after every action; any other value commits after that many data modification actions.
  2347.     Integer
  2348. $$51U
  2349.     RollbackOnError
  2350.     Whether to rollback the current transaction at disconnection if the session is in an error state.
  2351.     Boolean
  2352. $$51U
  2353.     DisableCursor
  2354.     Whether to force disabling of ODBC cursors. This option reduced performance, and should be used only during writeback operations when the ODBC driver inaccurately reports cursor support, resulting in an error.
  2355.     Boolean
  2356. $$51U
  2357.     QuoteColumn
  2358.     String used to surround column names (for example ")
  2359.     Text
  2360. $$51U
  2361.     SingleThread
  2362.     By default, the Lotus Connector for ODBC is multi-threaded.  However, some ODBC drivers are not multi-threaded.  Use this property to force the Connector into a single thread.
  2363.     Boolean
  2364. &Arial
  2365. The table below defines the properties for the Lotus Connector for Oracle. 
  2366.     Token
  2367. ;+mCU
  2368.     Name/Description
  2369.     Type
  2370.     SERVER
  2371. ;+mCU
  2372.     Server
  2373.     Oracle Host Name. Required.
  2374.     Text
  2375.     USERID
  2376. ;+mCU
  2377.     Userid
  2378.     User ID / name - used for logging in during connection
  2379.     Text
  2380.     PASSWORD
  2381. ;+mCU
  2382.     Password
  2383.     Password - used for logging in during connection
  2384.     Text
  2385.     METADATA
  2386. ;+mCU
  2387.     Metadata
  2388.     Data table or view: the source or target for data transfer operations.
  2389.     Text
  2390.     INDEX
  2391. ;+mCU
  2392.     Index
  2393.     Index name.
  2394.     Text
  2395.     MAP_NAME
  2396. ;+mCU
  2397.     MapByName
  2398.     Whether to map by name or position when transferring data between data source and target. 
  2399.     Boolean
  2400.     WRITEBACK
  2401. ;+mCU
  2402.     Writeback
  2403.     Whether to perform writeback or non-writeback operations
  2404.     Boolean
  2405.     FIELD_NAMES
  2406. ;+mCU
  2407.     FieldNames
  2408.     Text list of fields to select - used for Select operations
  2409.     Text List
  2410.     ORDER_NAMES
  2411. ;+mCU
  2412.     OrderNames
  2413.     Text list of fields to order results by - used for Select operations
  2414.     Text List
  2415.     CONDITION
  2416. ;+mCU
  2417.     Condition
  2418.     Connector-specific syntax conditional clause - used for Select operations
  2419.     Text
  2420.     STAMPFIELD
  2421. ;+mCU
  2422.     StampField
  2423.     Field name of timestamp field - used for Select operations
  2424.     Text
  2425.     BASESTAMP
  2426. ;+mCU
  2427.     BaseStamp
  2428.     Minimum timestamp value to include in results - used for Select operations
  2429.     Datetime
  2430.     MAXSTAMP
  2431. ;+mCU
  2432.     MaxStamp
  2433.     During a Select operations, set by the Connector to the current timestamp value - set by Select operations
  2434.     Datetime
  2435.     TEXT_FORMAT 
  2436. ;+mCU
  2437.     TextFormat
  2438.     Connector only: Stream format in which text data is transferred between the relevant Connector and its external source
  2439.     CHARACTER_SET
  2440. ;+mCU
  2441.     CharacterSet
  2442.     Text format constant suffix for the character set to use, if the default of the underlying Connector's character set is to be overridden. For example, for character set Code Page 932, represented by the constant LCSTREAMFMT_CP932, enter "CP932". Read-only.
  2443.     Text
  2444.     PROCEDURE
  2445. ;+mCU
  2446.     Procedure
  2447.     The stored procedure to execute for the Call method. 
  2448.     Text
  2449.     PROCEDURE
  2450. ;+mCU
  2451.     Procedure
  2452.     Use when executing parameterized stored procedures in a link-independent fashion. When a session is run and this property is set, the property's value is taken as a stored procedure name and is executed instead of the normal selection operation, potentially producing a result set. If a fieldlist is provided to the Select operation, then all fields in that fieldlist (not just key fields) are supplied to the stored procedure as parameters, with the names taken from the field names.
  2453.     Text
  2454. ;+mCU
  2455.     CommitFrequency
  2456.     Number of data modification actions between commits. A value of zero commits at disconnect; one auto-commits after every action; any other value commits after that many data modification actions. Note: A commit during a cursored (writeback) operation following an update unlocks result set. Therefore, when a writeback result set is active, the commit frequency property is ignored and commits do not occur.
  2457.     Integer
  2458. ;+mCU
  2459.     RollbackOnError
  2460.     Whether to rollback the current transaction at disconnection if the session is in an error state.
  2461.     Boolean
  2462. ;+mCU
  2463.     CreateLongColumn
  2464.     Use for table creation.  Name of the column to create as a long type during table creation (Oracle tables are restricted to one long column). This value is only used if CreateLongByUser property indicates a user-defined long column.
  2465.     Text
  2466. ;+mCU
  2467.     CreateLongByUser
  2468.     Use for table creation.  Method of selecting the column to create as a long type during table creation. Oracle tables are restricted to no more than one long column. A value of zero indicates that the Connector should choose the best candidate from the columns being created (the first and/or longest column). A value of one indicates to use the column name in the CreateLongColumn property. A value of two indicates that no long column should be created.
  2469. &Arial
  2470. The table below defines the properties for the Lotus Connector for Sybase.  
  2471.     Token
  2472.     Name/Description
  2473.     Type
  2474.     SERVER
  2475.     Server
  2476.     Server name. Required.
  2477.     Text
  2478.     DATABASE
  2479.     Database
  2480.     Database name.
  2481.     Text
  2482.     USERID
  2483.     User ID/name
  2484.     Used for logging in during connection
  2485.     Text
  2486.     PASSWORD
  2487.     Password
  2488.     Password - used for logging in during connection
  2489.     Text
  2490.     METADATA
  2491.     Metadata
  2492.     Metadata object - the source or target for data transfer operations. A form (Notes), table (relational DB), or other data container
  2493.     Text
  2494.     INDEX
  2495.     Index
  2496.     Index name. A view (Notes), index (relational DB), or other data index
  2497.     Text
  2498.     MAP_NAME
  2499.     MapByName
  2500.     Whether to map by name or position when transferring data between data source and target. 
  2501.     Boolean
  2502.     WRITEBACK
  2503.     Writeback
  2504.     Whether to perform writeback or non-writeback operations
  2505.     Boolean
  2506.     FIELD_LIST
  2507.     FieldList
  2508.     Multi-value text list of fields to select - used for Select operations
  2509.     Text List
  2510.     ORDER_LIST
  2511.     OrderList
  2512.     Multi-value text list of fields to order results by - used for Select operations
  2513.     Text List
  2514.     CONDITION
  2515.     Condition
  2516.     Connector-specific syntax conditional clause - used for Select operations
  2517.     Text
  2518.     STAMPFIELD
  2519.     StampField
  2520.     Field name of timestamp field - used for Select operations
  2521.     Text
  2522.     BASESTAMP
  2523.     BaseStamp
  2524.     Minimum timestamp value to include in results - used for Select operations
  2525.     Datetime
  2526.     MAXSTAMP
  2527.     MaxStamp
  2528.     During a Select operations, set by the Connector to the current timestamp value - set by Select operations
  2529.     Datetime
  2530.     TEXT_FORMAT 
  2531.     TextFormat
  2532.     Connector only: Stream format in which text data is transferred between the relevant Connector and its external source
  2533.     CHARACTER_SET
  2534.     CharacterSet
  2535.     Text format constant suffix for the character set to use, if the default of the underlying Connector's character set is to be overridden. For example, for character set Code Page 932, represented by the constant LCSTREAMFMT_CP932, enter "CP932". Read-only.
  2536.     Text
  2537.     PROCEDURE
  2538.     Procedure
  2539.     The stored procedure to execute for the Call method.  Any returned result set is available. 
  2540.     Text
  2541.     CreateShortBound
  2542.     Whether to truncate bounded text and binary data during table creation. When used, all text and binary fields with a maximum length will be truncated to fit in a char/varchar/binary/varbinary column.
  2543.     Boolean
  2544.     CreateShortUnbound 
  2545.     Whether to truncate unbounded text and binary data during table creation. When used, all text and binary fields with no maximum length will be truncated to fit in a char/varchar/binary/varbinary column.
  2546.     Boolean
  2547.     DisableCursor
  2548.     Disable Sybase writeback cursors.
  2549.     Boolean
  2550.     ProcedureStatus
  2551.     A Sybase stored procedure can either generate a result set or return a status code. When a non-zero code is returned, this may signal an error. The default behavior is to interpret the status as a 1-row, 1-column result set. Selecting this option interprets the status code separately, not as a result set (non-zero is error, and zero is success).
  2552.     Boolean
  2553. &Arial
  2554. The list is given as text stream format constants. Any of these values may be used as a stream format for a text stream when creating scripts using the Lotus Connectors LotusScript Extensions.  To indicate the character set on the local machine, use the constant LCSTREAMFMT_NATIVE.  
  2555. Stream Format Constant
  2556. Description
  2557. LCSTREAMFMT_LICS
  2558. Lotus International Character Set
  2559. LCSTREAMFMT_IBMCP851
  2560. MS-DOS PC Greek (CP 851)
  2561. LCSTREAMFMT_IBMCP852
  2562. MS-DOS PC Eastern European (CP 852)
  2563. LCSTREAMFMT_IBMCP853
  2564. MS-DOS PC Turkish (CP 853)
  2565. LCSTREAMFMT_IBMCP857
  2566. MS-DOS PC Turkish (CP 857)
  2567. LCSTREAMFMT_IBMCP862
  2568. MS-DOS PC Hebrew (CP 862)
  2569. LCSTREAMFMT_IBMCP864
  2570. MS-DOS PC Arabic (CP 864)
  2571. LCSTREAMFMT_IBMCP866
  2572. MS-DOS PC Cyrillic Unicode (CP 866)
  2573. LCSTREAMFMT_IBMCP437
  2574. MS-DOS PC US (CP 437)
  2575. LCSTREAMFMT_IBMCP850
  2576. MS-DOS PC Western European (CP 850)
  2577. LCSTREAMFMT_IBMCP855
  2578. MS-DOS PC Cyrillic (CP 855)
  2579. LCSTREAMFMT_IBMCP860
  2580. MS-DOS PC Portuguese (CP 860)
  2581. LCSTREAMFMT_IBMCP861
  2582. MS-DOS PC Icelandic (CP 861)
  2583. LCSTREAMFMT_IBMCP863
  2584. MS-DOS PC Canadian French (CP 863)
  2585. LCSTREAMFMT_IBMCP865
  2586. MS-DOS PC Norwegian (CP 865)
  2587. LCSTREAMFMT_IBMCP869
  2588. MS-DOS PC Greek (CP 869)
  2589. LCSTREAMFMT_IBMCP899
  2590. IBM Code Page 899 (CP 899)
  2591. LCSTREAMFMT_IBMCP932
  2592. MS-DOS PC Japanese Microsoft Shift-JIS (CP 932)
  2593. LCSTREAMFMT_IBMCP942
  2594. MS-DOS PC Japanese Microsoft Shift-JIS (CP 942)
  2595. LCSTREAMFMT_IBMCP891
  2596. MS-DOS PC Korean (CP 891)
  2597. LCSTREAMFMT_DECMCS
  2598. DEC Multinational Character Set
  2599. LCSTREAMFMT_EUC
  2600. Extended Unix Code
  2601. LCSTREAMFMT_KS
  2602. MS-DOS Korean - KSC 5601
  2603. LCSTREAMFMT_IBMCP949
  2604. MS-DOS Korean (CP 949)
  2605. LCSTREAMFMT_TCA
  2606. LCSTREAMFMT_BIG5
  2607. MS-DOS Taiwan (traditional) Chinese (BIG-5)
  2608. LCSTREAMFMT_IBMCP950
  2609. MS-DOS Taiwan (traditional) Chinese (CP 950)
  2610. LCSTREAMFMT_GB
  2611. MS-DOS PRC (simplified) Chinese (GB 2312)
  2612. LCSTREAMFMT_IBMCP936
  2613. MS-DOS PRC (simplified) Chinese (CP 936)
  2614. LCSTREAMFMT_NECESJIS
  2615. MS-DOS PC Japanese NEC Shift-JIS (CP 932)
  2616. LCSTREAMFMT_ISO646
  2617. ASCII
  2618. LCSTREAMFMT_ASCII
  2619. ASCII
  2620. LCSTREAMFMT_ISO88591
  2621. ISO Latin-1 US, Western European (ISO-8859-1)
  2622. LCSTREAMFMT_IBMCP819
  2623. ISO Latin-1 US, Western European (CP 819)
  2624. LCSTREAMFMT_ISO88592
  2625. ISO Latin-2 Eastern European (ISO-8859-2)
  2626. LCSTREAMFMT_IBMCP912
  2627. ISO Latin-2 Eastern European (CP 912)
  2628. LCSTREAMFMT_ISO88593
  2629. ISO Latin-3 Southern European (ISO-8859-3)
  2630. LCSTREAMFMT_ISO88594
  2631. ISO Latin-4 Northern European (ISO-8859-4)
  2632. LCSTREAMFMT_ISO88595
  2633. ISO Cyrillic (ISO-8859-5)
  2634. LCSTREAMFMT_IBMCP915
  2635. ISO Cyrillic (CP 915)
  2636. LCSTREAMFMT_ISO88596
  2637. ISO Arabic (ISO-8859-6)
  2638. LCSTREAMFMT_IBMCP1008
  2639. ISO Arabic (CP 1008)
  2640. LCSTREAMFMT_ISO88597
  2641. ISO Greek (ISO-8859-7)
  2642. LCSTREAMFMT_IBMCP813
  2643. ISO Greek (CP 813)
  2644. LCSTREAMFMT_ISO88598
  2645. ISO Hebrew (ISO-8859-8)
  2646. LCSTREAMFMT_IBMCP916
  2647. ISO Hebrew (CP 916)
  2648. LCSTREAMFMT_ISO88599
  2649. ISO Latin-5 Southern European (ISO-8859-9)
  2650. LCSTREAMFMT_IBMCP920
  2651. ISO Latin-5 Southern European (CP 920)
  2652. LCSTREAMFMT_HPROMAN
  2653. HP Roman (LaserJet)
  2654. LCSTREAMFMT_HPGREEK
  2655. HP Greek (LaserJet)
  2656. LCSTREAMFMT_HPTURKISH
  2657. HP Turkish (LaserJet)
  2658. LCSTREAMFMT_HPHEBREW
  2659. HP Hebrew (Laserjet)
  2660. LCSTREAMFMT_HPARABIC
  2661. HP Arabic (Laserjet)
  2662. LCSTREAMFMT_HPTHAI
  2663. HP Thai (Laserjet)
  2664. LCSTREAMFMT_HPJAPAN
  2665. HP Japanese (Laserjet)
  2666. LCSTREAMFMT_HPKANA
  2667. HP Kana (Laserjet)
  2668. LCSTREAMFMT_HPKOREA
  2669. HP Korean (Laserjet)
  2670. LCSTREAMFMT_HPPRC
  2671. HP Simplified Chinese (Laserjet)
  2672. LCSTREAMFMT_HPROC
  2673. HP Traditional Chinese (Laserjet)
  2674. LCSTREAMFMT_IBMCP37
  2675. IBM EBCDIC US/Canadian English (CP 37)
  2676. LCSTREAMFMT_IBMCP28709
  2677. IBM Code Page 28709 (CP28709)
  2678. LCSTREAMFMT_IBMCP273
  2679. IBM EBCDIC German - Austrian (CP 273)
  2680. LCSTREAMFMT_IBMCP278
  2681. IBM EBCDIC Finnish, Swedish (CP 278)
  2682. LCSTREAMFMT_IBMCP280
  2683. IBM EBCDIC Italian (CP 280)
  2684. LCSTREAMFMT_IBMCP284
  2685. IBM EBCDIC Spainish, Latin American (CP 284)
  2686. LCSTREAMFMT_IBMCP285
  2687. IBM EBCDIC UK (CP 285)
  2688. LCSTREAMFMT_IBMCP290
  2689. IBM EBCDIC Japanese (Katakana) (CP 290)
  2690. LCSTREAMFMT_IBMCP297
  2691. IBM EBCDIC French (CP 297)
  2692. LCSTREAMFMT_IBMCP500
  2693. IBM EBCDIC International (CP 500)
  2694. LCSTREAMFMT_IBMCP277
  2695. IBM EBCDIC Danish, Norwegian (CP 277)
  2696. LCSTREAMFMT_IBMCP1047
  2697. IBM EBCDIC Latin-1 Open Systems (CP 1047)
  2698. LCSTREAMFMT_IBMCP1250
  2699. Windows Eastern European (CP 1250)
  2700. LCSTREAMFMT_IBMCP1251
  2701. Windows Cyrillic (CP 1251)
  2702. LCSTREAMFMT_IBMCP1252
  2703. Windows ANSI (CP 1252)
  2704. LCSTREAMFMT_ANSI
  2705. LCSTREAMFMT_IBMCP1253
  2706. Windows Greek (CP 1253)
  2707. LCSTREAMFMT_IBMCP1254
  2708. Windows Turkish (CP 1254)
  2709. LCSTREAMFMT_IBMCP1255
  2710. Windows Hebrew (CP 1255)
  2711. LCSTREAMFMT_IBMCP1256
  2712. Windows Arabic (CP 1256)
  2713. LCSTREAMFMT_IBMCP1257
  2714. Windows Baltic (CP 1257)
  2715. LCSTREAMFMT_IBMCP1363
  2716. Windows Korean (CP 1363)
  2717. LCSTREAMFMT_MACSCRIPT0
  2718. Macintosh Roman (Script 0)
  2719. LCSTREAMFMT_MACSCRIPT1
  2720. Macintosh Japanese (Script 1)
  2721. LCSTREAMFMT_MACSCRIPT2
  2722. Macintosh Traditional Chinese (Script 2)
  2723. LCSTREAMFMT_MACSCRIPT3
  2724. Macintosh Korean (Script 3)
  2725. LCSTREAMFMT_MACSCRIPT4
  2726. Macintosh Arabic (Script 4)
  2727. LCSTREAMFMT_MACSCRIPT5
  2728. Macintosh Hebrew (Script 5)
  2729. LCSTREAMFMT_MACSCRIPT6
  2730. Macintosh Greek (Script 6)
  2731. LCSTREAMFMT_MACSCRIPT7
  2732. Macintosh Cyrillic (Script 7)
  2733. LCSTREAMFMT_MACSCRIPT8
  2734. Macintosh Right-left symbol (Script 8)
  2735. LCSTREAMFMT_MACSCRIPT9
  2736. Macintosh Devanagari (Script 9)
  2737. LCSTREAMFMT_MACSCRIPT10
  2738. Macintosh Gurmukhi (Script 10)
  2739. LCSTREAMFMT_MACSCRIPT11
  2740. Macintosh Gujarati (Script 11)
  2741. LCSTREAMFMT_MACSCRIPT12
  2742. Macintosh Oriya (Script 12)
  2743. LCSTREAMFMT_MACSCRIPT13
  2744. Macintosh Bengali (Script 13)
  2745. LCSTREAMFMT_MACSCRIPT14
  2746. Macintosh Tamil (Script 14)
  2747. LCSTREAMFMT_MACSCRIPT15
  2748. Macintosh Telugu (Script 15)
  2749. LCSTREAMFMT_MACSCRIPT16
  2750. Macintosh Kannada/Kanarese (Script 16)
  2751. LCSTREAMFMT_MACSCRIPT17
  2752. Macintosh Malayalam (Script 17)
  2753. LCSTREAMFMT_MACSCRIPT18
  2754. Macintosh Sinhalese (Script 18)
  2755. LCSTREAMFMT_MACSCRIPT19
  2756. Macintosh Burmese (Script 19)
  2757. LCSTREAMFMT_MACSCRIPT20
  2758. Macintosh Khmer/Cambodian (Script 20)
  2759. LCSTREAMFMT_MACSCRIPT21
  2760. Macintosh Thai (Script 21)
  2761. LCSTREAMFMT_MACSCRIPT22
  2762. Macintosh Laotian (Script 22)
  2763. LCSTREAMFMT_MACSCRIPT23
  2764. Macintosh Georgian (Script 23)
  2765. LCSTREAMFMT_MACSCRIPT24
  2766. Macintosh Armenian (Script 24)
  2767. LCSTREAMFMT_MACSCRIPT25
  2768. Macintosh Simplified Chinese (Script 25)
  2769. LCSTREAMFMT_MACSCRIPT26
  2770. Macintosh Tibetan (Script 26)
  2771. LCSTREAMFMT_MACSCRIPT27
  2772. Macintosh Mongolian (Script 27)
  2773. LCSTREAMFMT_MACSCRIPT28
  2774. Macintosh Geez/Ethiopic (Script 28)
  2775. LCSTREAMFMT_MACSCRIPT29
  2776. Macintosh EastEurRoman/Slavic (Script 29)
  2777. LCSTREAMFMT_MACSCRIPT30
  2778. Macintosh Vietnamese (Script 30)
  2779. LCSTREAMFMT_MACSCRIPT31
  2780. Macintosh extended Arabic/Sindhi (Script 31)
  2781. LCSTREAMFMT_MACSCRIPT32
  2782. Macintosh uninterpreted symbols (Script 32)
  2783. LCSTREAMFMT_MACSCRIPT0CROATIAN
  2784. Macintosh Roman variant - Croatian
  2785. LCSTREAMFMT_MACSCRIPT0GREEK
  2786. Macintosh Roman variant - Greek
  2787. LCSTREAMFMT_MACSCRIPT0ICELANDIC
  2788. Macintosh Roman variant - Icelandic
  2789. LCSTREAMFMT_MACSCRIPT0ROMANIAN
  2790. Macintosh Roman variant - Romanian
  2791. LCSTREAMFMT_MACSCRIPT0TURKISH
  2792. Macintosh Roman variant - Turkish
  2793. LCSTREAMFMT_THAI
  2794. MS Thai Windows
  2795. LCSTREAMFMT_IBMCP874
  2796. MS-DOS PC Thai (CP 874)
  2797. LCSTREAMFMT_ISO885911
  2798. ISO Thai (ISO-8859-11)
  2799. LCSTREAMFMT_TIS620
  2800. Thai Industrial Standard (TIS620-2529)
  2801. LCSTREAMFMT_UNICODE
  2802. Unicode (ISO 10646)
  2803. LCSTREAMFMT_IBMCP1200
  2804. Unicode (IBM CP 1200)
  2805. LCSTREAMFMT_ISO10646
  2806. Unicode (ISO 10646)
  2807. LCSTREAMFMT_UTF7
  2808. Unicode Transformation Formats 7
  2809. LCSTREAMFMT_UTF8
  2810. Unicode Transformation Formats 8
  2811. LCSTREAMFMT_LMBCS
  2812. Lotus MultiByte Character Set (LMBCS)
  2813. LCSTREAMFMT_DECNRCUK
  2814. DEC National Replacement Char - UK
  2815. LCSTREAMFMT_DECNRCDUTCH
  2816. DEC Nat'l Replacement Char - Dutch
  2817. LCSTREAMFMT_DECNRCFINNISH
  2818. DEC Nat'l Replacement Char - Finnish
  2819. LCSTREAMFMT_DECNRCFRENCH
  2820. DEC Nat'l Replacement Char - French
  2821. LCSTREAMFMT_DECNRCFRENCHCANADIAN
  2822. DEC Nat'l Replacement Char - French Canadian
  2823. LCSTREAMFMT_DECNRCGERMAN
  2824. DEC Nat'l Replacement Char - German
  2825. LCSTREAMFMT_DECNRCITALIAN
  2826. DEC Nat'l Replacement Char - Italian
  2827. LCSTREAMFMT_DECNRCNORWEGIANDANISH
  2828. DEC Nat'l Replacement Char - Norwegian Danish
  2829. LCSTREAMFMT_DECNRCPORTUGUESE
  2830. DEC Nat'l Replacement Char - Portuguese
  2831. LCSTREAMFMT_DECNRCSPANISH
  2832. DEC Nat'l Replacement Char - Spanish
  2833. LCSTREAMFMT_DECNRCSWEDISH
  2834. DEC Nat'l Replacement Char - Swedish
  2835. LCSTREAMFMT_DECNRCSWISS
  2836. DEC Nat'l Replacement Char - Swiss
  2837. LCSTREAMFMT_T61
  2838. Teletex T.61
  2839. LCSTREAMFMT_T50
  2840. Teletex T.50
  2841. LCSTREAMFMT_ASN1
  2842. ANSI Standard Notation (ASN.1)
  2843. LCSTREAMFMT_IBMCP856
  2844. MS-DOS PC  Hebrew (CP 85)
  2845. LCSTREAMFMT_IBMCP1004
  2846. MS-DOS PC Desktop Publishing (CP 1004)
  2847. LCSTREAMFMT_IBMCP1002
  2848. IBM EBCDIC DCF (CP 1002)
  2849. LCSTREAMFMT_IBMCP1003
  2850. IBM EBCDIC US Text Subset (CP 1003)
  2851. LCSTREAMFMT_IBMCP1025
  2852. IBM EBCDIC Cyrillic (CP 1025)
  2853. LCSTREAMFMT_IBMCP1026
  2854. IBM EBCDIC Turkish (CP 1026)
  2855. LCSTREAMFMT_IBMCP1028
  2856. IBM EBCDIC Hebrew Publishing (CP 1028)
  2857. LCSTREAMFMT_IBMCP256
  2858. IBM EBCDIC International #1 (CP 256)
  2859. LCSTREAMFMT_IBMCP259
  2860. IBM EBCDIC Symbols Set 7 (CP 259)
  2861. LCSTREAMFMT_IBMCP274
  2862. IBM EBCDIC Belgian (CP 274)
  2863. LCSTREAMFMT_IBMCP275
  2864. IBM EBCDIC Brazilian (CP 275)
  2865. LCSTREAMFMT_IBMCP281
  2866. IBM EBCDIC Japanese (Latin) (CP 281)
  2867. LCSTREAMFMT_IBMCP282
  2868. IBM EBCDIC Portugese (CP 282)
  2869. LCSTREAMFMT_IBMCP361
  2870. IBM EBCDIC International #5 (CP 361)
  2871. LCSTREAMFMT_IBMCP382
  2872. IBM EBCDIC Austrian, German, Switzerland (CP 382)
  2873. LCSTREAMFMT_IBMCP383
  2874. IBM EBCDIC Belgian (CP 383)
  2875. LCSTREAMFMT_IBMCP384
  2876. IBM EBCDIC Brazilian (CP 384)
  2877. LCSTREAMFMT_IBMCP385
  2878. IBM EBCDIC Canadaian (French) (CP 385)
  2879. LCSTREAMFMT_IBMCP386
  2880. IBM EBCDIC Danish, Norwegian (CP 386)
  2881. LCSTREAMFMT_IBMCP387
  2882. IBM EBCDIC Finnish, Swedish (CP 387)
  2883. LCSTREAMFMT_IBMCP388
  2884. IBM EBCDIC French, Swiss (CP 388)
  2885. LCSTREAMFMT_IBMCP389
  2886. IBM EBCDIC Italian, Swiss (CP 389)
  2887. LCSTREAMFMT_IBMCP390
  2888. IBM EBCDIC Japanese (Latin) (CP 390)
  2889. LCSTREAMFMT_IBMCP391
  2890. IBM EBCDIC Portugese (CP 391)
  2891. LCSTREAMFMT_IBMCP392
  2892. IBM EBCDIC Spainish, Phillipines (CP 392)
  2893. LCSTREAMFMT_IBMCP393
  2894. IBM EBCDIC Latin American (Spanish Speaking) (CP 393)
  2895. LCSTREAMFMT_IBMCP394
  2896. IBM EBCDIC UK, Australian, Hong Kong, Ireland, New Zealand (CP 394)
  2897. LCSTREAMFMT_IBMCP395
  2898. IBM EBCDIC US, Canadan (English) (CP 395)
  2899. LCSTREAMFMT_IBMCP423
  2900. IBM EBCDIC Greek 183 (CP 423)
  2901. LCSTREAMFMT_IBMCP424
  2902. IBM EBCDIC Hebrew (CP 424)
  2903. LCSTREAMFMT_IBMCP803
  2904. IBM EBCDIC Hebrew Character Set A (CP 803)
  2905. LCSTREAMFMT_IBMCP870
  2906. IBM EBCDIC Eastern Europe (CP 870)
  2907. LCSTREAMFMT_IBMCP871
  2908. IBM EBCDIC Icelandic (CP 871)
  2909. LCSTREAMFMT_IBMCP875
  2910. IBM EBCDIC Greek (CP 875)
  2911. LCSTREAMFMT_IBMCP880
  2912. IBM EBCDIC Cyrillic (CP 880)
  2913. LCSTREAMFMT_IBMCP905
  2914. IBM EBCDIC Turkish (CP 905)
  2915. LCSTREAMFMT_IBMCP948
  2916. IBM Extended Taiwanese (CP 948)
  2917. LCSTREAMFMT_IBMCP938
  2918. IBM Taiwanese (CP 938)
  2919. LCSTREAMFMT_IBMCP1381
  2920. IBM GBK = GB + Hanzi (CP 1381)
  2921. LCSTREAMFMT_IBMCP1386
  2922. IBM Traditional Chinese (CP 1386)
  2923. LCSTREAMFMT_EACC
  2924. East Asian Character Code Set (ANSI Z39.64-1989)
  2925. LCSTREAMFMT_JIS
  2926. Japanese Information Standard 0201 (JIS 201)
  2927. LCSTREAMFMT_CCCII
  2928. Chinese Character Code for Information Interchange (Taiwan)
  2929. LCSTREAMFMT_XEROXCJK
  2930. Xerox CJK
  2931. LCSTREAMFMT_IBMCP944
  2932. IBM Extended Korean (CP 944)
  2933. LCSTREAMFMT_IBMCP934
  2934. IBM Korean (CP 934)
  2935. LCSTREAMFMT_IBMCP737
  2936. MS-DOS PC Greek (CP 737)
  2937. LCSTREAMFMT_IBMCP775
  2938. MS-DOS PC Baltic (CP 775)
  2939. LCSTREAMFMT_ISO6937
  2940. Latin chars (non-spacing accents) similar to T.61
  2941. LCSTREAMFMT_BASE64
  2942. Content-Transfer-Encoding
  2943. LCSTREAMFMT_JIS2
  2944. Japanese Information Standard 0208 (JIS 208)
  2945. LCSTREAMFMT_EUCJ
  2946. Extended Unix Code - Japanese
  2947. LCSTREAMFMT_EUCT
  2948. Extended Unix Code - Taiwanese
  2949. LCSTREAMFMT_EUCK
  2950. Extended Unix Code - Korean
  2951. LCSTREAMFMT_ISOKR
  2952. ISO-2022-KR switching: treated as EUCK
  2953. LCSTREAMFMT_EUCC
  2954. Extended Unix Code - Chinese
  2955. LCSTREAMFMT_IBMCP921
  2956. Replacement for Lithuanian (CP 921)
  2957. LCSTREAMFMT_IBMCP922
  2958. Russian (CP 922)
  2959. LCSTREAMFMT_KOI8
  2960. Cyrillic Internet Support
  2961. LCSTREAMFMT_IBMCP720
  2962. IBM Code Page 720 (CP 720)
  2963. LCSTREAMFMT_IBMCP1258
  2964. Windows Vietnamese (CP 1258)
  2965. LCSTREAMFMT_ISO885910
  2966. ISO Latin-6 (ISO-8859-10)
  2967. LCSTREAMFMT_JP1TEXT
  2968. OSI/JIS X 5003-1987 X.400 Japanese ISP
  2969. LCSTREAMFMT_VIQRI
  2970. Vietnamese Quoted Readable
  2971. LCSTREAMFMT_VISCII
  2972. Vietnamese VISCII 1.1 (VICSII)
  2973. LCSTREAMFMT_VISCII1
  2974. TCVN Vietnamese Orthographic (VCSII-1)
  2975. LCSTREAMFMT_VISCII2
  2976. TCVN Vietnamese Graphic (VCSII-2)*/
  2977. LCSTREAMFMT_IBMCP838
  2978. IBM EBCDIC SBCS Thai (CP 838)
  2979. LCSTREAMFMT_IBMCP9030
  2980. IBM EBCDIC SBCS Thai (CP 9030)
  2981. LCSTREAMFMT_IBMCP833
  2982. IBM EBCDIC SBCS Korean - extended (CP 833)
  2983. LCSTREAMFMT_IBMCP836
  2984. IBM EBCDIC SBCS PRC (simplified) Chinese (CP 836)
  2985. LCSTREAMFMT_IBMCP1027
  2986. IBM EBCDIC SBCS Japanese Latin - extended (CP 1027)
  2987. LCSTREAMFMT_IBMCP420
  2988. IBM EBCDIC Arabic (CP 420)
  2989. LCSTREAMFMT_IBMCP918
  2990. IBM EBCDIC Code Page 918 (CP 918)
  2991. LCSTREAMFMT_IBMCP1097
  2992. IBM EBCDIC Code Page 1097 (CP 1097)
  2993. LCSTREAMFMT_IBMCP1112
  2994. IBM EBCDIC Code Page 1112 (CP 1112)
  2995. LCSTREAMFMT_IBMCP1122
  2996. IBM EBCDIC Code Page 1122 (CP 1122)
  2997. LCSTREAMFMT_IBMCP1123
  2998. IBM EBCDIC Code Page 1123 (CP 1123)
  2999. LCSTREAMFMT_IBMCP1129
  3000. IBM EBCDIC Code Page 1129 (CP 1129)
  3001. LCSTREAMFMT_IBMCP1130
  3002. IBM EBCDIC Code Page 1130 (CP 1130)
  3003. LCSTREAMFMT_IBMCP1132
  3004. IBM EBCDIC Code Page 1132 (CP 1132)
  3005. LCSTREAMFMT_IBMCP1133
  3006. IBM EBCDIC Code Page 1133 (CP 1133)
  3007. LCSTREAMFMT_IBMCP930
  3008. IBM EBCDIC EUC Japanese Katakana Kanji Mixed (CP 930)
  3009. LCSTREAMFMT_IBMCP933
  3010. IBM EBCDIC EUC Korean Mixed (CP 933)
  3011. LCSTREAMFMT_IBMCP935
  3012. IBM EBCDIC EUC PRC (simplified) Chinese Mixed (CP 935)
  3013. LCSTREAMFMT_IBMCP937
  3014. IBM EBCDIC EUC Taiwan (traditional) Chinese Mixed (CP 937)
  3015. LCSTREAMFMT_IBMCP939
  3016. IBM EBCDIC EUC Japanese Latin Kanji Mixed (CP 939)
  3017. LCSTREAMFMT_IBMCP931
  3018. IBM EBCDIC EUC PRC (simplified) Chinese Mixed (CP 931)
  3019. LCSTREAMFMT_IBMCP1388
  3020. IBM EBCDIC EUC PRC (simplified) Chinese Mixed (CP 1388)
  3021. LCSTREAMFMT_IBMCP5026
  3022. IBM EBCDIC EUC Japanese Katakana Kanji Mixed (CP 5026)
  3023. LCSTREAMFMT_IBMCP5035
  3024. IBM EBCDIC EUC Japanese Latin Kanji Mixed (CP 5035)
  3025. LCSTREAMFMT_IBMCP300
  3026. IBM EBCDIC DBCS Japanese (CP 300) 
  3027. LCSTREAMFMT_IBMCP834
  3028. IBM EBCDIC DBCS Korean (CP 834)
  3029. LCSTREAMFMT_IBMCP835
  3030. IBM EBCDIC DBCS Taiwan (traditional) Chinese (CP 835)
  3031. LCSTREAMFMT_IBMCP837
  3032. IBM EBCDIC DBCS PRC (simplified) Chinese (CP 837)
  3033. LCSTREAMFMT_IBMCP930X
  3034. IBM EBCDIC DBCS Japanese (CP 930X)
  3035. LCSTREAMFMT_IBMCP933X
  3036. IBM EBCDIC DBCS Korean (CP 933X)
  3037. LCSTREAMFMT_IBMCP935X
  3038. IBM EBCDIC DBCS PRC (simplified) Chinese (CP 935X)
  3039. LCSTREAMFMT_IBMCP937X
  3040. IBM EBCDIC DBCS Taiwan (traditional) Chinese (CP 937X)
  3041. LCSTREAMFMT_IBMCP939X
  3042. IBM EBCDIC DBCS Japanese (CP 939X)
  3043. LCSTREAMFMT_IBMCP931X
  3044. IBM EBCDIC DBCS PRC (simplified) Chinese (CP 931X)
  3045. LCSTREAMFMT_IBMCP1388X
  3046. IBM EBCDIC DBCS PRC (CP 1388X)
  3047. LCSTREAMFMT_IBMCP1383
  3048. IBM Traditional Chinese (CP 1383)
  3049. LCSTREAMFMT_IBMCP806
  3050. ISO Devnagiri (CP 806)
  3051. LCSTREAMFMT_IBMCP1137
  3052. IBM EBCDIC Devnagiri (CP 1137
  3053. LCSTREAMFMT_VISCII3
  3054. TCVN3 Vietnamese (VCSII-3)
  3055. LCSTREAMFMT_TCVN3
  3056. TCVN3 Vietnamese (VCSII-3)
  3057. &Arial
  3058. This chapter describes the LCConnection class, and its methods and properties.  Each method and property is listed alphabetically.  
  3059. Overview
  3060. The LCConnection class represents an instance of an individual Lotus Connector. One connection object should exist for each individual data connection through a connector. This is true when the connections are to the same Lotus Connector as well as to different connectors. For example, transferring data from one DB2 table to another table in Oracle is best accomplished by creating two LCConnection objects, one for DB2 and one for Oracle, and fetching data from one and inserting it into the other. 
  3061. Connection methods manage individual Lotus Connector connections within a session. The Connection class enforces Connector state and requirements, and must always be used when interacting with Connectors. One connection object should exist for each individual data connection through a Connector used in a session. 
  3062. Error information for a connection is available through use of the LCSession class.  
  3063. LCConnection Properties
  3064. Connection properties are specific to the Lotus Connector.  Refer to Appendix C for a list of properties for each Lotus Connector. All connector properties are of the closest LotusScript datatypes. 
  3065. Properties of a connection maybe accessed by name, for example, the following line of script sets the value of Database property for a DB2 connector to "HR":
  3066. Connection.Database = "HR"
  3067. LCConnection Class Methods Summary
  3068. Connection
  3069. The following methods control connection to a data provider.  A connection is required before gaining access to most Connector metadata and all Connector data.  Multiple connections may be established to a single Connector with multiple Connection objects. 
  3070. LCConnection.Connect    Establish a connection to a data provider.
  3071. LCConnection.Disconnect    Disconnect from a data provider.
  3072. Create Result Set
  3073. Each Connection can have a single active result set.  A result set is the data produced by an action, for example, the execution of a Select statement against SQL tables.  All of these methods produce a result set, replacing any existing result set.  The result set can be produced from a Connector-specific language statement, from Connector-independent properties and keys or parameters, or from Connector metadata.  Connector metadata is either an SQL table or view, a Notes form, a BEA Tuxedo service, etc.  Once a result set is produced the data in that result set can be fetched.  Under specific circumstances, efficient writeback updates and removes directly back into the result set are also supported.  
  3074. Note that the Execute and Call methods invoke an operation from the external system.  
  3075. LCConnection.Call    Perform a Connector-independent procedure call with parameters.  
  3076. LCConnection.Catalog    Produce a result set containing a metadata catalog
  3077. LCConnection.Execute    Execute a statement against the data provider. The statement is provided in the data provider's language.
  3078. LCConnection.Select    Perform a Connector-independent selection controlled by various Connector properties. Conditional key inequalities, timestamp, and other control is supported.
  3079. Data Manipulation
  3080. These methods allow access to and manipulation of Connector data.
  3081. LCConnection.Fetch    Retrieve records from the current result set.
  3082. LCConnection.Insert    Insert new records into the data provider.
  3083. LCConnection.Update    Update records in the data provider. Key values and update values are provided.  No keys are required for writeback operations.  
  3084. LCConnection.Remove    Delete records from the data provider. Key values are provided.  No keys are required for writeback operations.
  3085. Metadata Manipulation
  3086. These methods allow access to and manipulation of Connector metadata.
  3087. LCConnection.Create    Create a new metadata object. 
  3088. LCConnection.Drop    Drop an existing metadata object. 
  3089. Miscellaneous
  3090. LCConnection.Action    Perform one of a set of predefined actions.
  3091. LCConnection.GetProperty    Fetch a property value for a connection. 
  3092. LCConnection.GetProperty<datatype>    Fetch a property as a particular data type. 
  3093. LCConnection.ListProperty    List supported properties and values. 
  3094. LCConnection.LookupProperty    Verify the support of a property. 
  3095. LCConnection.SetProperty    Set a property value for a connection.
  3096. LCConnection.SetProperty<datatype>    Set a property as a particular data type.
  3097. Connector Properties
  3098. Refer to Appendix C, "Connector Properties," for more information about the properties for each Lotus Connector.  
  3099. &Arial
  3100. This is the constructor for objects of class LCConnection.  
  3101. connectionName as 
  3102. LCConnection(libraryName)
  3103. Parameters
  3104.     1S2S
  3105. libraryName
  3106.     The name of a valid, installed Connector, such as "db2" or "oracle".  Use lowercase letters for 
  3107. libraryName
  3108. , as some file systems (for example, UNIX) are case-sensitive.  See the LCSession.ListConnectors method, which is used to determine the installed Connectors.  
  3109. Notes
  3110.     1S2S
  3111. A connection library is located by name. 
  3112. The constructor allocates a code for this connection unique among all connections, which can be used as a virtual code for a field (see LCField..SetVirtualCode). This value can be retrieved as the Connector property LCTOKEN_CONNECTION_CODE. 
  3113. &Arial
  3114. This method performs an action as defined by the 
  3115. actionType
  3116.  parameter.
  3117. Call 
  3118. lcConnection
  3119. Action
  3120. actionType
  3121. Parameters
  3122.     1S2S
  3123. actionType    
  3124. Long.  One of the following values:  
  3125. LCACTION_RESET
  3126. Returns the Connector to a state equivalent to that just after connection. All outstanding results are committed and all result sets and state information are freed. Supported by all Connectors. 
  3127. LCACTION_TRUNCATE
  3128. Deletes all records in the property METADATA in the most efficient available manner determined by the Connector.  
  3129. LCACTION_COMMIT
  3130. Commits all changes in the current transaction. Only supported by Connectors with transaction functionality. 
  3131. LCACTION_ROLLBACK
  3132. Rolls back all changes in the current transaction. Only supported by Connectors with transaction functionality. 
  3133. LCACTION_CLEAR
  3134. Clears the current result set, freeing any locks, but does not affect any other context. 
  3135. Example
  3136.     1S2S
  3137.     Option Public
  3138.     Option Explicit
  3139.     Uselsx "*lsxlc"
  3140.     Sub Initialize
  3141.       Dim session As New LCSession
  3142.       Dim src As New LCConnection ("db2")  
  3143.       REM set properties to connect to both data sources
  3144.       src.Database = "Gold"
  3145.       src.Userid = "JDoe"
  3146.       src.Password = "xyzzy"
  3147.       src.Metadata = "customer"
  3148.       REM now connect
  3149.       src.Connect
  3150.       ' check to see if the target metadata exists,  if so clear it out. 
  3151.       ' check for LCFAIL_INVALID_METADATA error
  3152.       On Error LCFAIL_INVALID_METADATA Goto NoMetadata
  3153.       Call src.Action (LCACTION_TRUNCATE)
  3154.       Print "the table '" & src.Metadata & "' has been truncated."
  3155.       Print "This removed all existing records."
  3156.       End
  3157.     NoMetadata:   
  3158.       ' couldn't trucate the table since it didn't exist
  3159.       Print "the table '" & src.Metadata & "' does not exist."
  3160.       End
  3161.     End Sub
  3162. Example Output
  3163.     the table 'customer' has been truncated.
  3164.     This removed all existing records.
  3165. &Arial
  3166. This method is used to call a stored procedure and potentially produce a result set.  
  3167. This method only supports input parameters to the stored procedure.  If you want data returned from a stored procedure, it must be returned to a result set, not by output parameters.  
  3168. count = lcConnection.
  3169. (parmFieldList, recordIndex, destFieldList)
  3170. Parameters
  3171.     1S2S
  3172. parmFieldList
  3173.     LCFieldlist.  The input parameter list for the stored procedure. 
  3174. recordIndex
  3175.     Long.  The index location of the parameter values within the fieldlist. 
  3176. destFieldList    
  3177. LCFieldlist.  Fieldlist to contain the metadata of the result set.  The fields in the result set will be appended to this fieldlist.  If the result set metadata is not required, use Nothing. 
  3178. Returns
  3179.     1S2S
  3180. count    
  3181. Long. 
  3182. The number of records affected by the call. Note that not all data sources return a 
  3183. count
  3184. .  LCCOUNT_UNKNOWN is returned if the 
  3185. count 
  3186. is not determined.  
  3187. Notes
  3188.     1S2S
  3189. Example
  3190.     1S2S
  3191.     Option Public
  3192.     Uselsx "*lsxlc"
  3193.     Sub Initialize
  3194.       Dim Con As New LCConnection ("sybase")  
  3195.       Dim Parms As New LCFieldList
  3196.       Dim Result As New LCFieldList
  3197.       Dim Parm As LCField 
  3198.       ' set properties to connect to both data sources
  3199.       Con.Server = "Rainbow"
  3200.       Con.Userid = "JDoe"
  3201.       Con.Password = "xyzzy"
  3202.       ' set the connection property to the stored procedure name
  3203.       Con.Procedure = "NPInsertIntoSM_ADBOOK"
  3204.       ' now connect
  3205.       Con.Connect
  3206.       ' append the new field to the fieldlist
  3207.       Set Parm = Parms.Append ("spParm", LCTYPE_TEXT)
  3208.       ' set the field to a value - in this case it is 
  3209.       ' the one parameter needed for the stored procedure
  3210.       Parm.text = " 'Edge' "
  3211.       ' using the fieldlist containing the field with the 
  3212.       ' stored procedure parameter, call the stored procedure
  3213.       If (Con.Call (Parms, 1, Result) = 0) Then
  3214.         Print "No results were generated from the procedure call."
  3215.       Else
  3216.         Print "A result set was generated from the procedure call."
  3217.       End If
  3218.     End Sub
  3219. Example Output
  3220.     A result set was generated from the procedure call.
  3221. &Arial
  3222. This method catalogs through metadata related information.   
  3223. Any active result set for this connection will be replaced.  Different metadata types may be cataloged, although all Connectors may not support all object types. The format of the result set produced is returned in the supplied fieldlist, and the result set contents can be retrieved with LCConnection.Fetch.  
  3224. A connection is not required for Server and Database Catalogs for some Connectors.  This is an exception, as a connection is required for all other result sets.  
  3225. count =lcConnection.
  3226. Catalog
  3227. (objectType
  3228. destFieldlist
  3229. Parameters
  3230.     1S2S
  3231. objectType
  3232.     Long. Type of metadata information to be cataloged.  Use an LCOBJECT_XXX constant to define the metadata type.  The following list gives the required context and the resulting metadata format for each catalog type.  The general fields, Name, Owner, and Comment, are produced for all objects, but only the first output field(name) is guaranteed to have data.  All output fields are data type Text, unless otherwise specified.  Field cataloging adds a fourth element, datatype. 
  3233. LCOBJECT_SERVER 
  3234. Context:    
  3235.     None
  3236. Output Fields:
  3237.     Server Name, Server Owner, Server Comment
  3238. LCOBJECT_DATABASE
  3239. Context:
  3240.         SERVER property (if supported by this Connector)
  3241. Output Fields:
  3242.     Database Name, Database Owner, Database Comment
  3243. LCOBJECT_METADATA
  3244. Context:
  3245.         Current connection, ALTERNATE METADATA property
  3246. Output Fields:
  3247.     Metadata Name, Metadata Owner, Metadata Comment 
  3248. LCOBJECT_INDEX
  3249. Context:
  3250.         Current connection
  3251. Output Fields:
  3252.     Index Name, Index Owner, Index Comment 
  3253. LCOBJECT_FIELD
  3254. Context:
  3255.     Current connection, METADATA property, ALTERNATE METADATA property
  3256. Output Fields:
  3257.     Field Name, Field Owner, Field Comment, Field Datatype Constant
  3258.     Value
  3259.     Constant
  3260.     Type
  3261.     LCTYPE_INVALID
  3262.     Unknown
  3263.     LCTYPE_INT
  3264.     Integer
  3265.     LCTYPE_FLOAT
  3266.     Float
  3267.     LCTYPE_CURRENCY
  3268.     Currency
  3269.     LCTYPE_NUMERIC
  3270.     Numeric
  3271.     LCTYPE_DATETIME
  3272.     Datetime
  3273.     LCTYPE_TEXT
  3274.     Text
  3275.     LCTYPE_BINARY
  3276.     Binary
  3277.     LCTYPE_FIELDLIST
  3278.     Fieldlist
  3279.     LCTYPE_CONNECTION
  3280.     Connection
  3281. destFieldlist
  3282.     LCFieldlist.  Output.  Fieldlist to contain the metadata of the catalog result set.  The fields in the result set will be appended to this fieldlist.  If the result set metadata is not required, use Nothing. 
  3283. Returns
  3284.     1S2S
  3285. count
  3286.     Long.  Number of catalog records available in the result set produced. This value is LCCOUNT_UNKNOWN if the number of records cannot be determined by the Connector. 
  3287. Example
  3288.     1S2S
  3289.     Option Public
  3290.     Uselsx "*lsxlc"
  3291.     Sub Initialize
  3292.       Dim connect As New LCConnection ("db2")  
  3293.       Dim conFldLst As New LCFieldList
  3294.       Dim field As LCField
  3295.       ' this section assigns the appropriate properties to connect to DB2
  3296.       connect.Database = "Gold"
  3297.       connect.Userid = "JDoe"
  3298.       connect.Password = "xyzzy"
  3299.       connect.Metadata = "customer"
  3300.       ' connect to DB2
  3301.       connect.Connect
  3302.       ' now perform the catalog action - in this case for metadata 
  3303.       If (connect.Catalog (LCOBJECT_FIELD, conFldLst) = 0) Then
  3304.         Print "No tables were found."
  3305.       Else
  3306.         ' fetch the results
  3307.         Set field =  conFldLst.GetField(1)
  3308.         Print "The list of columns in the '" & connect.Metadata & _
  3309.         "' table include:"
  3310.         While (connect.Fetch (conFldLst) > 0)
  3311.           Print "     " & field.text(0)
  3312.         Wend
  3313.       End If
  3314.     End Sub
  3315. Example Output
  3316.     The list of columns in the 'CUSTOMER' table include:
  3317.          ACCOUNTMANAGER
  3318.          CONTACTNAME
  3319.          COMPANYNAME
  3320.          COMPANYADDRESS
  3321.          COMPANYCITY
  3322.          COMPANYSTATE
  3323.          COMPANYPHONE
  3324. &Arial
  3325. This method establishes a connection to a Connector.  Multiple connections may be independently established to a single Connector.  
  3326. lcConnection.
  3327. Connect
  3328. Example
  3329.     1S2S
  3330.     Option Public
  3331.     Uselsx "*lsxlc"
  3332.     Sub Initialize
  3333.       Dim connect As New LCConnection  ("db2")  
  3334.       ' set the appropriate properties to connect to DB2
  3335.       ' note the use of dynamic properties to do this
  3336.       ' all properties of a connection may be referenced
  3337.       ' by name
  3338.       connect.Database = "Gold"
  3339.       connect.Userid = "JDoe"
  3340.       connect.Password = "xyzzy"
  3341.       REM try the connect
  3342.       connect.Connect
  3343.       Print "Successfully connected to DB2."
  3344.     End Sub
  3345. Example Output
  3346.     Successfully connected to DB2.
  3347. &Arial
  3348. This method makes a copy of an existing connection, including all property values.  Note that while all properties are copied, the current state of the connection and result set are not copied.  
  3349. newConnection = lcConnection.
  3350. Parameters
  3351.     1S2S
  3352. lcConnection
  3353.     The connection object that you want to copy. 
  3354. Returns
  3355.     1S2S
  3356. newConnection
  3357.     The copy of the 
  3358. lcConnection 
  3359. object. 
  3360. Example
  3361.     1S2S
  3362.     Option Public
  3363.     Uselsx "*lsxlc"
  3364.     Sub Initialize
  3365.       Dim session As New LCSession
  3366.       Dim connect1 As New LCConnection  ("db2")  
  3367.       Dim connect2 As LCConnection
  3368.       ' set the appropriate properties to connect to DB2
  3369.       ' note the use of dynamic properties to do this
  3370.       connect1.Database = "Gold"
  3371.       connect1.Userid = "JDoe"
  3372.       connect1.Password = "xyzzy"
  3373.       ' now copy the connect
  3374.       Set connect2 = connect1.Copy
  3375.       If (connect2.Database = connect1.Database) Then
  3376.         Print "The copy of connection has the same database as the original."
  3377.       Else
  3378.         Print "The copy of connection has a different database from the original."
  3379.       End If
  3380.     End Sub
  3381. Example Output
  3382.     The copy of connection has the same database as the original.
  3383. &Arial
  3384. This method creates a metadata object.  Each Connector supports only certain object types.  Refer to the documentation for the specific Connector to determine the object types it supports.  
  3385. Call 
  3386. lcConnection.
  3387. Create
  3388. (objectType
  3389. srcFieldlist
  3390. Parameters
  3391.     1S2S
  3392. objectType    
  3393. Long. Type of object. Valid types and associated behavior include the following (refer to the documentation for the specific Connector to determine which of the following are supported): 
  3394. LCOBJECT_SERVER
  3395. Creates a server object (obtaining the name from the SERVER property). Additional information may be provided in Connector-specific properties.  
  3396. LCOBJECT_DATABASE
  3397. Creates a database object (obtaining the name from the DATABASE property, and optionally the server name from the SERVER property). Additional information may be provided in Connector-specific properties. 
  3398. LCOBJECT_METADATA
  3399. Creates a metadata object (obtaining the name from the METADATA property). The fields in the new metadata will have the same order, types, and names as fields in the fieldlist. Fields with the flag LCFIELDF_NO_CREATE are skipped.
  3400. LCOBJECT_INDEX
  3401. Creates an index object (the metadata being indexed is in METADATA property, the index name to create is in INDEX property). The key fields for the new index are fields in the fieldlist with the LCFIELD_KEY flag set. 
  3402. LCOBJECT_FIELD
  3403. Creates a field object (the metadata being appended to is in METADATA property). The fields to append to the metadata will have the same order, types, and names as fields in the fieldlist. Fields with the flag LCFIELDF_NO_CREATE are skipped.
  3404. srcFieldlist
  3405.     LCFieldlist. Fieldlist from whose metadata or key fields the object is created. This parameter is ignored for object types SERVER and DATABASE.
  3406. Example
  3407.     1S2S
  3408.     Option Public
  3409.     Option Explicit
  3410.     Uselsx "*lsxlc"
  3411.     Sub Initialize
  3412.       Dim src As New LCConnection ("db2")
  3413.       Dim fldLstRecord As New LCFieldList
  3414.       Dim fld As LCField
  3415.       ' build the table definition
  3416.       ' note the use of the 'MaxLength' parameter
  3417.       ' this is used to more closely control the datatype creation
  3418.       ' within the connection - in this case DB2
  3419.       ' in DB2, a text stream with a MaxLength of 64 will be created 
  3420.       ' as VARCHAR(64). if the flag LCSTREAMF_FIXED was used
  3421.       ' the column would be CHAR(64). The field flag LCFIELDF_NO_NULL 
  3422.       ' would add NOT NULL to the column definition
  3423.       Call FldLstRecord.Append ("ACCOUNTMANAGER", LCTYPE_INT)
  3424.       Set fld = FldLstRecord.Append ("CONTACTNAME", LCTYPE_TEXT)
  3425.       Call fld.SetFormatStream (0, 64, LCSTREAMFMT_LMBCS)
  3426.       Set fld = FldLstRecord.Append ("COMPANYNAME", LCTYPE_TEXT)
  3427.       Call fld.SetFormatStream (0, 64, LCSTREAMFMT_LMBCS)
  3428.       Set fld = FldLstRecord.Append ("COMPANYADDRESS", LCTYPE_TEXT)
  3429.       Call fld.SetFormatStream (0, 64, LCSTREAMFMT_LMBCS)
  3430.       Set fld = FldLstRecord.Append ("COMPANYCITY", LCTYPE_TEXT)
  3431.       Call fld.SetFormatStream (0, 64, LCSTREAMFMT_LMBCS)
  3432.       Set fld = FldLstRecord.Append ("COMPANYSTATE", LCTYPE_TEXT)
  3433.       Call fld.SetFormatStream (0, 64, LCSTREAMFMT_LMBCS)
  3434.       Set fld = FldLstRecord.Append ("COMPANYPHONE", LCTYPE_TEXT)
  3435.       Call fld.SetFormatStream (0, 32, LCSTREAMFMT_LMBCS)
  3436.       ' set properties to connect to both data sources
  3437.       src.Database = "Gold"
  3438.       src.Userid = "JDoe"
  3439.       src.Password = "xyzzy"
  3440.       src.Metadata = "customer"
  3441.       src.Connect
  3442.       ' create it based on the metadata property already set above
  3443.       On Error LCFAIL_DUPLICATE Goto tableexists
  3444.       Call src.Create (LCOBJECT_METADATA, fldLstRecord)
  3445.       Print "The '" & src.Metadata & "' table was created."
  3446.       End
  3447.     tableexists:
  3448.       Print "The '" & src.Metadata & "' table exists."
  3449.       End
  3450.     End Sub
  3451. Example Output
  3452.     The 'customer' table was created.
  3453. &Arial
  3454. This method disconnects from a data source.  Any existing result set is cleared.  
  3455. lcConnection.
  3456. Disconnect
  3457. Example
  3458.     1S2S
  3459.     Option Public
  3460.     Uselsx "*lsxlc"
  3461.     Sub Initialize
  3462.       Dim connect As New LCConnection ("db2")  
  3463.       ' set appropriate properties to connect to DB2
  3464.       connect.Database = "Gold"
  3465.       connect.Userid = "JDoe"
  3466.       connect. Password = "DBINST1"
  3467.       ' connect to DB2 then disconnect
  3468.       connect.Connect
  3469.       Print "Successfully connected to DB2."
  3470.       ' now lets disconnect
  3471.       connect.Disconnect
  3472.       Print "Successfully disconnected from DB2."
  3473.     End Sub
  3474. Example Output
  3475.     Successfully connected to DB2.
  3476.     Successfully disconnected from DB2.
  3477. &Arial
  3478. This method drops the specified object type. 
  3479. Each Connector supports only certain object types.  Refer to the documentation for the specific Connector to determine the object types it supports.
  3480. Call 
  3481. lcConnection.
  3482. (objectType)
  3483. Parameters
  3484.     1S2S
  3485. objectType
  3486.     Long.  Type of object: Valid types and associated behavior are the following (refer to Appendix C for the specific Connector to determine which of the following are supported):  
  3487. LCOBJECT_SERVER
  3488. Drops a server object (obtaining the name from the SERVER property).  
  3489. LCOBJECT_DATABASE
  3490. Drops a database object (obtaining the name from the DATABASE property, and optionally the server name from the SERVER property).  
  3491. LCOBJECT_METADATA
  3492. Drops a metadata object (obtaining the name from the METADATA property).  
  3493. LCOBJECT_INDEX
  3494. Drops an index object (the metadata indexed is in METADATA property, the index name to drop is in INDEX property).  
  3495. LCOBJECT_FIELD
  3496. Drops a field object (metadata containing fields is in METADATA property, the fields being removed are in the FIELD_NAMES (or FieldNames) property).  
  3497. Example
  3498.     1S2S
  3499.     Option Public
  3500.     Option Explicit
  3501.     Uselsx "*lsxlc"
  3502.     Sub Initialize
  3503.       Dim src As New LCConnection ("db2")  
  3504.       ' set properties to connect to the data source
  3505.       src.Database = "Gold"
  3506.       src.Userid = "JDoe"
  3507.       src.Password = "xyzzy"
  3508.       src.Metadata = "customer"
  3509.       src.Connect
  3510.       On Error Goto NoMetadata
  3511.       Call src.Drop (LCOBJECT_METADATA)
  3512.       Print "The '" & src.Metadata & "' table existed and had been deleted."
  3513.       End      
  3514.     NoMetadata:   
  3515.       Print "The '" & src.Metadata & "' table did not exist."
  3516.       End
  3517.     End Sub
  3518. Example Output
  3519.     The 'customer' table existed and had been deleted.
  3520. &Arial
  3521. This method executes a statement in Connector-specific syntax, for example, an SQL statement for a relational database Connector.  
  3522. count 
  3523. = lcConnection.
  3524. Execute
  3525. (statement, destFieldlist)
  3526. Parameters
  3527.     1S2S
  3528. statement
  3529.     String.  The statement to execute in the syntax defined for the Connector.  See the documentation for the specific Connector for information about the required syntax. 
  3530. destFieldList    
  3531. LCFieldlist.  Fieldlist to contain the metadata of the execute result set.  The fields in the result set will be appended to this fieldlist. If the result set metadata is not required, use Nothing. 
  3532. Returns
  3533.     1S2S
  3534. count
  3535.     Number of records selected or affected by this statement.  If this number cannot be determined by the Connector, the constant LCCOUNT_UNKNOWN is returned. 
  3536. Example
  3537.     1S2S
  3538.     Option Public
  3539.     Uselsx "*lsxlc"
  3540.     Sub Initialize
  3541.       Dim src As New LCConnection ("db2")  
  3542.       Dim fldLst As New LCFieldList
  3543.       Dim fld As LCField
  3544.       Dim count As Integer
  3545.       ' set the appropriate properties to connect
  3546.       src.Database = "Gold"
  3547.       src.Userid = "JDoe"
  3548.       src.Password = "xyzzy"
  3549.       src.Connect
  3550.       ' now connected, we can execute a selection statement
  3551.       If (src. Execute ("SELECT * from customer",  fldLst) = 0) Then
  3552.         Print "No records were fetched."
  3553.         End
  3554.       End If
  3555.       Set fld = fldLst.Lookup ("CONTACTNAME")
  3556.       Print "the 'contact names' stored in the table are:"
  3557.       ' fetch each record from the result set
  3558.       While (src.Fetch (fldLst) > 0)
  3559.         count = count + 1
  3560.         Print "     record #" & Cstr(count) & " = '" & fld.text(0) & "'"
  3561.       Wend
  3562.       If (count = 0) Then Print "No records were fetched."
  3563.     End Sub
  3564. Example Output
  3565.     the 'contact names' stored in the table are:
  3566.          record #1 = 'Peter Pan'
  3567.          record #2 = 'R. U. Happy'
  3568.          record #3 = 'Issac Bernard Mathews'
  3569. &Arial
  3570. This method obtains the next group of records from a result set.  This method requires an active result set in the Connection.  
  3571. count = lcConnection.
  3572. Fetch
  3573. (destFieldlist, recordIndex, recordCount)
  3574. Parameters
  3575.     1S2S
  3576. destFieldlist    
  3577. LCFieldlist.  Fieldlist to receive the data. For each field in Fieldlist without the flag LCFIELDF_NO_FETCH, data from the corresponding field in the result set will be copied into that field. Fields in the result set and fieldlist are matched by name if the MapByName property is TRUE, by position otherwise, and are type-checked before retrieving data.
  3578. recordIndex
  3579.     Long.  Optional.  Starting record index in the fieldlist where the record will be stored.  Default is 1.  
  3580. recordCount    
  3581. Long.  Optional.  Number of records to fetch. The number of records actually fetched may be less than this number if the end of the result set was reached. While all Connectors can fetch multiple records, only Connectors which indicate support for Array Fetch perform a true multi-record fetch and therefore reduce network traffic and increase performance. Default is 1. 
  3582. Returns
  3583.     1S2S
  3584. count
  3585.     Long.  Number of records successfully fetched.
  3586. Notes
  3587.     1S2S
  3588. You can achieve optimal performance by using the same fieldlist across consecutive fetches from the same target.  
  3589. Example
  3590.     1S2S
  3591.     Option Public
  3592.     Uselsx "*lsxlc"
  3593.     Sub Initialize
  3594.       Dim src As New LCConnection ("db2")  
  3595.       Dim fldLst As New LCFieldList
  3596.       Dim keyLst As New LCFieldList
  3597.       Dim fld As LCField
  3598.       Dim count As Integer
  3599.       ' set the appropriate properties to connect to the data source
  3600.       src.Database = "Gold"
  3601.       src.Userid = "JDoe"
  3602.       src.Password = "xyzzy"
  3603.       src.Metadata = "customer"
  3604.       src.Connect
  3605.       ' the FIELDNAMES property of a connectiion is used to 
  3606.       ' specify which fields should be used in the resultset
  3607.       ' if no names are listed, then all fields will be fetched
  3608.       src.FieldNames = "ContactName, AccountManager"
  3609.       ' the select statement may be called with 'Nothing' as 
  3610.       ' the keylist parameter. this causes all records to be 
  3611.       ' selected for the result set.
  3612.       ' by creating a keylist with one or more keys, conditions,
  3613.       ' and values, tighter control of the result set is possible
  3614.       ' here we want to indicate all account managers except
  3615.       ' number 200
  3616.       ' NOTE: to indicate that a field is a key, the LCFIELDF_KEY flag
  3617.       ' must always be included in the value of hte connection's flags 
  3618.       Set fld = keyLst.Append ("ACCOUNTMANAGER", LCTYPE_INT)
  3619.       fld.Flags = LCFIELDF_KEY_NE Or LCFIELDF_KEY
  3620.       fld.Value = 200
  3621.       ' the selection statement builds an interna result set which
  3622.       ' is later accessed with successive fetches
  3623.       If (src.Select (keyLst, 1, fldLst) = 0) Then
  3624.         Print "No data were located."
  3625.         End
  3626.       End If
  3627.       Set fld = fldLst.Lookup ("CONTACTNAME")
  3628.       Print "the 'contact names' stored in the table are:"
  3629.       REM fetch a record from the result set
  3630.       While (src.Fetch (fldLst) > 0)
  3631.         count = count + 1
  3632.         Print "     record #" & Cstr(count) & " = '" & fld.text(0) & "'"
  3633.       Wend
  3634.       If (count = 0) Then Print "The table contains no records."
  3635.     End Sub
  3636. Example Output
  3637.     the 'contact names' stored in the table are:
  3638.          record #1 = 'Peter Pan'
  3639.          record #2 = 'R. U. Happy'
  3640.          record #3 = 'Issac Bernard Mathews'
  3641. &Arial
  3642. This method retrieves a copy of the current value for a connection property.  Note that use of dynamic properties is more efficient.  
  3643. Call 
  3644. thisConnection.
  3645. GetProperty
  3646. (propertyToken, destField)
  3647. Parameters
  3648.     1S2S
  3649. propertyToken
  3650.     Long. Token representing the Connector property for which the value is returned.   See Appendix B for a list of tokens.  
  3651. destField
  3652.     Current value for the Connector property. If the property value is of a different type than this field, then data conversion will occur, if possible. The property value will be written into the first value in the field.
  3653. Example
  3654.     1S2S
  3655.     Option Public
  3656.     Option Explicit
  3657.     Uselsx "*lsxlc"
  3658.     Sub Initialize
  3659.       Dim connect As New LCConnection ("db2")  
  3660.       Dim conFld As LCField
  3661.       ' get the value of the server property
  3662.       Set conFld = connect.GetProperty (LCTOKEN_WRITEBACK)
  3663.       Print "The writeback property value is: " & conFld.text(0)
  3664.     End Sub
  3665. Example Output
  3666.     The writeback property value is: 0
  3667. &Arial
  3668. 5Courier New
  3669. This method returns a Connector property value as a specific data type.  Datatypes supported include: Boolean, Currency, Datetime, Float, Int, Numeric, and Text.  
  3670. This method allows retrieval of Connect properties as with LCConnection.GetProperty, but does not require a field object. If the property value is of a different type, data conversion will be performed. The value of the password property cannot be obtained with this function, and will result in an INVALID_PROPERTY error.
  3671. flag = lcConnection.
  3672. GetPropertyBoolean
  3673. (propertyToken, default)
  3674. destCurrency = lcConnection.
  3675. GetPropertyCurrency
  3676. (propertyToken)
  3677. destDatetime = lcConnection.
  3678. GetPropertyDatetime
  3679. (propertyToken)
  3680. destFloat = lcConnection.
  3681. GetPropertyFloat
  3682. (propertyToken)
  3683. destInt = lcConnection.
  3684. GetPropertyInt
  3685. (propertyToken)
  3686. destNumeric = lcConnection.
  3687. GetPropertyNumeric
  3688. (propertyToken)
  3689. destStream = lcConnection.
  3690. GetPropertyStream
  3691. (propertyToken, streamFormat)
  3692. Parameters
  3693.     1S2S
  3694. propertyToken
  3695.     A token identifying the Connection property. See Appendix B for a list of property tokens.  
  3696. default
  3697.     (GetPropertyBoolean only) Value to be returned if the property cannot be located.  Default value is FALSE.  
  3698. streamFormat
  3699.     (GetPropertyStream only) Format that the stream is converted to before being returned. If s
  3700. treamFormat
  3701.  is zero, no conversion occurs and the stream is copied in the same format as the property value. 
  3702. Returns
  3703.     1S2S
  3704.     GetPropertyBoolean only.  Boolean value, either TRUE or FALSE. If the property does not exist, the 
  3705. default 
  3706. is returned.  
  3707. dest<Type>
  3708.     Current value for the Connector property.  
  3709. GetProperty<Type> Examples
  3710.     Option Public
  3711.     Uselsx "*lsxlc"
  3712.     Sub Initialize
  3713.       Dim connect As New LCConnection ("oracle")
  3714.       Dim conFld As LCField
  3715.       Dim propName As String
  3716.       Dim propDate As LCDateTime
  3717.       Dim propNumeric As LCNumeric
  3718.       Dim propStrm As LCStream
  3719.       Dim propCurr As LCCurrency
  3720.       Dim propFloat As Double
  3721.       Dim propInt As Long
  3722.       Dim propBool As Variant
  3723.       Dim tokenId As Long
  3724.       Dim propType As Long
  3725.       Dim propFlags As Long
  3726.       ' set some connector properties
  3727.       connect.Server = "Rainbow"
  3728.       connect.Userid = "JDoe"
  3729.       connect.Password = "xyzzy"
  3730.       ' it is not necessary to connect to list properties
  3731.       Call connect.ListProperty (LCLIST_FIRST, _
  3732.       tokenId, propType, propFlags, propName)
  3733.       Print "NAME" Tab(20); "ID"; Tab(28); "FLAGS"; _
  3734.       Tab(36); "TYPE"; Tab(48); "VALUE"
  3735.       Print "-----------------" Tab(20); "------"; Tab(28); "------"; _
  3736.       Tab(36); "----------"; Tab(48); "----------"
  3737.       Do
  3738.         Set conFld = connect.GetProperty (tokenId)
  3739.         ' match the property to a datatype and fetch it as that datatype
  3740.         Select Case propType
  3741.         Case LCTYPE_DATETIME:
  3742.           Set propDate = connect.GetPropertyDatetime (tokenId)
  3743.           Print propName; Tab(20); Hex(tokenId); Tab(28); Hex(propFlags); _
  3744.           Tab(36); "LCDatetime"; Tab(48); propDate.text
  3745.         Case LCTYPE_NUMERIC:
  3746.           Set propNumeric = connect.GetPropertyNumeric (tokenId)
  3747.           Print propName; Tab(20); Hex(tokenId); Tab(28); Hex(propFlags); _
  3748.           Tab(36); "LCNumeric"; Tab(48); propNumeric.text
  3749.         Case LCTYPE_TEXT:
  3750.           Set propStrm = connect.GetPropertyStream (tokenId, LCSTREAMFMT_NATIVE)
  3751.           Print propName; Tab(20); Hex(tokenId); Tab(28); Hex(propFlags); _
  3752.           Tab(36); "LCStream"; Tab(48); propStrm.text
  3753.         Case LCTYPE_CURRENCY:
  3754.           Set propCurr = connect.GetPropertyCurrency (tokenId)
  3755.           Print propName; Tab(20); Hex(tokenId); Tab(28); Hex(propFlags); _
  3756.           Tab(36); "LCCurrency"; Tab(48); propCurr.text
  3757.         Case LCTYPE_FLOAT:
  3758.           propFloat = connect.GetPropertyFloat (tokenId)
  3759.           Print propName; Tab(20); Hex(tokenId); Tab(28); Hex(propFlags); _
  3760.           Tab(36); "Double"; Tab(48); Cstr(propFloat)
  3761.         Case LCTYPE_INT:
  3762.           If (propFlags And LCPROPERTYF_BOOLEAN) Then
  3763.             propBool = connect.GetPropertyBoolean (tokenId, False)
  3764.             Print propName; Tab(20); Hex(tokenId); Tab(28); Hex(propFlags); _
  3765.             Tab(36); "Boolean"; Tab(48); Cstr(propBool)
  3766.           Else
  3767.             propInt = connect.GetPropertyInt (tokenId)
  3768.             Print propName; Tab(20); Hex(tokenId); Tab(28); Hex(propFlags); _
  3769.             Tab(36); "Long"; Tab(48); Cstr(PropInt)
  3770.           End If
  3771.         End Select
  3772.         Loop _
  3773.         While connect.ListProperty (LCLIST_NEXT, _
  3774.       tokenId, propType, propFlags, propName)
  3775.     End Sub
  3776. Example Output
  3777.     NAME               ID      FLAGS   TYPE        VALUE
  3778.     -----------------  ------  ------  ----------  ----------
  3779.     Name               30004   4       LCStream    oracle
  3780.     IsConnected        3000C   6       Boolean     False
  3781.     Server             10001   1       LCStream    mycyclone
  3782.     Userid             10003   1       LCStream    scott
  3783.     Metadata           10005   0       LCStream    
  3784.     Index              10006   0       LCStream    
  3785.     MapByName          10007   2       Boolean     False
  3786.     Writeback          10008   2       Boolean     False
  3787.     Condition          1000B   0       LCStream    
  3788.     StampField         1000C   0       LCStream    
  3789.     BaseStamp          1000D   0       LCDatetime  
  3790.     MaxStamp           1000E   0       LCDatetime  
  3791.     TextFormat         1000F   4       Long        65535
  3792.     CharacterSet       30008   4       LCStream    NATIVE
  3793.     Procedure          10010   0       LCStream    
  3794.     Owner              10011   0       LCStream    
  3795.     AlternateMetadata  10013   2       Boolean     False
  3796.     CommitFrequency    1       0       Long        0
  3797.     RollbackOnError    2       2       Boolean     False
  3798.     CreateLongColumn   3       0       LCStream    
  3799.     CreateLongByUser   4       0       Long        0
  3800.     TraceSQL           5       2       Boolean     False
  3801. &Arial
  3802. This method inserts a specified number of records into the connection metadata.  
  3803. Note that you can achieve optimal performance by using the same fieldlist across consecutive inserts from the same target.  
  3804. count = lcConnection.
  3805. Insert
  3806. (srcFieldlist, recordIndex, recordCount)
  3807. Parameters
  3808.     1S2S
  3809. srcFieldlist 
  3810.     LCFieldlist.  Fieldlist containing the records to insert. For each field in Fieldlist without the flag LCFIELDF_NO_INSERT, data from the corresponding field in the result set will be copied into that field. Fields in the result set and fieldlist are matched by name if the MapByName property is TRUE, by position otherwise, and are type-checked before inserting data.
  3811. recordIndex
  3812.     Long.  Optional.  Starting record index of the insert in the fieldlist.  The default is 1.  
  3813. recordCount    
  3814. Long.  Optional.  Number of records to insert. The number of records actually inserted may be less than this number if an error was encountered. While all Connectors can insert multiple records, only Connectors that indicate support for Array Insert perform a true multi-record insert and therefore reduce network traffic and increase performance.  The default is 1.
  3815. Returns
  3816.     1S2S
  3817. count
  3818.     Long.  Number of records successfully inserted. 
  3819. Example
  3820.     1S2S
  3821.     Option Public
  3822.     Uselsx "*lsxlc"
  3823.     Sub Initialize
  3824.       Dim src As New LCConnection ("db2")  
  3825.       Dim fields As New LCFieldList (5)
  3826.       Dim field As LCField
  3827.       Dim data(4) As String
  3828.       Dim idata(4) As Long
  3829.       REM set the appropriate properties to connect to the data sources
  3830.       src.Database = "Gold"
  3831.       src.Userid = "JDoe"
  3832.       src.Password = "xyzzy"
  3833.       src.Metadata = "customer"
  3834.       src.MapByName = True
  3835.       REM connect to the two data sources
  3836.       src.Connect
  3837.       REM use a key to find certain records to remove
  3838.       Set field = fields.Append ("ACCOUNTMANAGER", LCTYPE_INT)
  3839.       idata(0) = 100 
  3840.       idata(1) = 200 
  3841.       idata(2) = 300  
  3842.       idata(3) = 400
  3843.       idata(4) = 200
  3844.       field.value = idata
  3845.       Set field =  fields.Append ("CONTACTNAME", LCTYPE_TEXT)
  3846.       data(0) = "Peter Pan" 
  3847.       data(1) = "Big Steel" 
  3848.       data(2) = "R. U. Happy"  
  3849.       data(3) = "Issac Bernard Mathews"
  3850.       data(4) = "Paula Falderall"
  3851.       field.value = data
  3852.       Set field = fields.append ("COMPANYADDRESS", LCTYPE_TEXT)
  3853.       data(0) = "One Bit Tree" 
  3854.       data(1) = "Gurder Way" 
  3855.       data(2) = "Daisy Hill Pup Farm"  
  3856.       data(3) = "Big Blue Ave."
  3857.       data(4) = "Planet Hollywood"
  3858.       field.value = data
  3859.       Set field = fields.Append ("COMPANYCITY", LCTYPE_TEXT)
  3860.       data(0) = "Never Never" 
  3861.       data(1) = "Iron" 
  3862.       data(2) = "Beagle"
  3863.       data(3) = "New York"
  3864.       data(4) = "Parthenon"
  3865.       field.value = data
  3866.       Set field = fields.Append ("COMPANYSTATE", LCTYPE_TEXT)
  3867.       data(0) = "Land" 
  3868.       data(1) = "PA" 
  3869.       data(2) = "WI"  
  3870.       data(3) = "NY"
  3871.       data(4) = "AQ"
  3872.       field.value = data
  3873.       REM we can perform a keyed delete of all matching records in the table
  3874.       Print "Inserted " & Cstr (src.Insert (fields, 1, 5)) & " record(s)."
  3875.     End Sub
  3876. Example Output
  3877.     Inserted 5 record(s).
  3878. &Arial
  3879. 5Courier New
  3880. This method obtains the first or next property information for properties supported by this Connector. y
  3881. Call 
  3882. lcConnection.
  3883. listProperty 
  3884. (list, propertyToken, dataType, propertyFlags, propertyName)
  3885. Parameters
  3886.     1S2S
  3887.     Long.  Constant indicating whether to return the first or next Connector property. 
  3888. LCLIST_FIRST
  3889.     Return the first property in the property list.
  3890. LCLIST_NEXT
  3891.     Return the next property (or the first property if this is the first call to this function for this Connection).
  3892. propertyToken
  3893.     Long. Optional.  Token assigned to the property. 
  3894. dataType
  3895.     Long. Optional.  Data type of the property. 
  3896. propertyFlags
  3897.     Long. Optional.  Property flags for the property; one or more of the flags below Ored together.  
  3898. LCPROPERTYF_CONNECT
  3899. Property is used for connecting
  3900. LCPROPERTYF_BOOLEAN
  3901. Property is a boolean value
  3902. LCPROPERTYF_READONLY
  3903. Property is read-only
  3904. LCPROPERTYF_TEXTLIST
  3905. Property is a text list
  3906. PropertyName
  3907.     String.  Optional.  Name of the property. 
  3908. Example
  3909.     1S2S
  3910.     Option Public
  3911.     Uselsx "*lsxlc"
  3912.     Sub Initialize
  3913.       Dim connect As New LCConnection ("oracle")  
  3914.       Dim conFld As LCField
  3915.       Dim propName As String
  3916.       Dim tokenId As Long
  3917.       Dim propType As Long
  3918.       Dim propFlags As Long
  3919.       ' set some connector properties
  3920.       connect.Server = "Rainbow"
  3921.       connect.Userid = "JDoe"
  3922.       connect.Password = "xyzzy"
  3923.       connect.Metadata = "scott.bigtable"
  3924.       connect.FieldNames = "name, address, city, state, zipcode, phone"
  3925.       Print "NAME" Tab(20); "ID"; Tab(26); "FLAGS"; _
  3926.       Tab(32); "TYPE"; Tab(38); "VALUE"
  3927.       Print "-----------------" Tab(20); "-----"; Tab(26); "-----"; _
  3928.       Tab(32); "----"; Tab(38); "------------"
  3929.       ' all of the parameters are optional and any may be ommited
  3930.       Call connect.ListProperty (LCLIST_FIRST,_
  3931.       tokenId, propType, propFlags, propName)
  3932.       Do
  3933.         Set conFld = connect.GetProperty (tokenId)
  3934.         Print propName; Tab(20); Hex(tokenId); Tab(27); Hex(propFlags); _
  3935.         Tab(32); propType; Tab(38); conFld.Text(0)
  3936.         Loop While connect.ListProperty (LCLIST_NEXT, _
  3937.       tokenId, propType, propFlags, propName)
  3938.     End Sub
  3939. Example Output
  3940.     NAME               ID    FLAGS TYPE  VALUE
  3941.     -----------------  ----- ----- ----  ------------
  3942.     Name               30004  4     6    oracle
  3943.     IsConnected        3000C  6     1    0
  3944.     Server             10001  1     6    mycyclone
  3945.     Userid             10003  1     6    scott
  3946.     Password           10004  1     7    
  3947.     Metadata           10005  0     6    scott.bigtable
  3948.     Index              10006  0     6    
  3949.     MapByName          10007  2     1    0
  3950.     Writeback          10008  2     1    0
  3951.     OrderNames         1000A  8     7    
  3952.     FieldNames         10009  8     7    name, address, city, state, zipcode, phone
  3953.     Condition          1000B  0     6    
  3954.     StampField         1000C  0     6    
  3955.     BaseStamp          1000D  0     5    
  3956.     MaxStamp           1000E  0     5    
  3957.     TextFormat         1000F  4     1    65535
  3958.     CharacterSet       30008  4     6    NATIVE
  3959.     Procedure          10010  0     6    
  3960.     Owner              10011  0     6    
  3961.     AlternateMetadata  10013  2     1    0
  3962.     CommitFrequency    1      0     1    0
  3963.     RollbackOnError    2      2     1    0
  3964.     CreateLongColumn   3      0     6    
  3965.     CreateLongByUser   4      0     1    0
  3966.     TraceSQL           5      2     1    0
  3967. &Arial
  3968. This method determines if a Connector supports a specified property. 
  3969. flag = lcConnection.LookupProperty(propertyToken, dataType, propertyFlags, propertyName)
  3970. Parameters
  3971.     1S2S
  3972. propertyToken
  3973.     A token identifying the Connection property.  See Appendix B for a list of property tokens.  
  3974. dataType
  3975.     Long.  Optional.  The property data type.  
  3976. propertyFlags
  3977.     Long.  Optional.  The property flags from the following list.  
  3978. LCPROPERTYF_CONNECT
  3979. Property is used for connecting.  
  3980. LCPROPERTYF_BOOLEAN
  3981. Property is a boolean value.  
  3982. LCPROPERTYF_READONLY
  3983. Property is read-only.  
  3984. LCPROPERTYF_TEXTLIST
  3985. Property is a text list.  
  3986. propertyName
  3987.     String.  Optional.  The name of the property.  
  3988. Returns
  3989.     1S2S
  3990.     TRUE or FALSE, indicating whether the property is supported for this connection.  
  3991. Example
  3992.     1S2S
  3993.     Option Public
  3994.     Uselsx "*lsxlc"
  3995.     Sub Initialize
  3996.       Dim connect As New LCConnection ("oracle")
  3997.       REM note that a connect is not necessary to list and lookup properties
  3998.       REM the parameters are optional, to text for the existance of a property
  3999.       REM simply provide the TOKEN parameter
  4000.       If (connect.LookupProperty (LCTOKEN_SERVER)) Then
  4001.         Print "Oracle has a 'Server' property"
  4002.       Else
  4003.         Print "Oracle does not have a 'Server' property"
  4004.       End If
  4005.       If (connect.LookupProperty (LCTOKEN_DATABASE)) Then
  4006.         Print "Oracle has a 'Database' property"
  4007.       Else
  4008.         Print "Oracle does not have a 'Database' property"
  4009.       End If
  4010.     End Sub
  4011. Example Output
  4012.     Oracle has a 'Server' property
  4013.     Oracle does not have a 'Database' property
  4014. &Arial
  4015. Symbol
  4016. This method performs either a writeback result set remove or a keyed remove of records in the external system. 
  4017. count = lcConnection.
  4018. Remove
  4019. (keyFieldlist, recordIndex, recordCount)
  4020. Parameters
  4021.     1S2S
  4022. keyFieldlist
  4023.     LCFieldlist. Fieldlist containing keys for a keyed remove only. For each field in the Fieldlist with the flag LCFIELDF_KEY set, only records in the connection with the same value for that field are deleted. Use LCFIELDF_KEY_XXX flags as inequality keys, if desired. Zero or more key fields may be supplied, with zero keys resulting in all records in the target being deleted. Fields in the connection and fieldlist are matched by name if the MapByName property is TRUE, by position otherwise. 
  4024. recordIndex
  4025.     Long.  Optional.  Starting record index in the fieldlist. The default is 1.
  4026. recordCount
  4027.     Long.  Optional.  Number of keyed remove operations to perform. 
  4028. RecordCount
  4029.  must be 1 for a writeback remove but may be greater to perform multiple keyed updates with different update and key values.  The default is 1.
  4030. Returns
  4031.     1S2S
  4032. count
  4033.     Long.  Number of records successfully removed. If this number cannot be determined, the constant LCCOUNT_UNKNOWN is returned.  
  4034. Notes
  4035.     1S2S
  4036. You can achieve optimal performance by using the same fieldlist across consecutive removes from the same target.  
  4037. The property Writeback indicates whether to perform a writeback or keyed remove: 
  4038. Writeback remove: If the Writeback property is now set, this method removes the most recently fetched record from the writeback result set (the result set produced by LCConnection.Execute, LCConnection.Select or LCConnection.Call with the Writeback property set).  
  4039. Keyed remove: Removes all records in the supplied metadata with field values matching all fields in the fieldlist that have the LCFIELDF_KEY field flag set. If a value is specified for the property Condition, this will be included in the key search criteria. This value must be in a syntax valid for the relevant Connector.  See the documentation for the Connector for information about its supported syntax.  
  4040. When using inequality key flags GT, LT, and NE, it is important to remember that the default of no flags is equal. The following combinations are valid for inequality flags:  
  4041. equal to    LCFIELDF_KEY
  4042. greater than or equal to    LCFIELDF_KEY + LCFIELDF_KEY_GT
  4043. less than or equal to    LCFIELDF_KEY + LCFIELDF_KEY_LT
  4044. not equal to    LCFIELDF_KEY + LCFIELDF_KEY_NE
  4045. greater than    LCFIELDF_KEY + LCFIELDF_KEY_GT + LCFIELDF_KEY_NE
  4046. less than    LCFIELDF_KEY + LCFIELDF_KEY_LT + LCFIELDF_KEY_NE
  4047. Example
  4048.     1S2S
  4049.     Option Public
  4050.     Uselsx "*lsxlc"
  4051.     Sub Initialize
  4052.       Dim src As New LCConnection ("db2")
  4053.       Dim keyList As New LCFieldList
  4054.       Dim key As LCField
  4055.       REM set the appropriate properties to connect to the data sources
  4056.       src.Database = "Gold"
  4057.       src.Userid = "JDoe"
  4058.       src.Password = "xyzzy"
  4059.       src.Metadata = "customer"
  4060.       src.MapByName = True
  4061.       REM connect to the two data sources
  4062.       src.Connect
  4063.       REM use a key to find certain records to remove
  4064.       Set key =  keyList.Append ("ACCOUNTMANAGER", LCTYPE_INT)
  4065.       key.Flags = LCFIELDF_KEY
  4066.       key.value = 200
  4067.       REM we can perform a keyed delete of the matching record in the table
  4068.       Print "Removed " & Cstr (src.Remove (keyList)) & " record(s)"
  4069.     End Sub
  4070. Example Output
  4071.     Removed 2 record(s)
  4072. &Arial
  4073. Symbol
  4074. This method produces a result set from the current METADATA property and other properties. 
  4075. count = lcConnection.
  4076. Select 
  4077. (keyFieldlist, recordIndex, destFieldlist)
  4078. Parameters
  4079.     1S2S
  4080. keyFieldlist
  4081.     LCFieldlist.  Selection keys. All fields in 
  4082. KeyFieldlist
  4083.  with the LCFIELDF_KEY flag set are used as the selection keys. Only records in the connection with the same value for key fields will be selected.  Additional LCFIELDF_KEY_XXX flags (GT - greater than, LT - less than, NE - not equal) allow inequality keys to be used.  Zero or more key fields may be supplied to restrict the result set.  No keys or Nothing will select all records for the result set.  
  4084. recordIndex
  4085.     Long.  Record index position in the key fieldlist from which to obtain the record containing key field values.
  4086. destFieldlist
  4087.     LCFieldlist.  Fieldlist to contain the metadata of the selected result set. The fields in the result set will be appended to this fieldlist. If the result set metadata is not required, use Nothing.
  4088. Returns
  4089.     1S2S
  4090. count    
  4091. Long.  Number of records in the result set. If this number cannot be determined by the Connector, the constant LCCOUNT_UNKNOWN is returned. 
  4092. Notes
  4093.     1S2S
  4094. The property Writeback indicates whether to perform a writeback or keyed selection: 
  4095. Writeback selection: If the Writeback property is now set, this method selects fields in the most recently fetched record from the writeback result set (the result set produced by LCConnection.Execute, LCConnection.Select or LCConnection.Call with the Writeback property set). 
  4096. Keyed selection: Selects all records in the supplied metadata with field values matching all fields in the fieldlist that have the LCFIELDF_KEY field flag set. If a value is specified for the property Condition, this will be included in the key search criteria. This value must be in a syntax valid for the relevant Connector.  See the documentation for the Connector for information about its supported syntax.  
  4097. When using inequality key flags GT, LT, and NE, it is important to remember that the default of no flags is equal. The following combinations are valid for inequality flags:  
  4098. equal to            LCFIELDF_KEY
  4099. greater than or equal to    LCFIELDF_KEY + LCFIELDF_KEY_GT
  4100. less than or equal to    LCFIELDF_KEY + LCFIELDF_KEY_LT
  4101. not equal to        LCFIELDF_KEY + LCFIELDF_KEY_NE
  4102. greater than        LCFIELDF_KEY + LCFIELDF_KEY_GT + LCFIELDF_KEY_NE
  4103. less than        LCFIELDF_KEY + LCFIELDF_KEY_LT + LCFIELDF_KEY_NE
  4104. Example
  4105.     1S2S
  4106.     Option Public
  4107.     Uselsx "*lsxlc"
  4108.     Sub Initialize
  4109.       Dim src As New LCConnection ("db2")  
  4110.       Dim fldLst As New LCFieldList
  4111.       Dim fld As LCField
  4112.       Dim count As Integer
  4113.       REM set the appropriate properties to connect to the data sources
  4114.       src.Database = "Gold"
  4115.       src.Userid = "JDoe"
  4116.       src.Password = "xyzzy"
  4117.       src.Metadata = "customer"
  4118.       REM connect to the two data sources
  4119.       src.Connect
  4120.       REM now connected, we can execute a selection statement
  4121.       count = src.Select (Nothing, 1, fldLst)
  4122.       Select Case count
  4123.       Case LCCOUNT_UNKNOWN
  4124.         Print "An unknown number of records were located."
  4125.       Case 0
  4126.         Print "No data were located."
  4127.       Case Else
  4128.         Print "The table contains " & Cstr(count) & " records."
  4129.       End Select
  4130.     End Sub
  4131. Example Output
  4132.     An unknown number of records were located.
  4133. &Arial
  4134. This method assigns the value for a connection property.  Note that use of dynamic properties is more efficient.
  4135. Call 
  4136. thisConnection.
  4137. SetProperty
  4138. (propertyToken, srcField)
  4139. Parameters
  4140.     1S2S
  4141. propertyToken
  4142.     Long. Token representing the Connector property for which the value is to be assigned.   See Appendix B for a list of tokens.  
  4143. srcField
  4144.     LCField.  New value for the Connector property. If the property value is of a different type than this field, then data conversion will occur. The property value will be assigned from the first value in the field.
  4145. Example
  4146.     1S2S
  4147.     Option Public
  4148.     Uselsx "*lsxlc"
  4149.     Sub Initialize
  4150.       Dim connect As New LCConnection ("oracle")  
  4151.       Dim conFld As New LCField (LCTYPE_TEXT, 1)
  4152.       REM set appropriate properties to connect to oracle
  4153.       conFld.text = "Barker"
  4154.       Call connect.SetProperty (LCTOKEN_SERVER, conFld)
  4155.       REM example of using the expanded property
  4156.       Print "Here is the server property value: " & connect.Server
  4157.     End Sub
  4158. Example Output
  4159.     Here is the server property value: Barker
  4160. &Arial
  4161. 5Courier New
  4162. These methods assign a Connection property value as a specific data type.  Datatypes supported include: Boolean, Currency, Datetime, Float, Int, Numeric, and Text.  
  4163. Call 
  4164. lcConnection.
  4165. SetPropertyBoolean
  4166. (propertyToken, srcBoolean)
  4167. Call 
  4168. lcConnection.
  4169. SetPropertyCurrency
  4170. (propertyToken, srcCurrency)
  4171. Call 
  4172. lcConnection.
  4173. SetPropertyDatetime
  4174. (propertyToken, srcDatetime)
  4175. Call 
  4176. lcConnection.
  4177. SetPropertyFloat
  4178. (propertyToken, srcFloat)
  4179. Call 
  4180. lcConnection.
  4181. SetPropertyInt
  4182. (propertyToken, srcInt)
  4183. Call 
  4184. lcConnection.
  4185. SetPropertyNumeric
  4186. (propertyToken, srcNumeric)
  4187. Call 
  4188. lcConnection.
  4189. SetPropertyStream
  4190. (propertyToken, srcStream)
  4191. Parameters
  4192.     1S2S
  4193. propertyToken
  4194.     Long.  Token identifying the Connection property. See Appendix B for a list of tokens.  
  4195. src<Type>
  4196.     Value to assign to the Connection property. 
  4197. SetProperty<Type> Examples
  4198.     Option Public
  4199.     Uselsx "*lsxlc"
  4200.     Sub Initialize
  4201.       Dim connect As New LCConnection ("db2")  
  4202.       Dim conFld As New LCField (LCTYPE_TEXT,1)
  4203.       Dim propName As String
  4204.       Dim propDate As New LCDateTime
  4205.       Dim propNumeric As New LCNumeric
  4206.       Dim propStrm As New LCStream (0, 0, LCTYPE_TEXT)
  4207.       Dim propCurr As New LCCurrency
  4208.       Dim propFloat As Double
  4209.       Dim propInt As Long
  4210.       Dim tokenId As Long
  4211.       Dim propType As Long
  4212.       Dim propFlags As Long
  4213.       ' set the appropriate properties to connect to DB2, 
  4214.       ' note that you can also use dynamic properties to do this
  4215.       connect.Database = "Gold"
  4216.       connect.Userid = "JDoe"
  4217.       connect.Password = "xyzzy"
  4218.       Call connect.ListProperty (LCLIST_FIRST,_
  4219.       tokenId, propType, propFlags, propName)
  4220.       Do
  4221.         Set conFld = connect.GetProperty (tokenId)
  4222.         If (propFlags And LCPROPERTYF_READONLY) <> LCPROPERTYF_READONLY Then
  4223.           ' match the property to a datatype and set it
  4224.           Select Case propType
  4225.           Case LCTYPE_DATETIME:
  4226.             propDate.SetCurrent
  4227.             Call connect.SetPropertyDatetime (tokenId, propDate)
  4228.             Print propName  & " is now a datetime and contains " & propDate.text
  4229.           Case LCTYPE_NUMERIC:
  4230.             propNumeric.text = "100.0123456789"
  4231.             Call connect.SetPropertyNumeric (tokenId, propNumeric)
  4232.             Print propName  &  " is now a numeric and contains " & propNumeric.text
  4233.           Case LCTYPE_TEXT:
  4234.             propStrm.text  = "a beautiful day"
  4235.             Call connect.SetPropertyStream (tokenId,  propStrm)
  4236.             Print propName & " is now text and contains " & propStrm.text
  4237.           Case LCTYPE_CURRENCY:
  4238.             propCurr.text = "140.10"
  4239.             Call connect.SetPropertyCurrency (tokenId, propCurr)
  4240.             Print propName & " is now currency and contains " & propCurr.text
  4241.           Case LCTYPE_FLOAT:
  4242.             Call connect.SetPropertyFloat (tokenId,  30000.456)
  4243.             Print propName & " is now a float and contains " & Cstr (30000.456)
  4244.           Case LCTYPE_INT:
  4245.             If (propFlags And LCPROPERTYF_BOOLEAN) Then
  4246.               Call connect.SetPropertyBoolean (tokenId, True)
  4247.               Print propName &  " is now an int and contains " & Cstr(True)
  4248.             Else
  4249.               Call connect.SetPropertyInt (tokenId, 123)
  4250.               Print propName &  " is now an int and contains " & Cstr(123)
  4251.             End If
  4252.           End Select
  4253.         End If
  4254.         Loop _
  4255.         While connect.ListProperty (LCLIST_NEXT, _
  4256.       tokenId, propType, propFlags, propName)
  4257.     End Sub
  4258. Example Ouput
  4259.     Database is now text and contains a beautiful day
  4260.     Userid is now text and contains a beautiful day
  4261.     Metadata is now text and contains a beautiful day
  4262.     Index is now text and contains a beautiful day
  4263.     MapByName is now an int and contains True
  4264.     Writeback is now an int and contains True
  4265.     Condition is now text and contains a beautiful day
  4266.     StampField is now text and contains a beautiful day
  4267.     BaseStamp is now a datetime and contains 09/08/1998 05:24:33.65 PM
  4268.     MaxStamp is now a datetime and contains 09/08/1998 05:24:33.65 PM
  4269.     Procedure is now text and contains a beautiful day
  4270.     Owner is now text and contains a beautiful day
  4271.     AlternateMetadata is now an int and contains True
  4272.     CommitFrequency is now an int and contains 123
  4273.     RollbackOnError is now an int and contains True
  4274.     CreateMaxLogged is now an int and contains 123
  4275.     NoJournal is now an int and contains True
  4276.     CreateInDatabase is now text and contains a beautiful day
  4277.     TraceSQL is now an int and contains True
  4278. &Arial
  4279. Symbol
  4280. This method updates selected records in the connection metadata.  
  4281. count =  lcConnection.
  4282. Update
  4283. (srcFieldlist, recordIndex, recordCount)
  4284. Parameters
  4285.     1S2S
  4286. srcFieldlist
  4287.     LCFieldlist.  The fieldlist that contains the fields to be changed.  
  4288. recordIndex
  4289.     Long.  Optional.  The starting record in the fieldlist.  The default is 1. 
  4290. recordCount
  4291.     Long. Optional.  The number of records in the fieldlist to use to perform the update.  The default is 1. 
  4292. Returns
  4293.     1S2S
  4294. count
  4295.     Long.  Number of records successfully updated.  This may be LCCOUNT_UNKNOWN.  
  4296. Notes
  4297.     1S2S
  4298. You can achieve optimal performance by using the same fieldlist across consecutive updates to the same target.  
  4299. The property Writeback indicates whether to perform a writeback or keyed update: 
  4300. Writeback update: If the Writeback property is now set, this method updates fields in the most recently fetched record from the writeback result set (the result set produced by LCConnection.Execute, LCConnection.Select or LCConnection.Call with the Writeback property set). Fields that have the NO_UPDATE field flag set are not updated.
  4301. Keyed update: Updates all records in the supplied metadata with field values matching all fields in the fieldlist that have the LCFIELDF_KEY field flag set. Fields with the NO_UPDATE field flags set are not affected. If a value is specified for the property Condition, this will be included in the key search criteria. This value must be in a syntax valid for the relevant Connector.  See the documentation for the Connector for information about its supported syntax.  
  4302. When using inequality key flags GT, LT, and NE, it is important to remember that the default of no flags is equal.  The following combinations are valid for inequality flags:  
  4303. equal to            LCFIELDF_KEY
  4304. greater than or equal to    LCFIELDF_KEY + LCFIELDF_KEY_GT
  4305. less than or equal to    LCFIELDF_KEY + LCFIELDF_KEY_LT
  4306. not equal to        LCFIELDF_KEY + LCFIELDF_KEY_NE
  4307. greater than        LCFIELDF_KEY + LCFIELDF_KEY_GT + LCFIELDF_KEY_NE
  4308. less than        LCFIELDF_KEY + LCFIELDF_KEY_LT + LCFIELDF_KEY_NE
  4309. Example
  4310.     1S2S
  4311.     Option Public
  4312.     Option Explicit
  4313.     Uselsx "*lsxlc"
  4314.     Sub Initialize
  4315.       Dim src As New LCConnection ("db2")  
  4316.       Dim fldList As New LCFieldList
  4317.       Dim fld As LCField
  4318.       ' set the appropriate properties to connect to the data source
  4319.       src.Database = "Gold"
  4320.       src.Userid = "JDoe"
  4321.       src.Password = "xyzzy"
  4322.       src.Metadata = "customer"
  4323.       src.Connect
  4324.       ' use a key to find certain records to update
  4325.       Set fld =  fldList.Append ("ACCOUNTMANAGER", LCTYPE_INT)
  4326.       fld.Flags =  LCFIELDF_KEY
  4327.       fld.value = 200
  4328.       ' set the field which will be changed, and set the new value
  4329.       Set fld =  fldList.Append ("CONTACTNAME", LCTYPE_TEXT)
  4330.       fld.text = "Me"
  4331.       src.MapbyName = True
  4332.       ' set the contact's city to "Denver" 
  4333.       ' for the record who's contact is "Me"
  4334.       Print "The update affected " & Cstr (src.Update (fldList)) & " records"
  4335.     End Sub
  4336. Example Output
  4337.     The update affected 2 records
  4338. &Arial
  4339. Times
  4340. LotusFrute
  4341. Symbol
  4342.     5Courier New
  4343. Helvetica
  4344. This chapter provides information about the Lotus Connectors LCCurrency class methods and properties. 
  4345. Overview
  4346. The LCCurrency class represents a currency value and has the same format and restrictions as the LotusScript currency datatype.  The value is an 8-byte integer with a fixed scale of 4 decimal places, providing 19 digits of precision.  Currency is commonly used when higher precision is required, such as for monetary amounts.  A currency is much more precise than an integer, more precise than a float, and more efficient (but less precise) than a numeric.  Note that during any currency overflow, the maximum or minimum valid currency value is assigned in addition to the error generated.
  4347. Type CURRENCY format and values
  4348.     Type constant
  4349.     LCTYPE_CURRENCY
  4350.     Description
  4351.     8-byte integer with a fixed scale of 4
  4352.     Other
  4353.     Precision (LCMAX_CURRENCY_PREC) = 19
  4354.     Scale (LCMAX_CURRENCY_SCALE) = 4
  4355.     Minimum Value (LCMIN_CURRENCY_VALUE) =
  4356.     -922,337,203,685,477.5807
  4357.     Maximum Value (LCMAX_CURRENCY_VALUE) = 922,337,203,685,477.5807
  4358. LCCurrency Class Methods Summary
  4359. The following are the LCCurrency class methods:  
  4360. LCCurrency.Add    Adds two currency values and deposits the result in the object making the call.  
  4361. LCCurrency.Compare    Compares two currency values returning a value indicating the relationship between them.  
  4362. LCCurrency.Copy    Makes a copy of a currency.  
  4363. LCCurrency.Subtract    Subtracts one currency value from another, and returns the result to the object making the call.  
  4364. LCCurrency Properties
  4365. LCCurrency has two properties: Text and Value. 
  4366. Text    Text is a string representation.
  4367. Value    Value is of LotusScript currency data type. 
  4368. &Arial
  4369. Adds two LCCurrency values, producing the sum, which is returned in the object making the call.  
  4370. Call 
  4371. currencyTotal.
  4372. (currency1, currency2)
  4373. Parameters
  4374.     1S2S
  4375. currency1
  4376.     LCCurrency.  The first of the two LCCurrencies to add. 
  4377. currency2    
  4378. LCCurrency.  The second of the two LCCurrencies to add.
  4379. Example
  4380.     1S2S
  4381.     Option Public
  4382.     Uselsx "*lsxlc"
  4383.     Sub Initialize
  4384.       Dim num1 As New LCCurrency
  4385.       Dim num2 As New LCCurrency
  4386.       Dim sum As New LCCurrency
  4387.       num1.Value = 12345.6789
  4388.       num2.Value = 12345.6789
  4389.       Call sum.Add (Num1, Num2)
  4390.       Print "The sum of the two currencies is " & sum.Text
  4391.     End Sub
  4392. Example Output
  4393.     The sum of the two currencies is 24691.3578
  4394. &Arial
  4395. Compares two currency values and returns the relationship. 
  4396. Result = thisCurrency.
  4397. Compare
  4398. (baseCurrency)
  4399. Parameters
  4400.     1S2S
  4401. baseCurrency
  4402.     LCCurrency.  The base currency value to which to compare 
  4403. thisCurrency
  4404. Returns
  4405.     1S2S
  4406. Result
  4407.     Result of the comparison: 
  4408. Result > 0 (positive): 
  4409. thisCurrency 
  4410. is greater than 
  4411. baseCurrency
  4412. Result < 0 (negative): 
  4413. thisCurrency 
  4414. is less than 
  4415. baseCurrency
  4416. Result = 0: 
  4417. thisCurrency 
  4418. is equal to 
  4419. baseCurrency
  4420. Example
  4421.     1S2S
  4422.     Option Public
  4423.     Uselsx "*lsxlc"
  4424.     Sub Initialize
  4425.       Dim num1 As New LCCurrency
  4426.       Dim num2 As New LCCurrency
  4427.       num1.Value = 123.456789
  4428.       num2.Value = 123
  4429.       If (num1.Compare (num2) = 0) Then
  4430.         Print "The first number is the same as the second."
  4431.       Elseif (num1.Compare (num2) > 0) Then
  4432.         Print "The first number is greater than the second."
  4433.       Else
  4434.         Print "The first number is less than the second."
  4435.       End If
  4436.     End Sub
  4437. Example Output
  4438.     The first number is greater than the second.
  4439. &Arial
  4440. This method makes a copy of an LCCurrency object.  
  4441. newCurrency = srcCurrency.
  4442. Parameters
  4443.     1S2S
  4444. srcCurrency
  4445.     LCCurrency.  The source currency value to be copied.
  4446. Returns
  4447.     1S2S
  4448. newCurrency
  4449.     LCCurrency.  The copy of the 
  4450. srcCurrency 
  4451. object.
  4452. Example
  4453.     1S2S
  4454.     Option Public
  4455.     Uselsx "*lsxlc"
  4456.     Sub Initialize
  4457.       Dim num1 As New LCCurrency
  4458.       Dim num2 As LCCurrency
  4459.       num1.Value = 12345.6789
  4460.       Set num2 = num1.Copy
  4461.       Print "The copy has a value of " & num2.Text
  4462.     End Sub
  4463. Example Output
  4464.     The copy has a value of 12345.6789
  4465. &Arial
  4466. This method subtracts one LCCurrency value from another, producing the result. 
  4467. Call 
  4468. currencyResult.
  4469. Subtract
  4470. (currency1, currency2)
  4471. Parameters
  4472.     1S2S
  4473. currency1    
  4474. LCCurrency.  This is the initial LCCurrency from which you want to subtract the second currency. 
  4475. currency2    
  4476. LCCurrency.  The LCCurrency to be subtracted from 
  4477. currency1
  4478. Example
  4479.     1S2S
  4480.     Option Public
  4481.     Uselsx "*lsxlc"
  4482.     Sub Initialize
  4483.       Dim num1 As New LCCurrency
  4484.       Dim num2 As New LCCurrency
  4485.       Dim diff As New LCCurrency
  4486.       num1.Value = 98765.4321
  4487.       num2.Value = 12345.6789
  4488.       Call diff.Subtract (Num1, Num2)
  4489.       Print "The difference of the two currencies is " & diff.Text
  4490.     End Sub
  4491. Example Output
  4492.     The difference of the two currencies is 86419.7532
  4493. &Arial
  4494. This chapter provides information about the Lotus Connectors LCDatetime class methods and properties.   
  4495. Overview
  4496. The LCDatetime class represents a specific date and time, including timezone and daylight savings time information. A datetime value may have either its date or time component unavailable, indicated by special constant values for date (LCDTNULL_DATE) or time (LCDTNULL_TIME) components. Flags control the behavior for the existence/absence of the date or time portion. During any datetime overflow, the maximum or minimum valid datetime value is assigned in addition to the error return.
  4497. The time portion of the datetime is precise to hundreths. Some data sources do not support this precision, or support greater precision.  For these systems it may be necessary to set the field flags for all datetime datatype fields to LCFIELDF_TRUNC_PREC, to avoid a precision loss error.
  4498. Type DATETIME format and values
  4499.     Type constant
  4500.     LCTYPE_DATETIME
  4501.     Description
  4502.     Date and time value with time zone and Daylight Savings Time (DST)
  4503.     Other
  4504.     Precision = 0.01 second
  4505.     Minimum Year Value (LCMIN_DATETIME_YEAR) = 1
  4506.     Maximum Year Value (LCMAX_DATETIME_YEAR) = 32767
  4507. LCDatetime Class Methods Summary
  4508. LCDatetime.Adjust    Alters a Datetime by a specified number of units.
  4509. LCDatetime.Clear    Clears a Datetime value.
  4510. LCDatetime.Compare    Compares two Datetime values returning a value indicating the relationship between them.
  4511. LCDatetime.Copy    Makes a copy of an LCDatetime object.
  4512. LCDatetime.GetDiff    Returns the difference between two Datetimes in requested time units.
  4513. LCDatetime.SetConstant    Produces a special constant Datetime commonly used for comparisons.
  4514. LCDatetime.SetCurrent    Sets a Datetime value to the current system time. 
  4515. LCDatetime Properties
  4516. LCDatetime.Minute    Long.  Minute (0-59).
  4517. LCDatetime.Second    Long.  Second (0-59).
  4518. LCDatetime.Hundredth    Long.  Hundredths of second (0-99).
  4519. LCDatetime.Day    Long.  Day of month (1-31).
  4520. LCDatetime.Hour    Long.  Hour (0-23).
  4521. LCDatetime.Month    Long.  Month (1-12).
  4522. LCDatetime.Year    Long.  Integer indicating the year (1-32767). 
  4523. LCDatetime.Weekday    Long.  Integer indicating the day of the week (1-7, Sunday = 1).  Output only.  
  4524. LCDatetime.Zone    Long.  Integer indicating the time zone (-12 to 12).
  4525. LCDatetime.DST    Boolean.  Indicates whether Daylight Savings Time is in effect.
  4526. LCDatetime.Ticks    Long.  Tick count representing hundredths of a second since midnight.  
  4527. LCDatetime.Text    String representation. 
  4528. LCDatetime.Julian    Long.  Julian date. 
  4529. LCDatetime.Value    LotusScript Variant containing a date/time. 
  4530. &Arial
  4531. This is the constructor for LCDatetime.  It initializes a new LCDatetime object. 
  4532. variableName 
  4533.  LCDatetime
  4534. (Year, Month, Day, Hour, Minute, Second, Hundredth, Zone, DST)
  4535. Parameters
  4536.     1S2S
  4537.     All parameters are optional.  
  4538.     As Long.  Value in the range 1-32767.  Default is 0. 
  4539. Month
  4540.     As Long.  A value in the range 1-12. Default is 0.
  4541.     As Long.  A value in the range 1-31. Default is 0.
  4542.     As Long.  A value in the range 0-23. Default is 0.
  4543. Minute
  4544.     As Long.  A value in the range 0-59. Default is 0.
  4545. Second
  4546.     As Long.  A value in the range 0-59. Default is 0.
  4547. Hundredth
  4548.     As Long.  A value in the range 0-99. Default is 0.
  4549.     As Long.  A value representing the time zone in the range -11-11. Default is GMT.
  4550.     As Variant.  Boolean.  Daylight savings time is in effect when true.  Default is 0 (GMT).  
  4551. &Arial
  4552. Alters a datetime by specified datetime units. 
  4553. Call 
  4554. changeDatetime.
  4555. Adjust
  4556. (Units, Amount)
  4557. Parameters
  4558.     1S2S
  4559. Units
  4560.     Long.  The unit to adjust.  Units are in the order listed in the constructor: 
  4561. Year, Month, Day, Hour, Minute, Second, Hundredth, Zone, DST.  
  4562. Use the following constants:  
  4563. LCDTUNIT_YEAR 
  4564. ) Year units. 
  4565. LCDTUNIT_MONTH - Month units. 
  4566. LCDTUNIT_DAY - Day units.
  4567. LCDTUNIT_WEEKDAY - Weekday units.  
  4568. LCDTUNIT_HOUR - Hour units. 
  4569. LCDTUNIT_MINUTE - Minute units. 
  4570. LCDTUNIT_SECOND - Second units.
  4571. LCDTUNIT_HUNDREDTH - Hundredth of second units.
  4572. LCDTUNIT_ZONE 
  4573. ) Time zone units.
  4574. Amount
  4575.     Long.  The amount to adjust the datetime unit.  Positive means later in time; negative means earlier.  
  4576. Example
  4577.     1S2S
  4578.     Option Public
  4579.     Uselsx "*lsxlc"
  4580.     Sub Initialize
  4581.       Dim clock As New LCDateTime
  4582.       clock.SetCurrent
  4583.       Print "The time is " & clock.Text
  4584.       Call clock.Adjust (LCDTUNIT_HOUR, -100)
  4585.       Print "100 hours ago, the time was " & clock.Text
  4586.     End Sub
  4587. Example Output
  4588.     The time is 09/08/1998 05:22:07.18 PM
  4589.     100 hours ago, the time was 09/05/1998 02:37:52.82 AM
  4590. &Arial
  4591. Clears a previously set Datetime value to NULL.  
  4592. Call 
  4593. dateTimeObject
  4594. Clear
  4595. Example
  4596.     1S2S
  4597.     Option Public
  4598.     Uselsx "*lsxlc"
  4599.     Sub Initialize
  4600.       Dim Clock As New LCDateTime (1999, 12, 31, 23, 59, 59, 99)
  4601.       Clock.Clear
  4602.       If (Clock.Text = "") Then
  4603.         Print "The time has been cleared."
  4604.       Else
  4605.         Print "The time is " & Clock.Text
  4606.       End If
  4607.     End Sub
  4608. Example Output
  4609.     The time has been cleared.
  4610. &Arial
  4611. Compares two Datetime values and returns the relationship.  
  4612. Result 
  4613. thisDatetime
  4614. Compare
  4615. (baseDatetime)
  4616. Parameters
  4617.     1S2S
  4618. baseDatetime
  4619.     The Datetime to which to compare 
  4620. thisDatetime
  4621. Returns
  4622.     1S2S
  4623. Result
  4624.     Result of the comparison: 
  4625. Result > 0 (positive): 
  4626. thisDatetime
  4627.  is greater than 
  4628. baseDatetime
  4629. Result < 0 (negative): 
  4630. thisDatetime
  4631.  is less than 
  4632. baseDatetime
  4633. Result = 0: 
  4634. thisDatetime
  4635.  is equal to 
  4636. baseDatetime
  4637. Example
  4638.     1S2S
  4639.     Option Public
  4640.     Uselsx "*lsxlc"
  4641.     Sub Initialize
  4642.       Dim Clock As New LCDateTime (1999, 12, 31, 23, 59, 59, 99)
  4643.       Dim Match As New LCDatetime
  4644.       Match.SetCurrent
  4645.       If (Clock.Compare (Match) = 0) Then
  4646.         Print "The current time matches " & Clock.Text
  4647.       Elseif (Clock.Compare (Match) > 0) Then
  4648.         Print "The current time is before " & Clock.Text
  4649.       Else
  4650.         Print "The current time is after " & Clock.Text
  4651.       End If
  4652.     End Sub
  4653. Example Output
  4654.     The current time is before 12/31/1999 11:59:59.99 PM
  4655. &Arial
  4656. This method makes a copy of an LCDatetime object. 
  4657. newDatetime = srcDatetime.
  4658. Parameters
  4659.     1S2S
  4660. SrcDatetime
  4661.     LCDatetime.  The datetime object that you want to copy.  
  4662. Returns
  4663.     1S2S
  4664. newDatetime
  4665.     LCDatetime.  The copy of the srcDatetime object.  
  4666. Example
  4667.     1S2S
  4668.     Option Public
  4669.     Uselsx "*lsxlc"
  4670.     Sub Initialize
  4671.       Dim session As New LCSession
  4672.       Dim StopTime As New LCDateTime
  4673.       Dim StartTime As LCDatetime
  4674.       StopTime.SetCurrent
  4675.       Set StartTime = StopTime.Copy
  4676.       session.Sleep (100)  ' 100 milliseconds
  4677.       StopTime.SetCurrent
  4678.       Print "The difference between start and stop is:"
  4679.       Print StopTime.GetDiff (StartTime, LCDTUNIT_HUNDREDTH) & _
  4680.       " hundredths of a second."
  4681.     End Sub
  4682. Example Output
  4683.     The difference between start and stop is:
  4684.     10 hundredths of a second.
  4685. &Arial
  4686. The GetDiff method gets the difference between the values of two LCDatetime objects.
  4687. difference
  4688. lcDatetime
  4689. GetDiff
  4690. (baseDatetime, Units)
  4691. Parameters
  4692.     1S2S
  4693. baseDatetime
  4694.     LCDatetime.  The datetime object to which you want to compare the 
  4695. lcDatetime 
  4696. object.
  4697. Units
  4698.     Long.  The units to compare.  Units are in the order listed in the constructor: 
  4699. Year, Month, Day, Hour, Minute, Second, Hundredth, Zone, DST.  
  4700. Use the following constants:  
  4701. LCDTUNIT_YEAR 
  4702. ) Year units. 
  4703. LCDTUNIT_MONTH - Month units. 
  4704. LCDTUNIT_DAY - Day units.
  4705. LCDTUNIT_WEEKDAY - Weekday units.  
  4706. LCDTUNIT_HOUR - Hour units. 
  4707. LCDTUNIT_MINUTE - Minute units. 
  4708. LCDTUNIT_SECOND - Second units.
  4709. LCDTUNIT_HUNDREDTH - Hundredth of second units.
  4710. LCDTUNIT_ZONE 
  4711. ) Time zone units.
  4712. Returns
  4713.     1S2S
  4714. difference
  4715.     The difference between the two LCDatetime objects, in the units specified. 
  4716. Example
  4717.     1S2S
  4718.     Option Public
  4719.     Uselsx "*lsxlc"
  4720.     Sub Initialize
  4721.       Dim Boston As New LCDateTime _
  4722.       (1998, 1, 25,  08, 50, 00, 00,  -5,  True)
  4723.       Dim Singapore As New LCDateTime _
  4724.       (1998, 1, 27, 1, 10, 00, 00, 8, False)
  4725.       Print "A flight taking off from Boston at 8:50am"
  4726.       Print "and landing in Singapore at 1:10am"
  4727.       Print "will take " & Singapore.GetDiff (Boston, LCDTUNIT_HOUR) & " hours."
  4728.     End Sub
  4729. Example Output
  4730.     A flight taking off from Boston at 8:50am
  4731.     and landing in Singapore at 1:10am
  4732.     will take 27 hours.
  4733. &Arial
  4734. Produces a special constant Datetime object. 
  4735. lcDatetime
  4736. SetConstant
  4737. (datetimeConstant)
  4738. Parameters
  4739.     1S2S
  4740. datetimeConstant    
  4741. One of the following Datetime Constants:  
  4742. LCDTCONST_MINIMUM:    A datetime which is less than any other datetime (except another minimum). 
  4743. LCDTCONST_MAXIMUM:    A datetime that is greater than any other datetime (except another maximum). 
  4744. LCDTCONST_WILDCARD:    A datetime that matches any other datetime. The date value is LCDTNULL_DATE and the time value is LCDTNULL_TIME.
  4745. Example
  4746.     1S2S
  4747.     Option Public
  4748.     Uselsx "*lsxlc"
  4749.     Sub Initialize
  4750.       Dim Clock As New LCDateTime (1999, 12, 31, 23, 59, 59, 99)
  4751.       Dim Match As New LCDatetime
  4752.       Call Match.SetConstant (LCDTCONST_WILDCARD)
  4753.       If (Clock.Compare (Match) = 0) Then
  4754.         Print "The current time matches the wild card constant."
  4755.       Else
  4756.         Print "The current time does not match the wild card constant."
  4757.       End If
  4758.     End Sub
  4759. Example Output
  4760.     The current time matches the wild card constant.
  4761. &Arial
  4762. This method sets the Datetime value to the current system datetime. 
  4763. Call 
  4764. lcDatetimeObject.
  4765. SetCurrent
  4766. Example
  4767.     1S2S
  4768.     Option Public
  4769.     Uselsx "*lsxlc"
  4770.     Sub Initialize
  4771.       Dim stopWatch As New LCDateTime
  4772.       stopWatch.setcurrent
  4773.       Print "The time is " & stopWatch.text
  4774.     End Sub
  4775. Example Output
  4776.     The time is 09/08/1998 05:22:02.85 PM
  4777. &Arial
  4778. This chapter provides information about the LCField class methods and properties.  
  4779. Overview
  4780. The LCField class represents a data object containing one or more data values of a designated data type. A field may be an independent repository for data or may be a reference to another field, as in when getting a field from a fieldlist. In this case, changes to data in the field affect the contents of the data referenced by the fieldlist. 
  4781. Note that in repetitive operations such as data fetch - insert loops, it is more efficient to get a reference field from a fieldlist prior to the loop, and act on the data through the reference than to locate the data field in each iteration of the loop.
  4782. LCField Class Methods Summary
  4783. The methods for the LCField class are summmarized below.   
  4784. Allocation
  4785. The following methods create and free Field instances.
  4786. New LCField     (Constructor) Allocates a new Field object instance. 
  4787. LCField.Copy    Creates a new Field object instance as a copy of another field. The field data is also copied. 
  4788. Delete LCField    (Destructor) Frees a Field object instance allocated with the constructor or LCField.Copy.  This method does not free fields created as part of a fieldlist. 
  4789. Field Properties
  4790. The following methods support retrieval of field properties and assignment of mutable field properties.
  4791. LCField.GetType    Retrieves the data type for a field.
  4792. LCField.GetValueCount    Retrieves the number of data values for a field.
  4793. LCField.GetFlags    Retrieves the current field flags for a field.
  4794. LCField.SetFlags    Assigns the current field flags for a field.
  4795. LCField.GetVirtualCode    Checks if a field has this virtual code set.  
  4796. LCField.ListVirtualCode    Lists the virtual code(s) for a field.
  4797. LCField.SetVirtualCode    Sets a virtual code for a field.
  4798. Field Format
  4799. The following methods support retrieval of field format information. Setting the format for a field clears all current data values for that field.
  4800. LCField.GetFormatNumber    Retrieves the current format settings for a number field.
  4801. LCField.SetFormatNumber    Assigns the current format settings for a number field.
  4802. LCField.GetFormatDatetime    Retrieves the current format settings for a datetime field.
  4803. LCField.SetFormatDatetime    Assigns the current format settings for a datetime field.
  4804. LCField.GetFormatStream    Retrieves the current format settings for a stream field.
  4805. LCField.SetFormatStream    Assigns the current format settings for a stream field.
  4806. Field Data
  4807. The following methods support access to and modification of field data and NULL indicators.
  4808. LCField.IsNull    Queries whether a specific field data value is NULL.
  4809. LCField.SetNull    Assigns the NULL indicator for a specific field data value.
  4810. LCField.Get<Type>    Retrieves a specific field data value as a particular data type, converting the data if necessary.
  4811. LCField.Set<Type>    Assigns a specific field data value from a particular data type, converting the data if necessary.
  4812. Miscellaneous
  4813. LCField.Compare    Compare data values between two fields
  4814. LCField.Convert    Convert data values between two fields
  4815. LCField Properties
  4816. The following are the properties for the LCField class: 
  4817. Count    Long.  One or greater. Data space for this many data values and NULL indicators will be allocated. The value count is automatically assigned for fields in a fieldlist based on the fieldlist record count (see Fieldlist description). Assigned at creation and Read-Only.
  4818. Datatype    Long.  One of the Lotus Connector datatypes. Assigned at creation and Read-Only.
  4819. Flags     Long.  Zero or more of the following field flags OR-ed together. 
  4820. LCFIELDF_NO_NULL    Field cannot be NULL
  4821. LCFIELDF_TRUNC_PREC    Allow precision truncation
  4822. LCFIELDF_TRUNC_DATA    Allow data truncation
  4823. LCFIELDF_NO_FETCH    Do not FETCH this field
  4824. LCFIELDF_NO_INSERT    Do not INSERT this field
  4825. LCFIELDF_NO_UPDATE    Do not UPDATE this field
  4826. LCFIELDF_NO_REMOVE    Do not REMOVE this field
  4827. LCFIELDF_NO_CREATE    Do not CREATE this field
  4828. LCFIELDF_NO_DROP    Do not DROP this field
  4829. LCFIELDF_KEY    Field is a KEY for keyed operations
  4830. LCFIELDF_KEY_GT    Key condition is greater than
  4831. LCFIELDF_KEY_LT    Key condition is less than
  4832. LCFIELDF_KEY_NE    Key condition is not equal to
  4833. LCFIELDF_KEY_LIKE    Key condition is like (native pattern match)
  4834. IsNull    Boolean.  True or False.  
  4835. Text    
  4836. Array
  4837.  of string representations.  
  4838. Value    
  4839. Array 
  4840. of LotusScript datatypes.  The value or values contained depend on the datatype of the field, as listed below.  
  4841.     Field Type
  4842.     Value Return Type
  4843.     LCTYPE_CURRENCY
  4844.     Currency
  4845.     LCTYPE_DATETIME
  4846.     Variant (Date/Time)
  4847.     LCTYPE_INT
  4848.     Long
  4849.     LCTYPE_FLOAT
  4850.     Double
  4851.     LCTYPE_NUMERIC
  4852.     Double
  4853.     LCTYPE_TEXT
  4854.     String
  4855.     LCTYPE_BINARY
  4856.     String
  4857. Field Format
  4858. The format of a field is specific to its general class of type: number (int, float, currency, numeric), datetime, or stream (text and binary). For all format values, zero indicates that the indicated information is not used for this field. The information for each datatype is indicated below.  
  4859. NOTE:    Number and Datetime formats do not affect the actual data, but are used for data creation only.  Stream format does affect the actual data.  
  4860. Number (INT, FLOAT, CURRENCY, NUMERIC)
  4861. Flags:
  4862.  zero or more of the following constants. Multiple constants can be ORed together:
  4863. LCNUMBERF_UNSIGNED    Source type is unsigned
  4864. LCNUMBERF_NUMERIC    Source type is NUMERIC 
  4865. (unnecessary with LCTYPE_NUMERIC)
  4866. LCNUMBERF_DECIMAL    Source type is DECIMAL
  4867. LCNUMBERF_PACKED    Source numeric/decimal data is packed
  4868. LCNUMBERF_BIT        Source type is a bit
  4869. Size:
  4870.  size, in bytes, of this number value. Zero indicates to default to the size of the type for this field.
  4871. Precision:
  4872.  digits of precision for this value. Zero indicates not used.
  4873. Scale:
  4874.  numeric scale. A true scale of zero uses the constant LCSCALE_ZERO. Zero indicates not used. 
  4875. Datetime (DATETIME)
  4876. Flags:
  4877.  zero or more of the following constants. Multiple constants can be ORed together:
  4878. LCDATETIMEF_NO_DATE    Source type is time only
  4879. LCDATETIMEF_NO_TIME    Source type is date only
  4880. Size:
  4881.  size, in bytes, of this datetime value. Zero indicates to default to the size of the type for this field.  
  4882. Stream (TEXT, BINARY)
  4883. Flags:
  4884.  zero or more of the stream flags LCSTREAMF_xxx. Multiple flags can be ORed together. See the Stream class description.
  4885. MaxLength:
  4886.  maximum length, in bytes, of this stream value. Zero indicates no maximum length. See the Stream class description.
  4887. StreamFormat:
  4888.  default stream format for this stream value. Zero indicates no default stream format. Use one of the LCSTREAMFMT_xxx constants. 
  4889. Field Virtual Codes - Advanced Usage
  4890. Virtual codes allow specific fields to be interpreted differently for Connectors which support virtual fields. For example, a Connector could support a virtual field named "RecordId", which 
  4891. olds a special internal record indicator for that Connector. This Connector would interpret this field differently than normal data, while other Connectors would consider this field a standard data field. While the virtual code indicates special handling, the field name determines the type of handling on a Connector-specific basis.
  4892. To achieve this functionality, the virtual code for a field is set to match either a Connector code or a Connection code. A Connector code is a code which is the same for all connections to a particular Connector in a Session. The Connector code can be obtained by retrieving the property LCTOKEN_CONNECTOR_CODE with LCConnection.GetProperty or as the code returned by LCSession.ListConnector or LCSession.LookupConnector. Using a Connector code as a virtual code causes all connections to that Connector to interpret the field as a virtual field. A connection code is a code which is different for all connections. The Connect code can be obtained by retrieving the property LCTOKEN_CONNECTION_CODE with LCConnection.GetProperty.  Using a Connection code as a virtual code causes only that specific Connection to interpret the field as a virtual field. The Connector code can also be determined by taking the Connection code and zeroing the low two bytes (OR with LCMASK_CONNECTOR_CODE).  Note that these codes are dynamically assigned and must be obtained for each execution of a script.  
  4893. &Arial
  4894. This method clears the specified virtual code for the field.  
  4895. Call 
  4896. field
  4897. ClearVirtualCode
  4898. (code)
  4899. Parameters
  4900.     1S2S
  4901.     The code to clear.  Zero (0) clears all codes.  
  4902. Example
  4903.     1S2S
  4904.     Option Public
  4905.     Uselsx "*lsxlc"
  4906.     Sub Initialize
  4907.       Dim session As New LCSession
  4908.       Dim field As New LCField (LCTYPE_INT)
  4909.       Dim Code As Long
  4910.       Dim text As String
  4911.       Call session.ListConnector (LCLIST_FIRST, , Code)
  4912.       Call field.SetVirtualCode (Code)
  4913.       While session.ListConnector (LCLIST_NEXT, , Code)
  4914.         Call field.SetVirtualCode (Code)
  4915.       Wend
  4916.       ' use the value to clear an individual connector's virtual code
  4917.       ' use 'zero' to clear all connectors' virtual codes
  4918.       Call field.ClearVirtualcode (0)
  4919.       Print "All of the virtual codes have been cleared."
  4920.     End Sub
  4921. Example Output
  4922.     All of the virtual codes have been cleared.
  4923. &Arial
  4924. Compares data values between two fields and returns the relationship.
  4925. Result 
  4926. thisField
  4927. Compare
  4928. (thisIndex,
  4929. baseField, baseIndex,
  4930. valueCount, compareFlags)
  4931. Parameters
  4932.     1S2S
  4933. thisIndex
  4934.     Long. Index identifying the first value to be compared from 
  4935. thisField
  4936. baseField    
  4937. LCField. Base field for comparison. 
  4938. baseIndex
  4939.     Long. Index identifying the first base value in 
  4940. baseField
  4941. valueCount    
  4942. Long. Number of field values to be compared. Starting at the indicated index in each field, ValueCount consecutive fields from each fieldlist will be compared until all are compared or until there is a mismatch.
  4943. compareFlags
  4944.     Long. Zero or more of the following values, OR-ed together:
  4945. LCCOMPAREF_NO_ZONE
  4946. Do not consider timezone or daylight savings time information in datetime comparisons.
  4947. LCCOMPAREF _SECOND
  4948. Do not consider fractions of seconds in datetime comparisons.
  4949. LCCOMPAREF_FLOAT_PREC
  4950. Compare floating point values to only ten digits of precision.
  4951. In addition, the following composite flag is supplied:
  4952. LCCOMPAREF_LOW_PREC
  4953. Composite of all low-precision LCCOMPAREF flags.
  4954. Returns
  4955.     1S2S
  4956. Result
  4957.     Result of the comparison:
  4958. Result
  4959.  > 0 (positive): The first mismatch that the function encountered in 
  4960. thisField
  4961.  is greater than the corresponding value in 
  4962. baseField. 
  4963. Result
  4964.  < 0 (negative): The first mismatch that the function encountered in 
  4965. thisField
  4966.  is less than the corresponding value in 
  4967. baseField. 
  4968. Result
  4969.  = 0: Each compared value in 
  4970. thisField
  4971.  is equal to the corresponding value in 
  4972. baseField.
  4973. Example
  4974.     1S2S
  4975.     Option Public
  4976.     Uselsx "*lsxlc"
  4977.     Sub Initialize
  4978.       Dim field1 As New LCField (LCTYPE_INT, 3)
  4979.       Dim field2 As New LCField (LCTYPE_INT, 2)
  4980.       Call field1.SetInt (1, 100)
  4981.       Call field1.SetInt (2, 300)
  4982.       Call field1.SetInt (3, 400)
  4983.       Call field2.SetInt (1, 300)
  4984.       Call field2.SetInt (2, 400)
  4985.       If (field1.Compare(2, field2, 1, 2, 0) <> 0) Then
  4986.         Print "the 2nd and 3rd values of field1 " & _
  4987.         "do not match the 1st and 2nd values of field2."
  4988.       Else
  4989.         Print "the 2nd and 3rd values of field1 " & _
  4990.         "match the 1st and 2nd values of field2."
  4991.       End If
  4992.     End Sub
  4993. Example Output
  4994.     the 2nd and 3rd values of field1 match the 1st and 2nd values of field2.
  4995. &Arial
  4996. This method converts data values to the data type of a destination field.  
  4997. Call 
  4998. thisField
  4999. Convert
  5000. (thisIndex, srcField, srcIndex, valueCount)
  5001. Parameters
  5002.     1S2S
  5003. thisIndex
  5004.     Long. Index identifying the first target data value in 
  5005. thisField
  5006. srcField
  5007.     LCField. Source field for the data values. Values will be converted to the data type of t
  5008. hisField
  5009. srcIndex
  5010.     Long. Index identifying the first source data value to be converted in 
  5011. SrcField
  5012. valueCount    
  5013. Long. Number of field values to be converted. If the end of either field is encountered before converting this number of data values, then the function stops at that point. 
  5014. Example
  5015.     1S2S
  5016.     Option Public
  5017.     Uselsx "*lsxlc"
  5018.     Sub Initialize
  5019.       Dim f_field As New LCField (LCTYPE_FLOAT)
  5020.       Dim c_field As New LCField (LCTYPE_CURRENCY)
  5021.       f_field.value = 12345.123456789
  5022.       Call c_field.Convert (1, f_field, 1, 1)
  5023.       Print "The float field is " & f_field.text(0) & " and it was "
  5024.       Print "converted to a currency field as " & c_field.text(0)
  5025.     End Sub
  5026. Example Output
  5027.     The float field is 12345.123456789 and it was 
  5028.     converted to a currency field as 12345.1235
  5029. &Arial
  5030. This method creates a field
  5031. with the settings and values of a source field. The new field contains the same number of data values of the same data type as the source field.  The new values are copies of, rather than references to, the original data. 
  5032. newField = origField.
  5033. Parameters
  5034.     1S2S
  5035. origField
  5036.     LCField.  The field object that you want to copy. 
  5037. Returns
  5038.     1S2S
  5039. newField
  5040.     LCField.  The copy of the original field. 
  5041. Example
  5042.     1S2S
  5043.     Option Public
  5044.     Uselsx "*lsxlc"
  5045.     Sub Initialize
  5046.       Dim field As New LCField (LCTYPE_FLOAT)
  5047.       Dim c_field As LCField
  5048.       field.value = 12345.123456789
  5049.       Set c_field = field.Copy
  5050.       Print "The float field is " & field.text(0)
  5051.       Print "and its copy is " & c_field.text(0)
  5052.     End Sub
  5053. Example Output
  5054.     The float field is 12345.123456789
  5055.     and its copy is 12345.123456789
  5056. &Arial
  5057. This method retrieves a Currency data type from a value in a field. If the requested data type is different from the field data type, conversion is automatically performed.
  5058. newCurrency 
  5059. lcField.
  5060. GetCurrency
  5061. (index)
  5062. Parameters
  5063.     1S2S
  5064. index    
  5065. Long. Index identifying the field data value to be retrieved.
  5066. Returns
  5067.     1S2S
  5068. newCurrency
  5069.     The value of the retrieved data type. 
  5070. Example
  5071.     1S2S
  5072.     Option Public
  5073.     Uselsx "*lsxlc"
  5074.     Sub Initialize
  5075.       Dim Fld As New LCField (LCTYPE_TEXT)
  5076.       Fld.Text = "1234.56789"
  5077.       Dim vCurr As LCCurrency
  5078.       Set vCurr = Fld.GetCurrency (1)
  5079.       Print "The Currency representation of the field is " & vCurr.Text
  5080.     End Sub
  5081. Example Output
  5082.     The Currency representation of the field is 1234.5678
  5083. &Arial
  5084. This method retrieves a Datetime data type from a value in a field. If the requested data type is different from the field data type, conversion is automatically performed.
  5085. newDatetime = lcField.
  5086. GetDatetime
  5087. (index)
  5088. Parameters
  5089.     1S2S
  5090. index    
  5091. Long. Index identifying the field data value to be retrieved. 
  5092. Returns
  5093.     1S2S
  5094. newDatetime
  5095.     The value of the retrieved data type. 
  5096. Example
  5097.     1S2S
  5098.     Option Public
  5099.     Uselsx "*lsxlc"
  5100.     Sub Initialize
  5101.       Dim Fld As New LCField (LCTYPE_TEXT)
  5102.       Fld.Text = "1234.56789"
  5103.       Dim vDate As LCDateTime
  5104.       Fld.Text = "10/12/1998"
  5105.       Set vDate = Fld.GetDatetime (1)
  5106.       Print "The Datetime representation of the field is " & vDate.Text
  5107.     End Sub
  5108. Example Output
  5109.     The Datetime representation of the field is 10/12/1998
  5110. &Arial
  5111. This method retrieves a fieldlist from a field.  The resulting fieldlist is a reference to the original inside the field.  If the actual field data type is different, an LCFAIL_INVALID_CONVERT error will occur.  
  5112. newFieldList = lcField.
  5113. GetFieldList
  5114. (index)
  5115. Parameters
  5116.     1S2S
  5117. index    
  5118. Long. Index identifying the field data value to be retrieved.
  5119. Returns
  5120.     1S2S
  5121. newFieldList
  5122.     The value of the retrieved data type. 
  5123. Example
  5124.     1S2S
  5125.     Option Public
  5126.     Option Explicit
  5127.     Uselsx "*lsxlc"
  5128.     Sub Initialize
  5129.       Dim Record As New LCFieldlist
  5130.       Dim SubRecord As New LCFieldlist
  5131.       Dim field As LCField
  5132.       REM start building FieldList
  5133.       Set field = Record.Append ("group", LCTYPE_INT)
  5134.       field.Value = 4200
  5135.       REM Build SubFieldList
  5136.       Set field = SubRecord.Append ("category", LCTYPE_TEXT)
  5137.       field.Value = "potato"
  5138.       Set field = SubRecord.Append ("description", LCTYPE_TEXT)
  5139.       field.Value = "russet"
  5140.       Set field = SubRecord.Append ("sku", LCTYPE_INT)
  5141.       field.Value = 4207
  5142.       REM return to building the FieldList
  5143.       Set field = Record.Append ("item", LCTYPE_FIELDLIST)
  5144.       REM now assign the SubRecord to the Record
  5145.       Call field.SetFieldList (1, SubRecord)
  5146.       Delete SubRecord
  5147.       Set SubRecord = field.getFieldList (1)
  5148.       Print "The first field of the field's fieldlist is " & SubRecord.Names(0)
  5149.     End Sub
  5150. Example Output
  5151.     The first field of the field's fieldlist is category
  5152. &Arial
  5153. This method retrieves a LotusScript double data type from a value in a field. If the requested data type is different from the field data type, conversion is automatically performed.
  5154.  newFloat = lcField.
  5155. GetFloat
  5156. (index)
  5157. Parameters
  5158.     1S2S
  5159. index    
  5160. Long. Index identifying the field data value to be retrieved.
  5161. Returns
  5162.     1S2S
  5163. newFloat
  5164.     The value of the retrieved data type. 
  5165. Example
  5166.     1S2S
  5167.     Option Public
  5168.     Uselsx "*lsxlc"
  5169.     Sub Initialize
  5170.       Dim Fld As New LCField (LCTYPE_TEXT)
  5171.       Fld.Text = "1234.56789"
  5172.       Dim vFloat As Double
  5173.       vFloat = Fld.GetFloat (1)
  5174.       Print "The Float representation of the field is " & vFloat
  5175.     End Sub
  5176. Example Output
  5177.     The Float representation of the field is 1234.56789
  5178. &Arial
  5179. This method retrieves the format of a Datetime type field. It is only valid for fields of type Datetime.  
  5180. Use the LCField.SetFormatDatetime method to assign stream format information. Refer to the Field Format section for a description of format values.
  5181. Call 
  5182. thisField.
  5183. GetFormatDatetime
  5184. (dateTimeFlags, size)
  5185. Parameters
  5186.     1S2S
  5187. dateTimeFlags
  5188.     Long.  Optional.  Datetime flags of the field. Refer to the Field Format Datetime section for a description of the flags.  
  5189.     Long.  Optional.  Size in bytes of the datetime field. Zero indicates the size of an a Lotus Connector Datetime (8 bytes). 
  5190. Example
  5191.     1S2S
  5192.     Option Public
  5193.     Uselsx "*lsxlc"
  5194.     Sub Initialize
  5195.       Dim field As New LCField (LCTYPE_DATETIME, 1)
  5196.       Dim flags As Long
  5197.       Dim size As Long
  5198.       Call field.SetFormatDatetime (LCDATETIMEF_NO_TIME, 0)
  5199.       Call field.GetFormatDateTime (flags, size)
  5200.       Print "The datetime format flag setting is " & Hex(flags) & "h"
  5201.     End Sub
  5202. Example Output
  5203.     The datetime format flag setting is 2h
  5204. &Arial
  5205. This method retrieves the format of a number type field.  It is only valid for fields of type int, currency, float or numeric.  
  5206. Use the LCField.SetFormatNumber method to assign stream format information. Refer to the Field Format section for a description of format values.
  5207. Call 
  5208. thisField.
  5209. GetFormatNumber
  5210. (numberFlags, size, precision, scale)
  5211. Parameters
  5212.     1S2S
  5213. numberFlags
  5214.     Long.  Optional.  Number flags of the number field. Refer to the Field Number Format section for a description of the flags.  The default is Nothing. 
  5215.     Long.  Optional.  Size in bytes of the number field. Zero indicates the size of the corresponding number object (LONG, DOUBLE, LCCURRENCY, or LCNUMERIC). The default is Nothing.
  5216. precision
  5217.     Long.  Optional.  Precision of the number field. Zero indicates not used for this field.  The default is Nothing.
  5218. scale
  5219.     Long.  Optional.  Scale of the number field. Zero indicates not used for this field. Since zero is also a valid scale value, a constant LCSCALE_ZERO is defined which can be used to indicate a zero scale. The default is Nothing.
  5220. Example
  5221.     1S2S
  5222.     Option Public
  5223.     Uselsx "*lsxlc"
  5224.     Sub Initialize
  5225.       Dim field As New LCField (LCTYPE_NUMERIC)
  5226.       Dim flags As Long
  5227.       Call field.SetFormatNumber (LCNUMBERF_UNSIGNED, , 10, 4)
  5228.       Call field.GetFormatNumber (flags)
  5229.       Print "The number flag setting is " & Hex(flags) & "h"
  5230.     End Sub
  5231. Example Output
  5232.     The number flag setting is 1h
  5233. &Arial
  5234. This method retrieves the format of a stream type field.  It is only valid for fields of type text or binary.  
  5235. Use the LCField.SetFormatStream method to assign stream format information. Refer to the Field Format section for a description of format values.
  5236. Call 
  5237. thisField.
  5238. GetFormatStream
  5239. (streamFlags, maxLength, streamFormat)
  5240. Parameters
  5241.     1S2S
  5242. streamFlags
  5243.     Long.  Optional.  Stream flags for the field. Refer to the Stream Class section for a description of the flags. The default is Nothing.
  5244. maxLength
  5245.     Long.  Optional.  Maximum length of the stream field. A value of zero indicates no maximum length. The default is Nothing.
  5246. streamFormat
  5247.     Long.  Optional.  Stream format of the stream field. A value of zero indicates no specified stream format. The default is Nothing.
  5248. Example
  5249.     1S2S
  5250.     Option Public
  5251.     Uselsx "*lsxlc"
  5252.     Sub Initialize
  5253.       Dim field As New LCField (LCTYPE_BINARY)
  5254.       Dim fmt As Long
  5255.       Dim flags As Long
  5256.       Call field.SetFormatStream (LCSTREAMF_NO_CASE, 256, LCSTREAMFMT_BIG5)
  5257.       Call field.GetFormatStream (flags, , fmt)
  5258.       Print "The stream format and flag settings are:"
  5259.       Print "format=" & fmt & " flags=" & Hex(flags) & "h"
  5260.     End Sub
  5261. Example Output
  5262.     The stream format and flag settings are:
  5263.     format=26 flags=10h
  5264. &Arial
  5265. This method retrieves an integer from a value in a field.  If the requested data type is different from the field data type, conversion is automatically performed.  
  5266.  newInt = thisField.
  5267. GetInt
  5268. (index)
  5269. Parameters
  5270.     1S2S
  5271. index    
  5272. Long. Index identifying the field data value to be retrieved.
  5273. Returns
  5274.     1S2S
  5275. newInt
  5276.     The value of the retrieved data type. 
  5277. Example
  5278.     1S2S
  5279.     Option Public
  5280.     Uselsx "*lsxlc"
  5281.     Sub Initialize
  5282.       Dim Fld As New LCField (LCTYPE_TEXT)
  5283.       Fld.Text = "1234.56789"
  5284.       Dim vInt As Long
  5285.       vInt = Fld.GetInt (1)
  5286.       Print "The Int representation of the field is " & vInt
  5287.     End Sub
  5288. Example Output
  5289.     The Int representation of the field is 1234
  5290. &Arial
  5291. This method retrieves a numeric value from a value in a field.  If the requested data type is different from the field data type, conversion is automatically performed.
  5292.  newNumeric = thisField.
  5293. GetNumeric
  5294. (index)
  5295. Parameters
  5296.     1S2S
  5297. index    
  5298. Long. Index identifying the field data value to be retrieved.
  5299. Returns
  5300.     1S2S
  5301. newNumeric
  5302.     The value of the retrieved data type. 
  5303. Example
  5304.     1S2S
  5305.     Option Public
  5306.     Uselsx "*lsxlc"
  5307.     Sub Initialize
  5308.       Dim Fld As New LCField (LCTYPE_TEXT)
  5309.       Fld.Text = "1234.56789"
  5310.       Dim vNumr As LCNumeric
  5311.       Set vNumr = Fld.GetNumeric (1)
  5312.       Print "The Numeric representation of the field is " & vNumr.Text
  5313.     End Sub
  5314. Example Output
  5315.     The Numeric representation of the field is 1234.56789
  5316. &Arial
  5317. This method retrieves a stream value from a field.  If the requested data type is different from the field data type, conversion is automatically performed.  
  5318.  newStream = thisField.
  5319. GetStream 
  5320. (index, streamFormat)
  5321. Parameters
  5322.     1S2S
  5323. index
  5324.     Long.  Index identifying the field data value to be retrieved.
  5325. streamFormat
  5326.     Long.  Stream format to obtain the data in. Any valid stream format is allowed. In addition, a value of zero will either use the stream format of the field (if 
  5327. thisField
  5328.  is TEXT or BINARY), or convert to native text format LCSTREAMFMT_NATIVE (if 
  5329. thisField
  5330.  is not a local type). 
  5331. Returns
  5332.     1S2S
  5333. newStream
  5334.     The value of the retrieved data type. 
  5335. Example
  5336.     1S2S
  5337.     Option Public
  5338.     Uselsx "*lsxlc"
  5339.     Sub Initialize
  5340.       Dim Fld As New LCField (LCTYPE_TEXT)
  5341.       Fld.Text = "1234.56789"
  5342.       Dim vStrm As LCStream
  5343.       Set vStrm = Fld.GetStream (1, LCSTREAMFMT_ASCII)
  5344.       Print "The Stream representation of the field is " & vStrm.Text
  5345.     End Sub
  5346. Example Output
  5347.     The Stream representation of the field is 1234.56789
  5348. &Arial
  5349. This method checks if a specific VirtualCode has been set for a field.  
  5350. Flag = field.
  5351. LookupVirtualCode
  5352. (virtualCode)
  5353. Parameters
  5354.     1S2S
  5355. virtualCode
  5356.     The virtual code to look for on the list of codes for this field.  
  5357. Returns
  5358.     1S2S
  5359.     TRUE if this virtual code is set for the field; FALSE otherwise. 
  5360. Example
  5361.     1S2S
  5362.     Option Public
  5363.     Uselsx "*lsxlc"
  5364.     Sub Initialize
  5365.       Dim session As New LCSession
  5366.       Dim field As New LCField (LCTYPE_INT)
  5367.       Dim Code As Long
  5368.       Dim text As String
  5369.       Call session.ListConnector (LCLIST_FIRST, , Code)
  5370.       Call field.SetVirtualCode (Code)
  5371.       While session.ListConnector (LCLIST_NEXT, , Code)
  5372.         Call field.SetVirtualCode (Code)
  5373.       Wend
  5374.       If (field.LookupVirtualCode (&H10000)) Then
  5375.         Print "The field has virtual code 10000h set."
  5376.       Else
  5377.         Print "The field does not have virtual code 10000h set."
  5378.       End If
  5379.     End Sub
  5380. Example Output
  5381.     The field has virtual code 10000h set.
  5382. &Arial
  5383. This method assigns the currency value to the specified data index of the field.  If the field data type is different, conversion will be attempted.  
  5384. Call 
  5385. thisField.
  5386. SetCurrency
  5387. (index, srcCurrency)
  5388. Parameters
  5389.     1S2S
  5390. index    
  5391. Long. Index identifying the value that is to be assigned.
  5392. srcCurrency    
  5393. LCCurrency
  5394. Value to be assigned to the field data value.
  5395. Example
  5396.     1S2S
  5397.     Option Public
  5398.     Uselsx "*lsxlc"
  5399.     Sub Initialize
  5400.       Dim field As New LCField (LCTYPE_TEXT)
  5401.       Dim number As New LCCurrency
  5402.       number.value = 1234567890.1234
  5403.       Call field.SetCurrency (1, number)
  5404.       Print "The field's value is " & field.text(0)
  5405.     End Sub
  5406. Example Output
  5407.     The field's value is 1234567890.1234
  5408. &Arial
  5409. This method assigns the datetime value to the specified index of the field.  If the field data type is different, conversion will be attempted.  
  5410. Call 
  5411. thisField.
  5412. SetDateTime
  5413. (index, srcDateTime)
  5414. Parameters
  5415.     1S2S
  5416. index    
  5417. Long.  Index identifying the value that is to be assigned.
  5418. srcDateTime    
  5419. LCDatetime.  Value to be assigned to the field data value.
  5420. Example
  5421.     1S2S
  5422.     Option Public
  5423.     Uselsx "*lsxlc"
  5424.     Sub Initialize
  5425.       Dim field As New LCField (LCTYPE_TEXT)
  5426.       Dim clock As New LCDatetime
  5427.       clock.SetCurrent
  5428.       Call field.SetDatetime (1, clock)
  5429.       Print "The field's value is " & field.text(0)
  5430.     End Sub
  5431. Example Output
  5432.     The field's value is 09/08/1998 05:22:30.86 PM
  5433. &Arial
  5434. This method assigns the fieldlist value to the specified index of the field. If the field data type is different, an LCFAIL_INVALID CONVERT error will occur.  
  5435. Call 
  5436. thisField.
  5437. SetFieldlist
  5438. (index, srcFieldlist)
  5439. Parameters
  5440.     1S2S
  5441. index    
  5442. Long. Index identifying the value that is to be assigned.
  5443. srcFieldlist    
  5444. LCFieldlist. Value to be assigned to the field data value.
  5445. Example
  5446.     1S2S
  5447.     Option Public
  5448.     Option Explicit
  5449.     Uselsx "*lsxlc"
  5450.     Sub Initialize
  5451.       Dim Record As New LCFieldList
  5452.       Dim SubRecord As New LCFieldList
  5453.       Dim field As LCField
  5454.       REM start building FieldList
  5455.       Set field = Record.Append ("group", LCTYPE_INT)
  5456.       field.Value = 4200
  5457.       REM Build SubFieldList
  5458.       Set field = SubRecord.Append ("category", LCTYPE_TEXT)
  5459.       field.Value = "potato"
  5460.       Set field = SubRecord.Append ("description", LCTYPE_TEXT)
  5461.       field.Value = "russet"
  5462.       Set field = SubRecord.Append ("sku", LCTYPE_INT)
  5463.       field.Value = 4207
  5464.       REM return to building the FieldList
  5465.       Set field = Record.Append ("item", LCTYPE_FIELDLIST)
  5466.       REM now assign the SubRecord to the Record
  5467.       Call field.SetFieldList (1, SubRecord)
  5468.       REM Take a look at the Record while debugging the LotusScript
  5469.       Print "The sub fieldlist has successfully been appended to parent fieldlist as another field."
  5470.     End Sub
  5471. Example Output
  5472.     The sub fieldlist has successfully been appended to parent fieldlist as another field.
  5473. &Arial
  5474. This method assigns a value to a field of type float.  If the field data type is different, conversion will be attempted.
  5475. Call 
  5476. thisField.
  5477. SetFloat
  5478. (index, srcFloat)
  5479. Parameters
  5480.     1S2S
  5481. index    
  5482. Long.  Index identifying the value that is to be assigned.
  5483. srcFloat    
  5484. Double.  Value to be assigned to the field data value.
  5485. Example
  5486.     1S2S
  5487.     Option Public
  5488.     Uselsx "*lsxlc"
  5489.     Sub Initialize
  5490.       Dim field As New LCField (LCTYPE_TEXT)
  5491.       Dim number As Double
  5492.       number = Pi
  5493.       Call field.SetFloat (1, number)
  5494.       Print "The field's value is " & field.text(0)
  5495.     End Sub
  5496. Example Output
  5497.     The field's value is 3.14159265358979
  5498. &Arial
  5499. This method assigns the current format setting for a datetime field.  Calling this method clears all values for this field.  
  5500. Call 
  5501. thisField.
  5502. SetFormatDatetime
  5503. (datetimeFlags, size)
  5504. Parameters
  5505.     1S2S
  5506. datetimeFlags
  5507.     Long.  Optional.  Datetime flags assigned to the field. Refer to the Field Datetime Format section for a description of the flags.  The default is 0. 
  5508. datetimeFlags 
  5509. do not affect the data.  As with the 
  5510. size 
  5511. value, it is only relevant when interacting with the external system.  The flags will have no effect on the conversion of a field's value to or from a stream or text.  
  5512.     Long.  Optional.  Size in bytes assigned to the datetime field. Zero indicates the size of an Lotus Connector Datetime (8 bytes). The default is 0.
  5513. size 
  5514. value is used for metadata creation by data systems which support datetime datatypes of different sizes. For systems which support only a single datatime datatype, the value of 
  5515. size 
  5516. is ignored. The default value for 
  5517. size 
  5518. is zero.  
  5519. For example, Sybase supports both a 4 byte datetime as well as an 
  5520.  byte version. When building up a fieldlist that will be used to create a Sybase table (see LCConnection.Create for an example), use the SetFormatDatetime method to indicate which size datetime datatype should be used.  
  5521. Example
  5522.     1S2S
  5523.     Option Public
  5524.     Uselsx "*lsxlc"
  5525.     Sub Initialize
  5526.       Dim field As New LCField (LCTYPE_DATETIME, 1)
  5527.       Dim flags As Long
  5528.       Dim size As Long
  5529.       Call field.SetFormatDatetime (LCDATETIMEF_NO_TIME, 0)
  5530.       Call field.GetFormatDateTime (flags, size)
  5531.       Print "The datetime format flag setting is " & Hex(flags) & "h"
  5532.     End Sub
  5533. Example Output
  5534.     The datetime format flag setting is 2h
  5535. &Arial
  5536. This method assigns the current format setting for a number field. Calling this method clears all values for this field.
  5537. Call 
  5538. thisField.
  5539. SetFormatNumber 
  5540. (numberFlags, size, precision, scale)
  5541. Parameters
  5542.     1S2S
  5543. numberFlags
  5544.     Long.  Optional.  Number flags assigned to the number field. Refer to the Field Number Format section for a description of the flags.  The default is 0.  
  5545.     Long.  Optional.  Size in bytes assigned to the number field. Zero indicates the size of the corresponding number object (LONG, DOUBLE, LCCURRENCY, or LCNUMERIC). The default is 0.
  5546. precision
  5547.     Long.  Optional.  Precision assigned to the number field. Zero indicates not used for this field.  The default is LCMAX_NUMERIC_PREC.  
  5548. scale
  5549.     Long.  Optional.  Scale assigned to the number field. Zero indicates not used for this field. Since zero is also a valid scale value, a constant LCSCALE_ZERO is defined which can be used to indicate a zero scale.  The default is LCMAX_NUMERIC_PREC / 2. 
  5550. Example
  5551.     1S2S
  5552.     Option Public
  5553.     Uselsx "*lsxlc"
  5554.     Sub Initialize
  5555.       Dim field As New LCField (LCTYPE_NUMERIC)
  5556.       Dim flags As Long
  5557.       Call field.SetFormatNumber (LCNUMBERF_UNSIGNED, , 10, 4)
  5558.       Call field.GetFormatNumber (flags)
  5559.       Print "The number flag setting is " & Hex(flags) & "h"
  5560.     End Sub
  5561. Example Output
  5562.     The number flag setting is 1h
  5563. &Arial
  5564. This method assigns the current format setting for a stream field.  Calling this method clears all values for this field.
  5565. Call 
  5566. thisField.
  5567. SetFormatStream
  5568. (streamFlags, maxLength, streamFormat)
  5569. Parameters
  5570.     1S2S
  5571. streamFlags
  5572.     Long.  Optional  Stream flags assigned to the field. Refer to the Stream Class section for a description of the flags. The default is 0.  
  5573. maxLength
  5574.     Long.  Optional  Maximum length assigned to the stream field. A value of zero indicates no maximum length.  The default is 0. 
  5575. streamFormat
  5576.     Long.  Optional Stream format assigned to the stream field. A value of zero indicates no specified stream format.  The default is LCSTREAMFMT_UNICODE.  
  5577. Example
  5578.     1S2S
  5579.     Option Public
  5580.     Uselsx "*lsxlc"
  5581.     Sub Initialize
  5582.       Dim field As New LCField (LCTYPE_BINARY)
  5583.       Dim fmt As Long
  5584.       Dim flags As Long
  5585.       Call field.SetFormatStream (LCSTREAMF_NO_CASE, 256, LCSTREAMFMT_BIG5)
  5586.       Call field.GetFormatStream (flags, , fmt)
  5587.       Print "The stream format and flag settings are:  format=" & fmt & " flags=" & Hex(flags) & "h"
  5588.     End Sub
  5589. Example Output
  5590.     The stream format and flag settings are:  format=26 flags=10h
  5591. &Arial
  5592. This method assigns a value to a field of type long.  If the requested data type is different from the field data type, conversion is automatically performed.
  5593. Call 
  5594. thisField.
  5595. SetInt 
  5596. (index, srcInt)
  5597. Parameters
  5598.     1S2S
  5599. index    
  5600. Long. Index identifying the value that is to be assigned.
  5601. srcInt    
  5602. Long. Value to be assigned to the field data value.
  5603. Example
  5604.     1S2S
  5605.     Option Public
  5606.     Uselsx "*lsxlc"
  5607.     Sub Initialize
  5608.       Dim field As New LCField (LCTYPE_TEXT)
  5609.       Dim number As Long
  5610.       number = Pi
  5611.       Call field.SetInt (1, number)
  5612.       Print "The field's value is " & field.text(0)
  5613.     End Sub
  5614. Example Output
  5615.     The field's value is 3
  5616. &Arial
  5617. This method assigns a value to a field of type LCNumeric.  If the requested data type is different from the field data type, conversion is automatically performed.
  5618. Call 
  5619. thisField.
  5620. SetNumeric
  5621. (index, srcNumeric)
  5622. Parameters
  5623.     1S2S
  5624. index    
  5625. Long. Index identifying the value that is to be assigned.
  5626. srcNumeric    
  5627. LCNumeric. Value to be assigned to the field data value.
  5628. Example
  5629.     1S2S
  5630.     Option Public
  5631.     Uselsx "*lsxlc"
  5632.     Sub Initialize
  5633.       Dim field As New LCField (LCTYPE_TEXT)
  5634.       Dim number As New LCNumeric
  5635.       number.value = 1234567890.12345678
  5636.       Call field.SetNumeric (1, number)
  5637.       Print "The field's value is " & field.text(0)
  5638.     End Sub
  5639. Example Output
  5640.     The field's value is 1234567890.12346
  5641. &Arial
  5642. This method assigns a value to a field of type LCStream (text or binary).  If the requested data type is different from the field data type, conversion is automatically performed.
  5643. Call 
  5644. thisfield.
  5645. SetStream
  5646. (index, srcStream)
  5647. Parameters
  5648.     1S2S
  5649. index    
  5650. Long. Index identifying the value that is to be assigned.
  5651. srcStream    
  5652. LCStream. Value to be assigned to the field data value.
  5653. Example
  5654.     1S2S
  5655.     Option Public
  5656.     Uselsx "*lsxlc"
  5657.     Sub Initialize
  5658.       Dim field As New LCField (LCTYPE_TEXT)
  5659.       Dim msg As New LCStream
  5660.       msg.Text = "Hello World"
  5661.       Call field.SetStream (1, msg)
  5662.       Print "The field's value is " & field.text(0)
  5663.     End Sub
  5664. Example Output
  5665.     The field's value is Hello World
  5666. &Arial
  5667. This method adds a virtual code to the list of virtual codes for a field.  
  5668. Call 
  5669. thisField.
  5670. SetVirtualCode
  5671. (virtualCode)
  5672. Parameters
  5673.     1S2S
  5674. virtualCode
  5675.     Long.  VirtualCode value to assign to 
  5676. thisField
  5677. Example
  5678.     1S2S
  5679.     Option Public
  5680.     Uselsx "*lsxlc"
  5681.     Sub Initialize
  5682.       Dim session As New LCSession
  5683.       Dim field As New LCField (LCTYPE_INT)
  5684.       Dim Code As Long
  5685.       Dim text As String
  5686.       Call session.ListConnector (LCLIST_FIRST, , Code)
  5687.       Call field.SetVirtualCode (Code)
  5688.       text = Hex(Code) & "h"
  5689.       While session.ListConnector (LCLIST_NEXT, , Code)
  5690.         Call field.SetVirtualCode (Code)
  5691.         text = text & ", " & Hex(Code) & "h"
  5692.       Wend
  5693.       Print "The field virtual codes (one per connector) are " & text
  5694.     End Sub
  5695. Example Output
  5696.     The field virtual codes (one per connector) are 10000h, 20000h, 30000h, 40000h, 50000h
  5697. &Arial
  5698. This chapter provides information about the LCFieldlist class methods and properties.  
  5699. Overview
  5700. The LCFieldlist class represents metadata (the description of data from a data source) for a record and may reference data, in the form of LCFields, for one or more record values. A fieldlist is a list of fields and field names with a represented order. Fields within a fieldlist can be added, modified, retrieved, or listed in multiple ways. The fields, field names, and order are separate entities and only have relation within an individual fieldlist.  
  5701. Note that many situations exist where the names or order must be changed to accommodate different connections, but the data needs to remain constant. In these cases, more than one fieldlist may be created, each referenced by the same fields using the Map, MapName, or Merge methods.
  5702. Accessing Field Data
  5703. Field data within an LCFieldlist object may be accessed as a property by name. The datatype of the property depends on the dataype of the field.  The property is an array of LotusScript datatypes, as shown in the table below.  For example, if a 
  5704. ieldlist has a field named OrderID, its 
  5705. irst value may be obtained with the script: 
  5706. Identification = LCFieldlist.OrderID(0). 
  5707. Likewise the field may be set with the syntax: 
  5708. LCFieldlist.OrderID = "Bart-001".
  5709. The LCFieldlist object may contain one or more values for each field contained within, depending on the parameters to the constructor. If the object is constructed for more than a single value, subsequent values may be accessed through the field names by changing the subscript.  Multiple values may be set by assigning an array.   
  5710.     Field Type
  5711.     Value Return Type
  5712.     LCTYPE_CURRENCY
  5713.     Currency
  5714.     LCTYPE_DATETIME
  5715.     Variant (Date/Time)
  5716.     LCTYPE_INT
  5717.     Long
  5718.     LCTYPE_FLOAT
  5719.     Double
  5720.     LCTYPE_NUMERIC
  5721.     Double
  5722.     LCTYPE_TEXT
  5723.     String
  5724.     LCTYPE_BINARY
  5725.     String
  5726. Fieldlist Merging
  5727. Fieldlist merging with LCFieldlistMerge and LCFieldlistMergeVirtual support field mapping.  To perform mapping, two fieldlists are provided, one as the name source and the other as the field/data source.  Depending on merge options, a mapping is produced between the names of the name source and the fields of the data source, and a third fieldlist is produced which references parts of the original fieldlists.  When using virtual fields and LCFieldlistMergeVirtual, fields in the data fieldlist which match the supplied virtual code are excluded from mapping and are added to a separate new virtual fieldlist. 
  5728. Mapping and Merging
  5729. When a fieldlist is to be used for more than one specific action, there is often a need to have it treated differently by each of those actions.  For example, fields in a fieldlist map need to be reordered, renamed, or removed, but only in the context of one particular operation.  For such situations, four methods are provided to perform this mapping:  Map, MapName, Merge, and MergeVirtual.  MergeVirtual is simply a variation of Merge which handles virtual codes as well. These methods produce a new fieldlist from an existing fieldlist, but with the same fields referenced from both fieldlists, allowing two different 'maps' into a set of fields.  If these two fieldlists are sent to different Connector methods, then the Connectors will see different sets of fields in a different order, but referring to the same data and common fields. 
  5730. The three methods Map, MapName, and Merge have various levels of difficulty and control available to the caller; which one is needed depends on the specific situation.  In general, the simplest method which supports your requirements should be used.  These methods are listed below, starting with the simplest:
  5731. Map is applicable when the names in the fieldlist are correct, but fields either need to be reordered or removed. It accepts a fieldlist and a text list of names, and the new fieldlist contains the fields from the original fieldlist reordered in the order they are listed in the text list. In addition, any fields not included in the text list are excluded from the new fieldlist.  
  5732. MapName adds renaming of fields to Map, but is otherwise identical.  By adding a second text list of names, it will rename each field in the first text list with the corresponding entry in the second text list. 
  5733. Merge accepts two fieldlists - one which provides the list of fields, and one which provides the list of names.  In addition, it accepts a set of flags which further control the new fieldlist produced.  These flags control the type of mapping, whether to allow fields to be excluded from either fieldlist, and how to interact with specific field flags.  Merge should only be used when the functionality of Map and MapName is insufficient for your needs, as it is much more complex to use.
  5734. LCFieldlist Class Methods Summary
  5735.     Creation
  5736. The following methods create and free Fieldlist instances. The Fieldlist Merging methods also create new fieldlists.
  5737. New LCFieldlist    (Constructor) Creates a new Fieldlist object instance.
  5738. LCFieldlist.Copy    Creates a new Fieldlist object instance as a copy of another fieldlist. The field data is also copied.
  5739. LCFieldlist.CopyRef    Creates a new Fieldlist object instance as a partial copy of another fieldlist. The contained fields are not copied, but are rather referenced.
  5740. Delete LCFieldlist    (Destructor) Frees a Fieldlist object instance created with the constructor, LCFieldlist.Copy, LCFieldlist.CopyRef, LCFieldlist.Merge, or LCFieldlist.MergeVirtual. 
  5741. Fieldlist Retrieval
  5742. The following methods support retrieval of fieldlist contents.
  5743. LCFieldlist.GetField    Retrieves a particular field from a fieldlist by field index.
  5744. LCFieldlist.GetName    Retrieves a copy of a field name from a fieldlist by field index.
  5745. LCFieldlist.Lookup    Locates a field in a fieldlist by field name.
  5746. Fieldlist Modification
  5747. The following methods support modification of fieldlist contents.
  5748. LCFieldlist.Append    Adds a new field to the end of a fieldlist.
  5749. LCFieldlist.Insert    Inserts a new field into a fieldlist.
  5750. LCFieldlist.Replace    Replaces a field in a fieldlist with a new field.
  5751. LCFieldlist.Remove    Removes a field from a fieldlist
  5752. LCFieldlist.SetName    Renames a field within a fieldlist.
  5753. Fieldlist Merging
  5754. The following methods support fieldlist merging.
  5755. LCFieldlist.Merge    Merges a name fieldlist and data fieldlist to produce a mapped fieldlist.
  5756. LCFieldlist.MergeVirtual    Merges a name fieldlist and data fieldlist to produce a mapped fieldlist. Fields with matching virtual codes are added to a new virtual fieldlist.
  5757. Fieldlist Mapping
  5758. LCFieldlist.Map    Maps fields with the same names but changes the positions and can exclude some fields.  
  5759. LCFieldlist.MapName    Maps fields with different names.  
  5760. LCFieldlist Properties
  5761. FieldCount    Number of fields in the fieldlist. [Read-Only]
  5762. Fields As Variant    An array of LCFields. [Read-Only]
  5763. Names As Variant    An array of strings.  
  5764. RecordCount As Long     Number of records per field. [Read-Only]
  5765. Sequence As Long    A fieldlist sequence number. [Read-Only]
  5766. All other properties are dynamic.  Field data may be accessed by referencing the field name. 
  5767. &Arial
  5768. This method appends a field to an existing fieldlist. 
  5769. field 
  5770. fieldlist.
  5771. Append
  5772. (fieldName, dataType)
  5773. Parameters
  5774.     1S2S
  5775. fieldName
  5776.     String.  The name for the field.  
  5777. dataType
  5778.     Long.  The constant for the datatype.  One of the following:  
  5779. LCTYPE_INT
  5780. LCTYPE_FLOAT
  5781. LCTYPE_CURRENCY
  5782. LCTYPE_NUMERIC
  5783. LCTYPE_DATETIME
  5784. LCTYPE_TEXT
  5785. LCTYPE_BINARY
  5786.     LCTYPE_FIELDLIST
  5787.     LCTYPE_CONNECTION
  5788. Example
  5789.     1S2S
  5790.     Option Public
  5791.     Option Explicit
  5792.     Uselsx "*lsxlc"
  5793.     Sub Initialize
  5794.       REM this example copies a DB2 table
  5795.       Dim src As New LCConnection ("db2")  
  5796.       Dim fldLstRecord As New LCFieldList
  5797.       Dim fld As LCField
  5798.       REM build the table definition
  5799.       Call FldLstRecord.Append ("ACCOUNTMANAGER", LCTYPE_INT)
  5800.       Call FldLstRecord.Append ("CONTACTNAME", LCTYPE_TEXT)
  5801.       Call FldLstRecord.Append ("COMPANYNAME", LCTYPE_TEXT)
  5802.       REM set properties to connect to both data sources
  5803.       src.Database = "Gold"
  5804.       src.Userid = "JDoe"
  5805.       src.Password = "xyzzy"
  5806.       src.Metadata = "customer"
  5807.       REM now connect
  5808.       src.Connect
  5809.       REM create it based on the metadata property already set above
  5810.       On Error LCFAIL_DUPLICATE Goto tableexists
  5811.       Call src.Create (LCOBJECT_METADATA, fldLstRecord)
  5812.       Print "The '" & src.Metadata & "' table did not exist so it was created."
  5813.       End
  5814.     tableexists:
  5815.       Print "The '" & src.Metadata & "' table exists."
  5816.       End
  5817.     End Sub
  5818. Example Output
  5819.     The 'customer' table exists.
  5820. &Arial
  5821. This method creates a duplicate copy of an LCFieldlist and all its data. 
  5822. fldListRecordNew 
  5823. fldListRecord
  5824. Parameters
  5825.     1S2S
  5826. fldListRecord
  5827.     LCFieldlist.  The fieldlist that you want to copy.  
  5828. Returns
  5829.     1S2S
  5830. fldListRecordNew
  5831.     LCFieldlist.  The copy of the 
  5832. fldListRecord 
  5833. object. 
  5834. Example
  5835.     1S2S
  5836.     Option Public
  5837.     Uselsx "*lsxlc"
  5838.     Sub Initialize
  5839.       Dim olist As New LCFieldlist
  5840.       Dim nlist As LCFieldlist
  5841.       Dim ofield As LCField
  5842.       Set ofield = olist.Append ("FirsName", LCTYPE_TEXT)
  5843.       ofield.Text = "Chi Len"
  5844.       Set nlist = olist.Copy
  5845.       Set nfield = nlist.GetField (1)
  5846.       Call olist.SetName (1, "FullName")
  5847.       ofield.Text = "Cheiko"
  5848.       Print "The copy contains:"
  5849.       Print "field named " & nlist.Names(0) &  " whose value is " & nfield.Text(0)
  5850.     End Sub
  5851. Example Output
  5852.     The copy contains:
  5853.     field named FirsName whose value is Chi Len
  5854. &Arial
  5855. This method copies an exisitng field within a fieldlist at a specified position. 
  5856. newField = fieldList.
  5857. CopyField
  5858. (index, srcField, name)
  5859. Parameters
  5860.     1S2S
  5861. index
  5862.     Long.  Position of the field to copy. 
  5863. srcField
  5864.     LCField.  The source field to copy.
  5865. name    
  5866. String.  The name to give the copy of the field. 
  5867. Returns
  5868.     1S2S
  5869.     String.  The name of the copy of the field. 
  5870. Example
  5871.     1S2S
  5872.     Option Public
  5873.     Option Explicit
  5874.     Uselsx "*lsxlc"
  5875.     Sub Initialize
  5876.       Dim fldLstRecord As New LCFieldList
  5877.       Dim fld As New LCField (LCTYPE_TEXT)
  5878.       Dim ref As LCField
  5879.       Dim text As String
  5880.       ' There are a number of ways to build a fieldlist
  5881.       ' Append will add a field to a list given a type
  5882.       Set ref = FldLstRecord.Append ("ACCOUNTMANAGER", LCTYPE_INT)
  5883.       Set ref = FldLstRecord.Append ("COMPANYID", LCTYPE_INT)
  5884.       ' Insert is like Append but the position within 
  5885.       ' the fieldlist must be specified
  5886.       Set ref = FldLstRecord.Insert (1, "COMPANYADDRESS", LCTYPE_TEXT)
  5887.       ' CopyField will add a field to a list 
  5888.       ' using an existing field as a template
  5889.       fld.Flags = LCFIELDF_KEY
  5890.       Set ref = FldLstRecord.CopyField (1, fld, "CONTACTNAME")
  5891.       ' IncludeField will add an existing field to a list, 
  5892.       ' making it part of the list. in this case, 'fld' 
  5893.       ' becomes a reference into the fieldlist
  5894.       fld.Flags = 0
  5895.       Call FldLstRecord.IncludeField (3, fld, "COMPANYCITY")
  5896.       text = ""
  5897.       Forall fieldname In FldLstRecord.Names
  5898.         If Text = "" Then text = fieldname Else text = text + ", " + fieldname
  5899.       End Forall
  5900.       Print "The field list looks like: " & text
  5901.     End Sub
  5902. Example Output
  5903.     The field list looks like: CONTACTNAME, COMPANYADDRESS, COMPANYCITY, ACCOUNTMANAGER, COMPANYID
  5904. &Arial
  5905. Creates a new fieldlist object instance as a partial copy of another fieldlist. The fields in the original fieldlist are not copied, but are referenced. 
  5906. This method creates a new fieldlist with separate name space but with the same fields and data space as an existing fieldlist. The field names are copied, but the new fieldlist references the original fields. In this situation, any changes to the data of one fieldlist is actually a change to the data for all fieldlists referencing the same data space.  
  5907. To copy a fieldlist's metadata and data, use LCFieldlistCopy.
  5908. fldListRecordNew = fldListRecord
  5909. CopyRef
  5910. Parameters
  5911.     1S2S
  5912. fldListRecord
  5913.     LCFieldlist.  The fieldlist that you want to make a reference copy of.  
  5914. Returns
  5915.     1S2S
  5916. fldListRecordNew
  5917.     LCFieldlist.  The reference copy of the fieldlist. 
  5918. Example
  5919.     1S2S
  5920.     Option Public
  5921.     Uselsx "*lsxlc"
  5922.     Sub Initialize
  5923.       Dim olist As New LCFieldlist
  5924.       Dim nlist As LCFieldlist
  5925.       Dim ofield As LCField
  5926.       Set ofield = olist.Append ("FirsName", LCTYPE_TEXT)
  5927.       ofield.Text = "Chi Len"
  5928.       Set nlist = olist.CopyRef
  5929.       Set nfield = nlist.GetField (1)
  5930.       Call olist.SetName (1, "FullName")
  5931.       ofield.Text = "Cheiko"
  5932.       Print "The copy contains:"
  5933.       Print "field named " & nlist.Names(0) &  " whose value is " & nfield.Text(0)
  5934.     End Sub
  5935. Example Output
  5936.     The copy contains:
  5937.     field named FirsName whose value is Cheiko
  5938. &Arial
  5939. This method gets a field reference from a fieldlist result set and places its value into a variable.  
  5940. field 
  5941. fldLstRecord
  5942. GetField
  5943. index
  5944. Parameters
  5945.     1S2S
  5946. index
  5947.     Long.  Position of the field to be returned.
  5948. Returns
  5949.     1S2S
  5950. field
  5951.     LCField.  The field at the index position in the fieldlist.
  5952. Example
  5953.     1S2S
  5954.     Option Public
  5955.     Uselsx "*lsxlc"
  5956.     Sub Initialize
  5957.       Dim connect As New LCConnection ("db2")  
  5958.       Dim conFldLst As New LCFieldList
  5959.       Dim field As LCField
  5960.       ' this section assigns the appropriate properties to connect to DB2
  5961.       connect.Database = "Gold"
  5962.       connect.Userid = "JDoe"
  5963.       connect.Password = "xyzzy"
  5964.       connect.Metadata = "customer"
  5965.       ' connect to DB2
  5966.       connect.Connect
  5967.       ' now perform the catalog action - in this case for fields
  5968.       If (connect.Catalog (LCOBJECT_FIELD, conFldLst) = 0) Then
  5969.         Print "No tables were found."
  5970.       Else
  5971.         Set field =  conFldLst.GetField(1)
  5972.         Print "The columns in the '" & connect.Metadata & "' table include:"
  5973.         While (connect.Fetch (conFldLst) > 0)
  5974.           Print "     " & field.text(0)
  5975.         Wend
  5976.       End If
  5977.     End Sub
  5978. Example Output
  5979.     The columns in the 'CUSTOMER' table include:
  5980.          ACCOUNTMANAGER
  5981.          CONTACTNAME
  5982.          COMPANYNAME
  5983.          COMPANYADDRESS
  5984.          COMPANYCITY
  5985.          COMPANYSTATE
  5986.          COMPANYPHONE
  5987. &Arial
  5988. This method obtains a copy of the name of a field within a fieldlist. 
  5989. fieldName = fieldListRecord.
  5990. GetName
  5991. (index)
  5992. Parameters
  5993.     1S2S
  5994. fieldListRecord
  5995.     String. The fieldlist from which to retrieve the fieldname.  
  5996. index
  5997.     Long.  The position of the field in the fieldlist. 
  5998. Returns
  5999.     1S2S
  6000. fieldName    
  6001. String.  The name of the field. 
  6002. Example
  6003.     1S2S
  6004.     Option Public
  6005.     Uselsx "*lsxlc"
  6006.     Sub Initialize
  6007.       Dim connect As New LCConnection ("db2")  
  6008.       Dim FldLst As New LCFieldlist
  6009.       Dim field As LCField
  6010.       Dim i As Long
  6011.       ' this section assigns the appropriate properties to connect to DB2
  6012.       connect.Database = "Gold"
  6013.       connect.Userid = "JDoe"
  6014.       connect.Password = "xyzzy"
  6015.       connect.Metadata = "customer"
  6016.       connect.Connect
  6017.       ' now perform the catalog action - in this case for fields
  6018.       If (connect.Select (Nothing, 1, FldLst) = 0) Then
  6019.         Print "The customer table was not found."
  6020.       Else
  6021.         Print "There are " & FldLst.FieldCount & _
  6022.         " columns in the '" & connect.Metadata & "' table."
  6023.         Print "They are:"
  6024.         For i = 1 To FldLst.FieldCount
  6025.           Print Tab(4); FldLst.GetName (i)
  6026.         Next
  6027.       End If
  6028.     End Sub
  6029. Example Output
  6030.     There are 7 columns in the 'customer' table.
  6031.     They are:
  6032.        ACCOUNTMANAGER
  6033.        CONTACTNAME
  6034.        COMPANYNAME
  6035.        COMPANYADDRESS
  6036.        COMPANYCITY
  6037.        COMPANYSTATE
  6038.        COMPANYPHONE
  6039. &Arial
  6040. This method includes an existing individual field into a fieldlist. 
  6041. Call 
  6042. fldLstRecord.
  6043. IncludeField
  6044. (index, field, fieldName)
  6045. Parameters
  6046.     1S2S
  6047. index
  6048.     Long.  Position of the field within 
  6049. fldLstRecord
  6050. field
  6051.     LCField.  The new field. 
  6052. fieldName
  6053.     String.  The name of the new field. 
  6054. Example
  6055.     1S2S
  6056.     Option Public
  6057.     Option Explicit
  6058.     Uselsx "*lsxlc"
  6059.     Sub Initialize
  6060.       Dim fldLstRecord As New LCFieldList
  6061.       Dim fld As New LCField (LCTYPE_TEXT)
  6062.       Dim ref As LCField
  6063.       Dim text As String
  6064.       ' There are a number of ways to build a fieldlist
  6065.       ' Append will add a field to a list given a type
  6066.       Set ref = FldLstRecord.Append ("ACCOUNTMANAGER", LCTYPE_INT)
  6067.       Set ref = FldLstRecord.Append ("COMPANYID", LCTYPE_INT)
  6068.       ' Insert is like Append but the position 
  6069.       ' within the fieldlist must be specified
  6070.       Set ref = FldLstRecord.Insert (1, "COMPANYADDRESS", LCTYPE_TEXT)
  6071.       ' CopyField will add a field to a list 
  6072.       ' using an existing field as a template
  6073.       fld.Flags = LCFIELDF_KEY
  6074.       Set ref = FldLstRecord.CopyField (1, fld, "CONTACTNAME")
  6075.       ' IncludeField will add an existing field to a list, 
  6076.       ' making it part of the list. in this case, 'fld' 
  6077.       ' becomres a reference into the fieldlist
  6078.       fld.Flags = 0
  6079.       Call FldLstRecord.IncludeField (3, fld, "COMPANYCITY")
  6080.       text = ""
  6081.       Forall fieldname In FldLstRecord.Names
  6082.         If Text = "" Then text = fieldname Else text = text + ", " + fieldname
  6083.       End Forall
  6084.       Print "The field list looks like: " & text
  6085.     End Sub
  6086. Example Output
  6087.     The field list looks like: CONTACTNAME, COMPANYADDRESS, COMPANYCITY, ACCOUNTMANAGER, COMPANYID
  6088. &Arial
  6089. This method inserts a new field into an existing fieldlist at a specified index position.  
  6090. fieldNew = fldLstRecord.
  6091. Insert 
  6092. (index, fieldName, dataType)
  6093. Parameters
  6094.     1S2S
  6095. index
  6096.     Long.  Index number of the field before which the new field is inserted. An index number equal to the number of fields currently in the fieldlist (plus one) is equivalent to using LCFieldlist.Append.  
  6097. fieldName
  6098.     String.  Name of the new field.
  6099. dataType
  6100.     Long.  Data type of the new field.  One of the following:  
  6101. LCTYPE_INT
  6102. LCTYPE_FLOAT
  6103. LCTYPE_CURRENCY
  6104. LCTYPE_NUMERIC
  6105. LCTYPE_DATETIME
  6106. LCTYPE_TEXT
  6107. LCTYPE_BINARY
  6108.     LCTYPE_FIELDLIST
  6109.     LCTYPE_CONNECTION
  6110. Example
  6111.     1S2S
  6112.     Option Public
  6113.     Option Explicit
  6114.     Uselsx "*lsxlc"
  6115.     Sub Initialize
  6116.       Dim fldLstRecord As New LCFieldList
  6117.       Dim fld As New LCField (LCTYPE_TEXT)
  6118.       Dim ref As LCField
  6119.       Dim text As String
  6120.       ' There are a number of ways to build a fieldlist
  6121.       ' Append will add a field to a list given a type
  6122.       Set ref = FldLstRecord.Append ("ACCOUNTMANAGER", LCTYPE_INT)
  6123.       Set ref = FldLstRecord.Append ("COMPANYID", LCTYPE_INT)
  6124.       ' Insert is like Append but the position 
  6125.       ' within the fieldlist must be specified
  6126.       Set ref = FldLstRecord.Insert (1, "COMPANYADDRESS", LCTYPE_TEXT)
  6127.       ' CopyField will add a field to a list 
  6128.       ' using an existing field as a template
  6129.       fld.Flags = LCFIELDF_KEY
  6130.       Set ref = FldLstRecord.CopyField (1, fld, "CONTACTNAME")
  6131.       ' IncludeField will add an existing field to a list, 
  6132.       ' making it part of the list. in this case, 'fld' 
  6133.       ' becomes a reference into the fieldlist
  6134.       fld.Flags = 0
  6135.       Call FldLstRecord.IncludeField (3, fld, "COMPANYCITY")
  6136.       text = ""
  6137.       Forall fieldname In FldLstRecord.Names
  6138.         If Text = "" Then text = fieldname Else text = text + ", " + fieldname
  6139.       End Forall
  6140.       Print "The field list is: " & text
  6141.     End Sub
  6142. Example Output
  6143.     The field list is: CONTACTNAME, COMPANYADDRESS, COMPANYCITY, ACCOUNTMANAGER, COMPANYID
  6144. &Arial
  6145. This method iterates through fields in a fieldlist, optionally returning information.  
  6146. Call 
  6147. fldLstRecod.
  6148. (position, destField, index, dataType, flags, fieldName)
  6149. Parameters
  6150.     1S2S
  6151. position
  6152.     Long.  Constant indicating whether to return the first or next Connector property. 
  6153. LCLIST_FIRST
  6154. Return the first property in the property list.
  6155. LCLIST_NEXT
  6156. Return the next property (or the first property if this is the first call to this function for this Connection).
  6157. destField
  6158.     LCField.  Optional. The field in the fieldlist. 
  6159. index
  6160.     Long.  Optional. Index of 
  6161. destField
  6162.  in the fieldlist. This may not advance consecutively for fieldlists produced with LCFieldlist.Merge or LCFieldlist.MergeVirtual. 
  6163. dataType
  6164.     Long.  Optional. Data type of 
  6165. destField
  6166. flags
  6167.     Long.  Optional. Field flags of 
  6168. destField
  6169. . Refer to the Field Class section for a description of the flags.  
  6170. fieldName
  6171.     String.  Optional.  Copy of the name of 
  6172. destField
  6173. Example
  6174.     1S2S
  6175.     Option Public
  6176.     Uselsx "*lsxlc"
  6177.     Sub Initialize
  6178.       Dim connect As New LCConnection ("db2")  
  6179.       Dim FldLst As New LCFieldlist
  6180.       Dim pos As Long
  6181.       Dim dtype As Long
  6182.       Dim flags As Long
  6183.       Dim fieldname As String
  6184.       REM this section assigns the appropriate properties to connect to DB2
  6185.       connect.Database = "Gold"
  6186.       connect.Userid = "JDoe"
  6187.       connect.Password = "xyzzy"
  6188.       connect.Metadata = "customer"
  6189.       REM connect to DB2
  6190.       connect.Connect
  6191.       REM now perform the catalog action - in this case for fields
  6192.       If (connect.Select (Nothing, 1, FldLst) = 0) Then
  6193.         Print "The customer table was not found."
  6194.       Else
  6195.         Print "The table description is:"
  6196.         pos = LCLIST_FIRST
  6197.         While (FldLst.List (pos, , , dtype, flags, fieldname) = True)
  6198.           Print "    " + fieldname + " is type #" +_
  6199.           Cstr(dtype) + " with flags " + Hex(flags)
  6200.           pos = LCLIST_NEXT
  6201.         Wend
  6202.       End If
  6203.     End Sub
  6204. Example Output
  6205.     The table description is:
  6206.         ACCOUNTMANAGER is type #1 with flags 2
  6207.         CONTACTNAME is type #6 with flags 2
  6208.         COMPANYNAME is type #6 with flags 2
  6209.         COMPANYADDRESS is type #6 with flags 2
  6210.         COMPANYCITY is type #6 with flags 2
  6211.         COMPANYSTATE is type #6 with flags 2
  6212.         COMPANYPHONE is type #6 with flags 2
  6213. &Arial
  6214. This method locates a field from a fieldlist based on field name. 
  6215. field = fldListRecord.
  6216. Lookup 
  6217. (fieldName, index)
  6218. Parameters
  6219.     1S2S
  6220. fieldName
  6221.      String.  Name of the field to look up.
  6222. Returns
  6223.     1S2S
  6224. index
  6225.     Long.  Optional.  Position of the field.  
  6226. Example
  6227.     1S2S
  6228.     Option Public
  6229.     Uselsx "*lsxlc"
  6230.     Sub Initialize
  6231.       Dim connect As New LCConnection ("db2")  
  6232.       Dim FldLst As New LCFieldlist
  6233.       Dim field As LCField
  6234.       Dim pos As Long
  6235.       REM this section assigns the appropriate properties to connect to DB2
  6236.       connect.Database = "Gold"
  6237.       connect.Userid = "JDoe"
  6238.       connect.Password = "xyzzy"
  6239.       connect.Metadata = "customer"
  6240.       REM connect to DB2
  6241.       connect.Connect
  6242.       REM now perform the catalog action - in this case for fields
  6243.       If (connect.Select (Nothing, 1, FldLst) = 0) Then
  6244.         Print "The customer table was not found."
  6245.       Else
  6246.         Set field = FldLst.Lookup ("contactname", pos)
  6247.         If Not (field Is Nothing) Then
  6248.           Print "Found 'ContactName' in the fieldlist"
  6249.           Print "at position " & pos
  6250.         Else
  6251.           Print "Did not find 'ContactName' in the fieldlist."
  6252.         End If
  6253.       End If
  6254.     End Sub
  6255. Example Output
  6256.     Found 'ContactName' in the fieldlist
  6257.     at position 2
  6258. &Arial
  6259. This method remaps fields in a fieldlist.   
  6260. Use this method for field mapping operations when the fieldnames are the same in source and target, but you need to change the order of the fields or you wish to exclude some fields.  
  6261. Call 
  6262. fldListRecord.
  6263. (baseFieldList, nameList)
  6264. Parameters
  6265.     1S2S
  6266. baseFieldList
  6267.     LCFieldlist.  The fieldlist to map. 
  6268. nameList    
  6269. String.  Comma-delimited names of fields from 
  6270. baseFieldlist
  6271.  in the new, remapped order.  
  6272. Example
  6273.     1S2S
  6274.     Option Public
  6275.     Uselsx "*lsxlc"
  6276.     Sub Initialize
  6277.       Dim session As New LCSession
  6278.       Dim srcCon As New LCConnection ("db2")  
  6279.       Dim fldLst As New LCFieldList
  6280.       Dim fetchLst As New LCFieldList
  6281.       Dim count As Long
  6282.       Dim cname As LCField
  6283.       Dim ccity As LCField
  6284.       Dim cstate As LCField
  6285.       ' set the appropriate properties to connect to the data sources
  6286.       srcCon.Database = "Gold"
  6287.       srcCon.Userid = "JDoe"
  6288.       srcCon.Password = "xyzzy"
  6289.       srcCon.Metadata = "customer"
  6290.       srcCon.Connect
  6291.       ' perform a select and get the records with 
  6292.       ' the fields wanted, in our fldLstRecord object
  6293.       If (srcCon.Select (Nothing, 1,  fldLst) <> 0) Then
  6294.         ' now map the fields of interest, in the order needed
  6295.         Call fetchLst.Map (fldLst, "ContactName, CompanyCity, CompanyState")
  6296.         Set cname = fetchLst.GetField (1)
  6297.         Set ccity = fetchLst.GetField (2)
  6298.         Set cstate = fetchLst.GetField (3)
  6299.         REM fetch a record from the result set
  6300.         srcCon.MapByName = True
  6301.         
  6302.         Print "Fetching ContactName, CompanyCity, and CompanyState fields"
  6303.         While (srcCon.Fetch (fetchLst, 1, 1) > 0)
  6304.           count = count + 1
  6305.           Print Cstr(count); Tab(3); cname.Text(0); Tab(28); _
  6306.           ccity.Text(0); Tab(42); cstate.Text(0)
  6307.         Wend
  6308.       End If
  6309.     End Sub
  6310. Example Output
  6311.     Fetching ContactName, CompanyCity, and CompanyState fields
  6312.     1 Peter Pan                Never Never   Land
  6313.     2 R. U. Happy              Beagle        WI
  6314.     3 Issac Bernard Mathews    New York      NY
  6315. &Arial
  6316. This method maps fields with different names.  Use this method for field mapping operations when the fieldnames are different in source and target.  This allows you to change the order of fields and to exclude fields, as well.
  6317. Call 
  6318. fldListRecod.
  6319. MapName
  6320. (baseFieldList, nameList, mapList)
  6321. Parameters
  6322.     1S2S
  6323. baseFieldList    
  6324. LCFieldlist.  The fieldlist to map. 
  6325. nameList    
  6326. String.  The names of the original fields.  
  6327. mapList    
  6328. String.  The new names and mapping order for the fields. 
  6329. Example
  6330.     1S2S
  6331.     Option Public
  6332.     Uselsx "*lsxlc"
  6333.     Sub Initialize
  6334.       Dim session As New LCSession
  6335.       Dim srcCon As New LCConnection ("db2")  
  6336.       Dim destCon As New LCConnection ("notes")
  6337.       Dim fetchLst As New LCFieldList
  6338.       Dim insertLst As New LCFieldList
  6339.       Dim count As Long
  6340.       REM set the appropriate properties to connect to the data sources
  6341.       srcCon.Database = "Gold"
  6342.       srcCon.Userid = "JDoe"
  6343.       srcCon.Password = "xyzzy"
  6344.       srcCon.Metadata = "customer"
  6345.       destCon.Server = "Rainbow"
  6346.       destCon.Database = "Gold"
  6347.       destCon.Metadata = "customer"
  6348.       REM connect to the two data sources
  6349.       srcCon.Connect
  6350.       destCon.Connect
  6351.       srcCon.FieldNames = "ContactName, CompanyCity, CompanyState"
  6352.       If (srcCon.Select (Nothing, 1,  fetchLst) <> 0) Then
  6353.         ' map the result set from the SELECT with the desired names
  6354.         Call insertLst.MapName (fetchLst, _
  6355.         "ContactName, CompanyCity, CompanyState", _
  6356.         "Name, City, State")
  6357.         
  6358.         ' set the property MapbyName on the target.
  6359.         ' this is necessary if the fields in the form are
  6360.         ' (or might be) in differnt order from the mapping
  6361.         destCon.MapByName = True
  6362.         
  6363.         While (srcCon.Fetch (fetchLst, 1, 1) > 0)
  6364.           count = count + destCon.Insert (insertLst, 1, 1)
  6365.         Wend
  6366.         
  6367.         Print "Transfered " & count & " records from DB2, to Notes"
  6368.         Print "Field mapping from (DB2 column name to Notes Field name):"
  6369.         Print "     ContactName   -->  Name"
  6370.         Print "     CompanyCity   -->  City"
  6371.         Print "     CompanyState  -->  State"
  6372.       End If
  6373.     End Sub
  6374. Example Output
  6375.     Transfered 3 records from DB2, to Notes
  6376.     Field mapping from (DB2 column name to Notes Field name):
  6377.          ContactName   -->  Name
  6378.          CompanyCity   -->  City
  6379.          CompanyState  -->  State
  6380. &Arial
  6381. This method merges two fieldlists, creating a new third mapping fieldlist.  Use this method for field mapping operations when you either have a name fieldlist already built and/or you need to use fieldlist flags. 
  6382. Call 
  6383. fldListRecord.
  6384. Merge
  6385. (nameFieldList, dataFieldList, mergeFlags)
  6386. Parameters
  6387.     1S2S
  6388. nameFieldlist
  6389.     LCFieldlist.  Source fieldlist containing the field names for the new fieldlist.
  6390. dataFieldlist
  6391.     LCFieldlist.  Source fieldlist containing the referenced data for the new fieldlist.
  6392. mergeFlags    
  6393. Long. By default, both fieldlists must have the same number of fields, and those fields are mapped by position (first to first, second to second, and so on). You can use 
  6394. mergeFlags
  6395.  to alter this default behavior, with zero or more of the following values, OR-ed together:
  6396. LCMERGEF_MAP_NAME
  6397. Match source and destination fields by field name instead of by position. 
  6398. LCMERGEF_DATA_LOSS
  6399. Ignore fields in 
  6400. DataFieldlist
  6401.  that have no corresponding field in 
  6402. NameFieldlist.
  6403. LCMERGEF_NAME_LOSS
  6404. Ignore fields in 
  6405. NameFieldlist
  6406.  that have no corresponding field in 
  6407. DataFieldlist.
  6408. LCMERGEF_FETCH
  6409. Ignore fields with the LCFIELDF_NO_FETCH flag set.
  6410. LCMERGEF_INSERT
  6411. Ignore fields with the LCFIELDF_NO_INSERT flag set.
  6412. LCMERGEF_UPDATE
  6413. Ignore fields with the LCFIELDF_NO_UPDATE flag set.
  6414. LCMERGEF_REMOVE
  6415. Ignore fields with the LCFIELDF_NO_REMOVE flag set.
  6416. LCMERGEF_CREATE
  6417. Ignore fields with the LCFIELDF_NO_CREATE flag set.
  6418. LCMERGEF_DROP
  6419. Ignore fields with the LCFIELDF_NO_DROP flag set.
  6420. LCMERGEF_KEY
  6421. Include fields with the LCFIELDF_KEY flag set.
  6422. Example
  6423.     1S2S
  6424.     Option Public
  6425.     Uselsx "*lsxlc"
  6426.     Sub Initialize
  6427.       Dim session As New LCSession
  6428.       Dim srcCon As New LCConnection ("db2")  
  6429.       Dim destCon As New LCConnection ("notes")
  6430.       Dim fldLst As New LCFieldlist
  6431.       Dim fetchLst As New LCFieldlist
  6432.       Dim insertLst As New LCFieldlist
  6433.       Dim dataLst As New LCFieldlist
  6434.       Dim nameLst As New LCFieldlist
  6435.       Dim count As Long
  6436.       REM set the appropriate properties to connect to the data sources
  6437.       srcCon.Database = "Gold"
  6438.       srcCon.Userid = "JDoe"
  6439.       srcCon.Password = "xyzzy"
  6440.       srcCon.Metadata = "customer"
  6441.       destCon.Server = "Rainbow"
  6442.       destCon.Database = "Gold"
  6443.       destCon.Metadata = "customer"
  6444.       REM connect to the two data sources
  6445.       srcCon.Connect
  6446.       destCon.Connect
  6447.       REM we can perform a select and get the records with the fields we want in our fldLstRecord object
  6448.       If (srcCon.Select (Nothing, 1,  fldLst) <> 0) Then
  6449.         REM first we identify the data fields to fetch and order them
  6450.         Call dataLst.Append ("CONTACTNAME", LCTYPE_TEXT)
  6451.         Call dataLst.Append ("COMPANYCITY", LCTYPE_TEXT)
  6452.         Call dataLst.Append ("COMPANYSTATE", LCTYPE_TEXT)
  6453.         Call fetchLst.Merge (dataLst, fldLst, LCMERGEF_MAP_NAME Or LCMERGEF_DATA_LOSS)
  6454.         REM now we need to do a merge of the fields being fetched with the names of the fields being stored
  6455.         Call nameLst.Append ("Name", LCTYPE_TEXT)
  6456.         Call nameLst.Append ("City", LCTYPE_TEXT)
  6457.         Call nameLst.Append ("State", LCTYPE_TEXT)
  6458.         Call insertLst.Merge (nameLst, fetchLst, 0)
  6459.         
  6460.         REM set the property Map by Name on both data sources
  6461.         srcCon.MapByName = True
  6462.         destCon.MapByName = True
  6463.         
  6464.         REM fetch a record from the result set
  6465.         While (srcCon.Fetch (fetchLst, 1, 1) > 0)
  6466.           REM now insert the record into the target and fetch the next,  looping until all records have been inserted
  6467.           count = count + destCon.Insert (insertLst, 1, 1)
  6468.         Wend
  6469.         Print "Transfered " & count & " records from DB2, to Notes"
  6470.         Print "Field mapping from (DB2 column name to Notes Field name):"
  6471.         Print "     ContactName   -->  Name"
  6472.         Print "     CompanyCity   -->  City"
  6473.         Print "     CompanyState  -->  State"
  6474.       End If
  6475.     End Sub
  6476. Example Output
  6477.     Transfered 3 records from DB2, to Notes
  6478.     Field mapping from (DB2 column name to Notes Field name):
  6479.          ContactName   -->  Name
  6480.          CompanyCity   -->  City
  6481.          CompanyState  -->  State
  6482. &Arial
  6483. This method merges two fieldlists, creating new mapping and virtual fieldlists.  
  6484. NOTE:
  6485.     This method is provided for backward compatibility.  We recommend that you use either the Map or MapName methods for merging fieldlists and creating new mappings.  
  6486. Call 
  6487. fldList.
  6488. MergeVirtual
  6489. (nameFieldList, dataFieldList, MergeFlags, virtualCode, virtualFieldList)
  6490. Parameters
  6491.     1S2S
  6492. nameFieldlist
  6493.     LCFieldlist.  Source fieldlist containing the field list of names for the new fieldlist.
  6494. dataFieldlist
  6495.     LCFieldlist.  Source fieldlist containing the referenced data for the new fieldlist.
  6496. mergeFlags    
  6497. Long.  By default, both fieldlists must have the same number of fields, and those fields are mapped by position (first to first, second to second, an so on). Use 
  6498. MergeFlags
  6499.  to alter this default behavior. Zero or more of the following values, OR-ed together:
  6500. LCMERGEF_MAP_NAME
  6501. Match source and destination fields by field name instead of by position. (See Comment.)
  6502. LCMERGEF_DATA_LOSS
  6503. Ignore fields in 
  6504. DataFieldlist
  6505.  that have no corresponding field in 
  6506. NameFieldlist.
  6507. LCMERGEF_NAME_LOSS
  6508. Ignore fields in 
  6509. NameFieldlist
  6510.  that have no corresponding field in 
  6511. DataFieldlist.
  6512. LCMERGEF_FETCH
  6513. Ignore fields with the LCFIELDF_NO_FETCH flag set.
  6514. LCMERGEF_INSERT
  6515. Ignore fields with the LCFIELDF_NO_INSERT flag set.
  6516. LCMERGEF_UPDATE
  6517. Ignore fields with the LCFIELDF_NO_UPDATE flag set.
  6518. LCMERGEF_REMOVE
  6519. Ignore fields with the LCFIELDF_NO_REMOVE flag set.
  6520. LCMERGEF_CREATE
  6521. Ignore fields with the LCFIELDF_NO_CREATE flag set.
  6522. LCMERGEF_DROP
  6523. Ignore fields with the LCFIELDF_NO_DROP flag set.
  6524. LCMERGEF_KEY
  6525. Include fields with the LCFIELDF_KEY flag set.
  6526. virtualCode
  6527.     Long.  Connect or Connector code to separate fields with a matching virtual code into 
  6528. virtualFieldlist
  6529. virtualFieldlist
  6530.     LCFieldlist.  New fieldlist, containing fields with virtual codes matching 
  6531. virtualCode
  6532. &Arial
  6533. This method removes an existing field from a fieldlist.  
  6534. Call 
  6535. fldLstRecord.
  6536. Remove 
  6537. (index)
  6538. Parameters
  6539.     1S2S
  6540. index
  6541.     Long.  The index position of the field to be removed from the fieldlist. 
  6542. Example
  6543.     1S2S
  6544.     Option Public
  6545.     Uselsx "*lsxlc"
  6546.     Sub Initialize
  6547.       Dim connect As New LCConnection ("db2")  
  6548.       Dim FldLst As New LCFieldlist
  6549.       Dim field As LCField
  6550.       Dim text As String
  6551.       REM this section assigns the appropriate properties to connect to DB2
  6552.       connect.Database = "Gold"
  6553.       connect.Userid = "JDoe"
  6554.       connect.Password = "xyzzy"
  6555.       connect.Metadata = "customer"
  6556.       REM connect to DB2
  6557.       connect.Connect
  6558.       REM now perform the catalog action - in this case for fields
  6559.       If (connect.Select (Nothing, 1, FldLst) = 0) Then
  6560.         Print "The customer table was not found."
  6561.       Else
  6562.         REM fetch the field names
  6563.         Call FldLst.Remove (1)
  6564.         text = ""
  6565.         Forall fieldname In FldLst.Names
  6566.           If (text = "") Then text = fieldname Else text = text + ", " + fieldname
  6567.         End Forall
  6568.         Print "The new list of columns in the '" & connect.Metadata & "' table are: " & text
  6569.       End If
  6570.     End Sub
  6571. Example Output
  6572.     The new list of columns in the 'customer' table are: CONTACTNAME, COMPANYNAME, COMPANYADDRESS, COMPANYCITY, COMPANYSTATE, COMPANYPHONE
  6573. &Arial
  6574. This method replaces a field within a fieldlist. 
  6575. Call 
  6576. fldLstRecord.
  6577. Replace 
  6578. (index, fieldName, dataType)
  6579. Parameters
  6580.     1S2S
  6581. index
  6582.     Long.  The index position of the field to replace.
  6583. fieldName
  6584.     String.  The name of the new field.
  6585. dataType
  6586.     Long.  The datatype to assign to the new field. 
  6587. Example
  6588.     1S2S
  6589.     Option Public
  6590.     Uselsx "*lsxlc"
  6591.     Sub Initialize
  6592.       Dim connect As New LCConnection ("db2")  
  6593.       Dim FldLst As New LCFieldlist
  6594.       Dim field As LCField
  6595.       Dim text As String
  6596.       REM this section assigns the appropriate properties to connect to DB2
  6597.       connect.Database = "Gold"
  6598.       connect.Userid = "JDoe"
  6599.       connect.Password = "xyzzy"
  6600.       connect.Metadata = "customer"
  6601.       REM connect to DB2
  6602.       connect.Connect
  6603.       REM now perform the catalog action - in this case for fields
  6604.       If (connect.Select (Nothing, 1, FldLst) = 0) Then
  6605.         Print "The customer table was not found."
  6606.       Else
  6607.         REM fetch the field names
  6608.         Call FldLst.Replace (2, "pinky", LCTYPE_TEXT)
  6609.         text = ""
  6610.         Forall fieldname In FldLst.Names
  6611.           If (text = "") Then text = fieldname Else text = text + ", " + fieldname
  6612.         End Forall
  6613.         Print "The new list of columns in the '" & connect.Metadata & "' table are: " & text
  6614.       End If
  6615.     End Sub
  6616. Example Output
  6617.     The new list of columns in the 'customer' table are: ACCOUNTMANAGER, pinky, COMPANYNAME, COMPANYADDRESS, COMPANYCITY, COMPANYSTATE, COMPANYPHONE
  6618. &Arial
  6619. This method changes the name of a field within a fieldlist. 
  6620. Call 
  6621. fldLstRecord.
  6622. SetName
  6623. (index, fieldName)
  6624. Parameters
  6625.     1S2S
  6626. index
  6627.     Long.  The index position of the field. 
  6628. fieldName
  6629.     String.  The new name to give to this field. 
  6630. Example
  6631.     1S2S
  6632.     Option Public
  6633.     Uselsx "*lsxlc"
  6634.     Sub Initialize
  6635.       Dim connect As New LCConnection ("db2")  
  6636.       Dim FldLst As New LCFieldlist
  6637.       Dim field As LCField
  6638.       Dim text As String
  6639.       REM this section assigns the appropriate properties to connect to DB2
  6640.       connect.Database = "Gold"
  6641.       connect.Userid = "JDoe"
  6642.       connect.Password = "xyzzy"
  6643.       connect.Metadata = "customer"
  6644.       REM connect to DB2
  6645.       connect.Connect
  6646.       REM now perform the catalog action - in this case for fields
  6647.       If (connect.Select (Nothing, 1, FldLst) = 0) Then
  6648.         Print "The customer table was not found."
  6649.       Else
  6650.         REM fetch the field names
  6651.         Call FldLst.SetName (1, "pinky")
  6652.         text = ""
  6653.         Forall fieldname In FldLst.Names
  6654.           If (text = "") Then text = fieldname Else text = text + ", " + fieldname
  6655.         End Forall
  6656.         Print "The new list of columns in the '" & connect.Metadata & "' table are: " & text
  6657.       End If
  6658.     End Sub
  6659. Example Output
  6660.     The new list of columns in the 'customer' table are: pinky, CONTACTNAME, COMPANYNAME, COMPANYADDRESS, COMPANYCITY, COMPANYSTATE, COMPANYPHONE
  6661. &Arial
  6662. This chapter provides information about the Lotus Connectors LCNumeric class methods and properties.  
  6663. Overview
  6664. The LCNumeric class represents a numeric value containing a precision, scale, and variable number of digits. Numeric values have a specific precision and scale, and can accommodate very high-precision numbers. By default, a new numeric submitted to any other numeric method is initialized to a precision of 88 and a scale of 44. Note that during any numeric overflow, the maximum or minimum valid numeric value is assigned in addition to the error occurring.
  6665. For a numeric to be valid, it must have valid values for precision (number of digits) and scale (number of decimal places). The precision and scale of a numeric may only be set when it is first created. If precision and scale are not valid for a numeric submitted as parameters when creating a numeric, then an error is generated. If the invalid numeric has been zeroed, then it will be automatically initialized to a numeric with the maximum precision and a scale of precision/2 (44).
  6666. Type NUMERIC format and values
  6667.     Precision (LCMAX_NUMERIC_PREC) = 88
  6668.     Minimum Scale (LCMIN_NUMERIC_SCALE) = -127
  6669.     Maximum Scale (LCMAX_NUMERIC_SCALE) = 127
  6670.     Minimum Positive Value (LCMIN_NUMERIC_VALUE) = 1.0e-127
  6671.     Maximum Positive Value (LCMAX_NUMERIC_VALUE) = 9.99... e126
  6672. LCNumeric Properties
  6673. LCNumeric.Precision    Long [Read-Only]. Precision and Scale are set when the LCNumeric object is first constructed.  See the New method for LCNumeric.  
  6674. LCNumeric.Scale    Long [Read-Only]. Precision and Scale are set when the LCNumeric object is first constructed.  See the New method for LCNumeric.
  6675. LCNumeric.Text    String representation. 
  6676. LCNumeric.Value    Double - value conversion between Lotus Connectors and LotusScript double. 
  6677. LCNumeric Class Methods Summary
  6678. LCNumeric.Add    Adds two numeric values, producing the sum.
  6679. LCNumeric.Compare    Compares two numeric values returning a value indicating the relationship between them.
  6680. LCNumeric.Copy    Makes a copy of a numeric value.
  6681. LCNumeric.Subtract    Subtracts one numeric value from another, producing the result.
  6682. &Arial
  6683. Constructor for new LCNumeric class object. 
  6684. variableName
  6685.  New LCNumeric
  6686. (long1, long2)
  6687. Parameters
  6688.     1S2S
  6689. long1
  6690.     Long.  Optional.  Precision for this object, from 0 - 88.  Default is LCMAX_NUMERIC_PREC (88).  
  6691. long2
  6692.     Long.  Optional.  Scale for this object, from 
  6693. )127 - +127. Default is LCMAX_NUMERIC_PREC / 2 (44).  
  6694. &Arial
  6695. This method adds the values of two LCNumeric objects. 
  6696. Call 
  6697. numericTotal.
  6698. (numeric1, numeric2)
  6699. Parameters
  6700.     1S2S
  6701. numeric1
  6702.     The first of two values being added. 
  6703. numeric2    
  6704. The second of two values being added. 
  6705. Example
  6706.     1S2S
  6707.     Option Public
  6708.     Uselsx "*lsxlc"
  6709.     Sub Initialize
  6710.       Dim num1 As New LCNumeric
  6711.       Dim num2 As New LCNumeric
  6712.       Dim sum As New LCNumeric
  6713.       num1.Value = 12345.6789
  6714.       num2.Value = 12345.6789
  6715.       Call sum.Add (Num1, Num2)
  6716.       Print "The sum of the two numbers is " & sum.Text
  6717.     End Sub
  6718. Example Output
  6719.     The sum of the two numbers is 24691.3578
  6720. &Arial
  6721. This method compares two LCNumeric objects. 
  6722. result 
  6723. = numericFirst.
  6724. Compare
  6725. (numericSecond)
  6726. Parameters
  6727.     1S2S
  6728. numericSecond    
  6729. The base value to which to compare another value. 
  6730. Returns
  6731.     1S2S
  6732. result
  6733.     Result of the comparison:
  6734. Result
  6735.  > 0 (positive): 
  6736. numericFirst
  6737.  is greater than 
  6738. numericSecond.
  6739. Result
  6740.  < 0 (negative): 
  6741. numericFirst
  6742.  is less than 
  6743. numericSecond.
  6744. Result
  6745.  = 0: 
  6746. numericFirst
  6747.  is equal to 
  6748. numericSecond.
  6749. Example
  6750.     1S2S
  6751.     Option Public
  6752.     Uselsx "*lsxlc"
  6753.     Sub Initialize
  6754.       Dim num1 As New LCNumeric
  6755.       Dim num2 As New LCNumeric
  6756.       num1.Value = 123.456789
  6757.       num2.Value = 123
  6758.       If (num1.Compare (num2) = 0) Then
  6759.         Print "The first number is the same as the second."
  6760.       Elseif (num1.Compare (num2) > 0) Then
  6761.         Print "The first number is greater than the second."
  6762.       Else
  6763.         Print "The first number is less than the second."
  6764.       End If
  6765.     End Sub
  6766. Example Output
  6767.     The first number is greater than the second.
  6768. &Arial
  6769. This method makes a copy of one LCNumeric, creating a new LCNumeric object.  
  6770. newNumeric = srcFirst.
  6771. Parameters
  6772.     1S2S
  6773. srcNumeric
  6774.     LCNumeric.  The LCNumeric object that you want to copy. 
  6775. Returns
  6776.     1S2S
  6777. newNumeric
  6778.     LCNumeric.  The copy of the 
  6779. srcNumeric
  6780. object. 
  6781. Example
  6782.     1S2S
  6783.     Option Public
  6784.     Uselsx "*lsxlc"
  6785.     Sub Initialize
  6786.       Dim num1 As New LCNumeric
  6787.       Dim num2 As LCNumeric
  6788.       num1.Value = 12345.6789
  6789.       Set num2 = num1.Copy
  6790.       Print "The copy has a value of " & num2.Text
  6791.     End Sub
  6792. Example Output
  6793.     The copy has a value of 12345.6789
  6794. &Arial
  6795. This method subtracts the value of one LCNumeric object from the value of another LCNumeric object. 
  6796. Call 
  6797. numericThird.
  6798. Subtract
  6799. (numericFirst, numericSecond)
  6800. Parameters
  6801.     1S2S
  6802. numericFirst
  6803.     The initial value from which to subtract 
  6804. numericSecond
  6805. numericSecond
  6806.     The value to subtract from 
  6807. numericFirst
  6808. Example
  6809.     1S2S
  6810.     Option Public
  6811.     Uselsx "*lsxlc"
  6812.     Sub Initialize
  6813.       Dim num1 As New LCNumeric
  6814.       Dim num2 As New LCNumeric
  6815.       Dim diff As New LCNumeric
  6816.       num1.Value = 98765.4321
  6817.       num2.Value = 12345.6789
  6818.       Call diff.Subtract (Num1, Num2)
  6819.       Print "The difference of the two numbers is " & diff.Text
  6820.     End Sub
  6821. Example Output
  6822.     The difference of the two numbers is 86419.7532
  6823. &Arial
  6824. This chapter provides information about Lotus Connectors LCSession class methods and properties.  
  6825. Overview
  6826. The LCSession class represents the Lotus Connectors environment of the current script, providing access to the available connectors and metaconnectors, as well as the current error status. The status property and methods are useful when writing error handling code and reporting errors as text messages.
  6827. Properties
  6828. LCSession.Status    Status of an LCSession.  Zero, or LCSUCCESS, indicates no error.  A non-zero value (represented by an LCFAIL_XXX constant) indicates an error state.  
  6829. LCSession Class Methods Summary
  6830. LCSession.ClearStatus    Clear the Session status, putting the Session in a non-error state. 
  6831. LCSession.GetStatus    Obtain the current Session status.
  6832. LCSession.GetStatusText    Obtain the error text string corresponding to a status code. 
  6833. LCSession.ListConnector    List through all installed connectors available for LotusScript Externsion for Lotus Connectors.  
  6834. LCSession.ListMetaConnector    List through all installed metaconnectors available for a LotusScript Extension for Lotus Connectors installation.
  6835. LCSession.LookupConnector    Determines if a specified connector is available. 
  6836. LCSession.LookupMetaConnector    Determines if a specified metaconnector is available.
  6837. LCSession.Sleep    Suspends script execution for a specified period of time. 
  6838. &Arial
  6839. Constructor for LCSession object.  
  6840. Multiple LCSession objects may be created within a script.  All LCSession objects within a single script execution share the same status information. 
  6841. variableName 
  6842. LCSession
  6843. &Arial
  6844. This method resets, or clears, the LCSession status after an error.  
  6845. thisSession.
  6846. ClearStatus
  6847. Example
  6848.     1S2S
  6849.     Option Public
  6850.     Uselsx "*lsxlc"
  6851.     Sub Initialize
  6852.       Dim session As New LCSession
  6853.       REM Ignore errors
  6854.       On Error Resume Next
  6855.       REM purposely generate a Lotus Connector error
  6856.       session.ListConnector (23)
  6857.       Print "The current status code is #" & Cstr (session.Status)
  6858.       session.ClearStatus
  6859.       Print "The new status code is #" & Cstr (session.Status)
  6860.     End Sub
  6861. Example Output
  6862.     The current status code is #12292
  6863.     The new status code is #0
  6864. &Arial
  6865. This method retrieves the current status value of a session.  
  6866. Call 
  6867. thisSession.
  6868. GetStatus 
  6869. (statusText, externalCode, externalText)
  6870. Parameters
  6871.     1S2S
  6872. statusText
  6873.     String.  Optional.  Lotus Connector status message. 
  6874. externalCode
  6875.     Long.  Optional.  Any external error codes. Long.  
  6876. externalText
  6877.     String.  Optional.  Any external message text associated with an external code. 
  6878. Example
  6879.     1S2S
  6880.     Option Public
  6881.     Uselsx "*lsxlc"
  6882.     Sub Initialize
  6883.       On Error Goto handler
  6884.       Dim session As New LCSession
  6885.       Dim src As New LCConnection ("db2")
  6886.       src.Database = "Gold"
  6887.       src.UserID = "JDoe"
  6888.       REM deliberate bad password
  6889.       src.Password = "xyzzy"
  6890.       src.Connect
  6891.       Print "Connected to DB2."
  6892.       End
  6893.     handler:
  6894.       If (session.Status <> LCSUCCESS) Then
  6895.         Dim text As String
  6896.         Dim extcode As Long
  6897.         Dim exttext As String
  6898.         
  6899.         Call session.GetStatus (text,  extcode, exttext)
  6900.         If (session.Status = LCFAIL_EXTERNAL)Then
  6901.           Print "DB2 message: " & exttext & "  code #" & Cstr(extcode)
  6902.         Else
  6903.           Print "Connector message: " & text
  6904.         End If
  6905.       Else
  6906.         Print Error$
  6907.       End If
  6908.       End
  6909.     End Sub
  6910. Example Output
  6911.     DB2 message: [IBM][CLI Driver] SQL1403N  The username and/or password supplied is incorrect.  SQLSTATE=08004  code #-1403
  6912. &Arial
  6913. This method returns the message text corresponding to an LCStatus code.  
  6914. message 
  6915. = thisSession.
  6916. GetStatusText
  6917. (errorCode)
  6918. Parameters
  6919.     1S2S
  6920. errorCode
  6921.     Long.  Optional.  The error code for which to return the message text.  The default is the current status code. 
  6922. Returns
  6923.     1S2S
  6924. message
  6925.     A text string representation of the status. 
  6926. Example
  6927.     1S2S
  6928.     Option Public
  6929.     Uselsx "*lsxlc"
  6930.     Sub Initialize
  6931.       Dim session As New LCSession
  6932.       REM Ignore errors
  6933.       On Error Resume Next
  6934.       REM purposely generate a Lotus Connector error
  6935.       session.ListConnector (23)
  6936.       If (session.Status <> LCSUCCESS) Then
  6937.         Print session.GetStatusText
  6938.       Else
  6939.         Print "No error exists."
  6940.       End If
  6941.     End Sub
  6942. Example Output
  6943.     Error: Invalid List direction
  6944. &Arial
  6945. This method lists through all valid connectors for a Lotus Extension for Lotus Connectors installation.  
  6946. The identifyFlagList and identifyNameList parameters provide the ability to obtain information from a Lotus Connector about its supported functionality and naming used by the backend system.
  6947. Call 
  6948. thisSession.
  6949. ListConnector
  6950. (List, connectorName, connectorCode, identifyFlagList, identifyNameList)
  6951. Parameters
  6952.     1S2S
  6953.     Long.  Constant indicating whether to return the first or next Connector property. 
  6954. LCLIST_FIRST
  6955. Return the first property in the property list.
  6956. LCLIST_NEXT
  6957. Return the next property (or the first property if this is the first call to this function for this Connection).
  6958. connectorName    
  6959. String.  Optional.  String representation of the connector name. 
  6960. connectorCode    
  6961. String.  Optional.  The assigned Connector code. 
  6962. identifyFlagList
  6963.     Stream. Optional.  
  6964. IdentifyFlagList
  6965.  is set to a stream of format number list (LCSTREAMFMT_NUMBER_LIST), which will contain a series of flags from the connector.  Use the NumberListGetValue method of LCStream to retrieve individual flag values as required.  The specific flags to retrieve are indicated by the index in the number list.  Use the following constants to represent a particular set of flags (default is Nothing):
  6966. LCIDFLAG_INDEX_CONNECTOR
  6967. Connector flags
  6968. LCIDENTIFYF_XXX
  6969. LCIDFLAG_INDEX_ACTION
  6970. Support actions for LCConnection.Action method
  6971. LCACTIDENTF_XXX
  6972. LCIDFLAG_INDEX_OBJECT_CATALOG    
  6973. Support objects for LCConnection.Catalog method
  6974. LCOBJIDENTF_XXX
  6975. LCIDFLAG_INDEX_OBJECT_CREATE
  6976. Support objects for LCConnection.Catalog method
  6977. LCOBJIDENTF_XXX
  6978. LCIDFLAG_INDEX_OBJECT_DROP
  6979. Support objects for LCConnection.Catalog method
  6980. LCOBJIDENTF_XXX
  6981. The following are the valid flag values.  Each flag set is composed of zero or more of the corresponding flags OR-ed together:  
  6982. Supported Connector flags:
  6983. LCIDENTIFYF_SINGLE_THREAD
  6984. Connector is not thread safe (NOTE: The LSX LC will properly serialize access to this connector to avoid threading problems.
  6985. LCIDENTIFYF_ARRAY_READ
  6986. Array reads (more efficient handling of RecordCount > 1 for Fetch method) are supported.
  6987. LCIDENTIFYF_ARRAY_WRITE
  6988. Array writes (more efficient handling of RecordCount > 1 for Insert, Update, and/or Remove methods) are supported.
  6989. LCIDENTIFYF_SINGLE_METADATA
  6990. All data is represented by a single metadata (for example, the File 
  6991. onnector has only one 'metadata' description)
  6992. LCIDENTIFYF_WRITEBACK
  6993. Writeback functionality is available
  6994. LCIDENTIFYF_SCROLLING
  6995. Scrolling result sets are available (currently not supported by any connectors).
  6996. LCIDENTIFYF_MULTI_VALUE
  6997. Multi-value types (Binary stream formats for text, number, and datetime lists) are fully supported by the backend. 
  6998. LCIDENTIFYF_MULTI_DIMENSION
  6999. Multi-dimensional result sets are supported (nested fieldlists).
  7000. LCIDENTIFYF_SQL
  7001. SQL is the backend-supported syntax.
  7002. LCIDENTIFYF_SRVDB_CAT_CONNECT
  7003. Database connection is required for server and/or database browsing.
  7004. LCIDENTIFYF_DISABLE_WRITEBACK
  7005. (Metaconnector only) The use of this metaconnector does not allow writeback result sets.
  7006. Supported action flags: 
  7007. LCACTIDENTF_RESET
  7008. Reset action is supported
  7009. LCACTIDENTF_TRUNCATE
  7010. Truncate action is supported
  7011. LCACTIDENTF_COMMIT
  7012. Commit action is supported
  7013. LCACTIDENTF_ROLLBACK
  7014. Rollback action is supported
  7015. LCACTIDENTF_CLEAR
  7016. Clear action is supported
  7017. LCACTIDENTF_WAIT
  7018. Wait action is supported
  7019. Supported object flags:
  7020. LCOBJIDENTF_SERVER
  7021. The method supports server objects
  7022. LCOBJIDENTF_DATABASE
  7023. The method supports database objects
  7024. LCOBJIDENTF_METADATA
  7025. The method supports metadata objects
  7026. LCOBJIDENTF_PROCEDURE
  7027. The method supports procedure objects
  7028. LCOBJIDENTF_INDEX
  7029. The method supports index objects
  7030. LCOBJIDENTF_FIELD
  7031. The method supports field objects
  7032. LCOBJIDENTF_PARAMETER
  7033. The method supports parameter objects
  7034. LCOBJIDENTF_ALT_METADATA
  7035. The method supports alternate metadata objects
  7036. LCOBJIDENTF_ALT_FIELD
  7037. The method supports alternate metadata field objects
  7038. identifyNameList
  7039.     Stream.  Optional.  
  7040. IdentifyNameList 
  7041. is set to a stream of format text list (LCSTREAMFMT_TEXT_LIST), which will contain a series of names used by the connector's backend system. This can be used to customize the presentation of options for a specific connector (for example, metadata is named "Form" for Notes, and "Table" for DB2). Use the TextListGetValue method of LCStream to retrieve individual names as required. The specific name to retrieve is indicated by the index in the text list.  Use the following constants to represent a particular name (default is Nothing):  
  7042. LCIDNAME_INDEX_SERVER
  7043. Name for server objects in this backend system.
  7044. LCIDNAME_INDEX_DATABASE
  7045. Name for database objects in this backend system.
  7046. LCIDNAME_INDEX_USERID
  7047. Name for user ID objects in this backend system.
  7048. LCIDNAME_INDEX_PASSWORD
  7049. Name for password objects in this backend system.
  7050. LCIDNAME_INDEX_METADATA
  7051. Name for metadata objects in this backend system.
  7052. LCIDNAME_INDEX_PROCEDURE
  7053. Name for procedure objects in this backend system.
  7054. LCIDNAME_INDEX_INDEX
  7055. Name for index objects in this backend system.
  7056. LCIDNAME_INDEX_FIELD
  7057. Name for metadata fields in this backend system.
  7058. LCIDNAME_INDEX_PARAMETER
  7059. Name for procedure parameters in this backend system.
  7060. LCIDNAME_INDEX_ALT_METADATA
  7061. Name for alternate metadata objects in this backend system.
  7062. LCIDNAME_INDEX_ALT_FIELD
  7063. Name for alternate metadata fields in this backend.
  7064. Example
  7065.     1S2S
  7066.     Option Public
  7067.     Uselsx "*lsxlc"
  7068.     Sub Initialize
  7069.       Dim session As New LCSession
  7070.       Dim conName As String
  7071.       Dim text As String
  7072.       REM list the connectors available
  7073.       REM the parameters for connector code,  identity flags, and 
  7074.       REM identity names are optional and omitted in this example
  7075.       Call session.ListConnector(LCLIST_FIRST, conName)
  7076.       text = conName
  7077.       While session.ListConnector(LCLIST_NEXT, conName)
  7078.         text = text + ", " + conName
  7079.       Wend
  7080.       Print "The usable Connectors are " & text
  7081.     End Sub
  7082. Example Output
  7083.     The usable Connectors are db2, notes, odbc2, oracle, sybase
  7084. &Arial
  7085. This method lists all valid metaconnectors for a Lotus Connectors installation.  
  7086. Call 
  7087. thisSession.
  7088. ListMetaConnector
  7089. (list, metaconnectorName, connectorCode, identifyFlagList, identifyNameList)
  7090. Parameters
  7091.     1S2S
  7092.     Long.  Constant indicating whether to return the first or next MetaConnector property. 
  7093. LCLIST_FIRST
  7094. Return the first property in the property list.
  7095. LCLIST_NEXT
  7096. Return the next property (or the first property if this is the first call to this function for this Connection).
  7097. metaconnectorName    
  7098. String.  Optional.  The name of the metaconnector.  
  7099. connectorCode
  7100.     String.  Optional.  The code for this metaconnector.  
  7101. identifyFlagList
  7102.     LCStream.  Optional.  
  7103. IdentifyFlagList
  7104.  is set to a stream of format number list (LCSTREAMFMT_NUMBER_LIST), which will contain a series of flags from the connector.  Use the NumberListGetValue method of LCStream to retrieve individual flag values as required.  The specific flags to retrieve are indicated by the index in the number list.  Use the following constants to represent a particular set of flags:  
  7105. LCIDFLAG_INDEX_CONNECTOR
  7106. Connector flags
  7107. LCIDENTIFYF_XXX
  7108. LCIDFLAG_INDEX_ACTION
  7109. Support actions for LCConnection.Action method
  7110. LCACTIDENTF_XXX
  7111. LCIDFLAG_INDEX_OBJECT_CATALOG    
  7112. Support objects for LCConnection.Catalog method
  7113. LCOBJIDENTF_XXX
  7114. LCIDFLAG_INDEX_OBJECT_CREATE
  7115. Support objects for LCConnection.Catalog method
  7116. LCOBJIDENTF_XXX
  7117. LCIDFLAG_INDEX_OBJECT_DROP
  7118. Support objects for LCConnection.Catalog method
  7119. LCOBJIDENTF_XXX
  7120. The following are the valid flag values.  Each flag set is composed of zero or more of the corresponding flags OR-ed together:  
  7121. Supported Connector flags:
  7122. LCIDENTIFYF_SINGLE_THREAD
  7123. Connector is not thread safe (NOTE: The LSX LC will properly serialize access to this connector to avoid threading problems.
  7124. LCIDENTIFYF_ARRAY_READ
  7125. Array reads (more efficient handling of RecordCount > 1 for Fetch method) are supported.
  7126. LCIDENTIFYF_ARRAY_WRITE
  7127. Array writes (more efficient handling of RecordCount > 1 for Insert, Update, and/or Remove methods) are supported.
  7128. LCIDENTIFYF_SINGLE_METADATA
  7129. All data is represented by a single metadata (for example, the File 
  7130. onnector has only one 'metadata' description)
  7131. LCIDENTIFYF_WRITEBACK
  7132. Writeback functionality is available
  7133. LCIDENTIFYF_SCROLLING
  7134. Scrolling result sets are available (currently not supported by any connectors).
  7135. LCIDENTIFYF_MULTI_VALUE
  7136. Multi-value types (Binary stream formats for text, number, and datetime lists) are fully supported by the backend. 
  7137. LCIDENTIFYF_MULTI_DIMENSION
  7138. Multi-dimensional result sets are supported (nested fieldlists).
  7139. LCIDENTIFYF_SQL
  7140. SQL is the backend-supported syntax.
  7141. LCIDENTIFYF_SRVDB_CAT_CONNECT
  7142. Database connection is required for server and/or database browsing.
  7143. LCIDENTIFYF_DISABLE_WRITEBACK
  7144. (Metaconnector only) The use of this metaconnector does not allow writeback result sets.
  7145. Supported action flags: 
  7146. LCACTIDENTF_RESET
  7147. Reset action is supported
  7148. LCACTIDENTF_TRUNCATE
  7149. Truncate action is supported
  7150. LCACTIDENTF_COMMIT
  7151. Commit action is supported
  7152. LCACTIDENTF_ROLLBACK
  7153. Rollback action is supported
  7154. LCACTIDENTF_CLEAR
  7155. Clear action is supported
  7156. LCACTIDENTF_WAIT
  7157. Wait action is supported
  7158. Supported object flags:
  7159. LCOBJIDENTF_SERVER
  7160. The method supports server objects
  7161. LCOBJIDENTF_DATABASE
  7162. The method supports database objects
  7163. LCOBJIDENTF_METADATA
  7164. The method supports metadata objects
  7165. LCOBJIDENTF_PROCEDURE
  7166. The method supports procedure objects
  7167. LCOBJIDENTF_INDEX
  7168. The method supports index objects
  7169. LCOBJIDENTF_FIELD
  7170. The method supports field objects
  7171. LCOBJIDENTF_PARAMETER
  7172. The method supports parameter objects
  7173. LCOBJIDENTF_ALT_METADATA
  7174. The method supports alternate metadata objects
  7175. LCOBJIDENTF_ALT_FIELD
  7176. The method supports alternate metadata field objects
  7177. identifyNameList
  7178.     LCStream.  Optional.  
  7179. IdentifyNameList 
  7180. is set to a stream of format text list (LCSTREAMFMT_TEXT_LIST), which will contain a series of names used by the connector's backend system. This can be used to customize the presentation of options for a specific connector (for example, metadata is named "Form" for Notes, and "Table" for DB2). Use the TextListGetValue method of LCStream to retrieve individual names as required. The specific name to retrieve is indicated by the index in the text list.  Use the following constants to represent a particular name (default is Nothing):  
  7181. LCIDNAME_INDEX_SERVER
  7182. Name for server objects in this backend system.
  7183. LCIDNAME_INDEX_DATABASE
  7184. Name for database objects in this backend system.
  7185. LCIDNAME_INDEX_USERID
  7186. Name for user ID objects in this backend system.
  7187. LCIDNAME_INDEX_PASSWORD
  7188. Name for password objects in this backend system.
  7189. LCIDNAME_INDEX_METADATA
  7190. Name for metadata objects in this backend system.
  7191. LCIDNAME_INDEX_PROCEDURE
  7192. Name for procedure objects in this backend system.
  7193. LCIDNAME_INDEX_INDEX
  7194. Name for index objects in this backend system.
  7195. LCIDNAME_INDEX_FIELD
  7196. Name for metadata fields in this backend system.
  7197. LCIDNAME_INDEX_PARAMETER
  7198. Name for procedure parameters in this backend system.
  7199. LCIDNAME_INDEX_ALT_METADATA
  7200. Name for alternate metadata objects in this backend system.
  7201. LCIDNAME_INDEX_ALT_FIELD
  7202. Name for alternate metadata fields in this backend.
  7203. Example
  7204.     1S2S
  7205.     Option Public
  7206.     Uselsx "*lsxlc"
  7207.     Sub Initialize
  7208.       Dim session As New LCSession
  7209.       Dim conName As String
  7210.       Dim text As String
  7211.       REM list the connectors available
  7212.       REM the parameters for connector code,  identity flags, and 
  7213.       REM identity names are optional and omitted in this example
  7214.       Call session.ListMetaConnector(LCLIST_FIRST, conName)
  7215.       text = conName
  7216.       While session.ListMetaConnector(LCLIST_NEXT, conName)
  7217.         text = text + ", " + conName
  7218.       Wend
  7219.       Print "The usable MetaConnector(s) are " & text
  7220.     End Sub
  7221. Example Output
  7222.     The usable MetaConnector(s) are collexp, order
  7223. &Arial
  7224. This method looks up a connector name to determine if it exists and returns information about the connector.  
  7225. Call 
  7226. thisSession.
  7227. LookupConnector
  7228. (connectorName, connectorCode, identifyFlagList, identifyNameList)
  7229. Parameters
  7230.     1S2S
  7231. connectorName
  7232.     String.  The name of the Connector to look up, for example, 
  7233. oracle.
  7234. connectorCode
  7235.     Long.  Optional.  The Connector code for this Connector.  
  7236. identifyFlagList
  7237.     LCStream.  Optional.  
  7238. IdentifyFlagList
  7239.  is set to a stream of format number list (LCSTREAMFMT_NUMBER_LIST), which will contain a series of flags from the connector.  Use the NumberListGetValue method of LCStream to retrieve individual flag values as required.  The specific flags to retrieve are indicated by the index in the number list.  Use the following constants to represent a particular set of flags:  
  7240. LCIDFLAG_INDEX_CONNECTOR
  7241. Connector flags
  7242. LCIDENTIFYF_XXX
  7243. LCIDFLAG_INDEX_ACTION
  7244. Support actions for LCConnection.Action method
  7245. LCACTIDENTF_XXX
  7246. LCIDFLAG_INDEX_OBJECT_CATALOG    
  7247. Support objects for LCConnection.Catalog method
  7248. LCOBJIDENTF_XXX
  7249. LCIDFLAG_INDEX_OBJECT_CREATE
  7250. Support objects for LCConnection.Catalog method
  7251. LCOBJIDENTF_XXX
  7252. LCIDFLAG_INDEX_OBJECT_DROP
  7253. Support objects for LCConnection.Catalog method
  7254. LCOBJIDENTF_XXX
  7255. The following are the valid flag values.  Each flag set is composed of zero or more of the corresponding flags OR-ed together:  
  7256. Supported Connector flags:
  7257. LCIDENTIFYF_SINGLE_THREAD
  7258. Connector is not thread safe (NOTE: The LSX LC will properly serialize access to this connector to avoid threading problems.
  7259. LCIDENTIFYF_ARRAY_READ
  7260. Array reads (more efficient handling of RecordCount > 1 for Fetch method) are supported.
  7261. LCIDENTIFYF_ARRAY_WRITE
  7262. Array writes (more efficient handling of RecordCount > 1 for Insert, Update, and/or Remove methods) are supported.
  7263. LCIDENTIFYF_SINGLE_METADATA
  7264. All data is represented by a single metadata (for example, the File connector has only one 'metadata' description)
  7265. LCIDENTIFYF_WRITEBACK
  7266. Writeback functionality is available
  7267. LCIDENTIFYF_SCROLLING
  7268. Scrolling result sets are available (currently not supported by any connectors).
  7269. LCIDENTIFYF_MULTI_VALUE
  7270. Multi-value types (Binary stream formats for text, number, and datetime lists) are fully supported by the backend. 
  7271. LCIDENTIFYF_MULTI_DIMENSION
  7272. Multi-dimensional result sets are supported (nested fieldlists).
  7273. LCIDENTIFYF_SQL
  7274. SQL is the backend-supported syntax.
  7275. LCIDENTIFYF_SRVDB_CAT_CONNECT
  7276. Database connection is required for server and/or database browsing.
  7277. LCIDENTIFYF_DISABLE_WRITEBACK
  7278. (Metaconnector only) The use of this metaconnector does not allow writeback result sets.
  7279. Supported action flags: 
  7280. LCACTIDENTF_RESET
  7281. Reset action is supported
  7282. LCACTIDENTF_TRUNCATE
  7283. Truncate action is supported
  7284. LCACTIDENTF_COMMIT
  7285. Commit action is supported
  7286. LCACTIDENTF_ROLLBACK
  7287. Rollback action is supported
  7288. LCACTIDENTF_CLEAR
  7289. Clear action is supported
  7290. LCACTIDENTF_WAIT
  7291. Wait action is supported
  7292. Supported object flags:
  7293. LCOBJIDENTF_SERVER
  7294. The method supports server objects
  7295. LCOBJIDENTF_DATABASE
  7296. The method supports database objects
  7297. LCOBJIDENTF_METADATA
  7298. The method supports metadata objects
  7299. LCOBJIDENTF_PROCEDURE
  7300. The method supports procedure objects
  7301. LCOBJIDENTF_INDEX
  7302. The method supports index objects
  7303. LCOBJIDENTF_FIELD
  7304. The method supports field objects
  7305. LCOBJIDENTF_PARAMETER
  7306. The method supports parameter objects
  7307. LCOBJIDENTF_ALT_METADATA
  7308. The method supports alternate metadata objects
  7309. LCOBJIDENTF_ALT_FIELD
  7310. The method supports alternate metadata field objects
  7311. identifyNameList
  7312.     LCStream.  Optional.  
  7313. IdentifyNameList 
  7314. is set to a stream of format text list (LCSTREAMFMT_TEXT_LIST), which will contain a series of names used by the connector's backend system. This can be used to customize the presentation of options for a specific connector (for example, metadata is named "Form" for Notes, and "Table" for DB2). Use the TextListGetValue method of LCStream to retrieve individual names as required. The specific name to retrieve is indicated by the index in the text list.  Use the following constants to represent a particular name (default is Nothing):  
  7315. LCIDNAME_INDEX_SERVER
  7316. Name for server objects in this backend system.
  7317. LCIDNAME_INDEX_DATABASE
  7318. Name for database objects in this backend system.
  7319. LCIDNAME_INDEX_USERID
  7320. Name for user ID objects in this backend system.
  7321. LCIDNAME_INDEX_PASSWORD
  7322. Name for password objects in this backend system.
  7323. LCIDNAME_INDEX_METADATA
  7324. Name for metadata objects in this backend system.
  7325. LCIDNAME_INDEX_PROCEDURE
  7326. Name for procedure objects in this backend system.
  7327. LCIDNAME_INDEX_INDEX
  7328. Name for index objects in this backend system.
  7329. LCIDNAME_INDEX_FIELD
  7330. Name for metadata fields in this backend system.
  7331. LCIDNAME_INDEX_PARAMETER
  7332. Name for procedure parameters in this backend system.
  7333. LCIDNAME_INDEX_ALT_METADATA
  7334. Name for alternate metadata objects in this backend system.
  7335. LCIDNAME_INDEX_ALT_FIELD
  7336. Name for alternate metadata fields in this backend.
  7337. Example
  7338.     1S2S
  7339.     Option Public
  7340.     Uselsx "*lsxlc"
  7341.     Sub Initialize
  7342.       Dim session As New LCSession
  7343.       REM the optional parameters have been ommited in this example
  7344.       If (session.LookupConnector ("db2")) Then
  7345.         Print "DB2 connectivity installed."
  7346.       Else
  7347.         Print "DB2 connectivity is not installed."
  7348.       End If
  7349.     End Sub
  7350. Example Output
  7351.     DB2 connectivity installed.
  7352. &Arial
  7353. This method looks up a metaconnector name to determine if it exists and returns information about the metaconnector.  
  7354. Call 
  7355. thisSession.
  7356. LookupMetaConnector
  7357. (metaconnectorName, connectorCode, tokenBase, identifyFlagList, identifyNameList)
  7358. Parameters
  7359.     1S2S
  7360. metaconnectorName
  7361.     String.  The name of the metaconnector to look up. 
  7362. connectorCode
  7363.     Long.  Optional.  The Connector code of the metaconnector.  
  7364. tokenBase
  7365.     Long. Optional.  The tokenbase for this metaconnector.  
  7366. identifyFlagList
  7367.     LCStream.  Optional.  
  7368. IdentifyFlagList
  7369.  is set to a stream of format number list (LCSTREAMFMT_NUMBER_LIST), which will contain a series of flags from the connector.  Use the NumberListGetValue method of LCStream to retrieve individual flag values as required.  The specific flags to retrieve are indicated by the index in the number list.  Use the following constants to represent a particular set of flags:  
  7370. LCIDFLAG_INDEX_CONNECTOR
  7371. Connector flags
  7372. LCIDENTIFYF_XXX
  7373. LCIDFLAG_INDEX_ACTION
  7374. Support actions for LCConnection.Action method
  7375. LCACTIDENTF_XXX
  7376. LCIDFLAG_INDEX_OBJECT_CATALOG    
  7377. Support objects for LCConnection.Catalog method
  7378. LCOBJIDENTF_XXX
  7379. LCIDFLAG_INDEX_OBJECT_CREATE
  7380. Support objects for LCConnection.Catalog method
  7381. LCOBJIDENTF_XXX
  7382. LCIDFLAG_INDEX_OBJECT_DROP
  7383. Support objects for LCConnection.Catalog method
  7384. LCOBJIDENTF_XXX
  7385. The following are the valid flag values.  Each flag set is composed of zero or more of the corresponding flags OR-ed together:  
  7386. Supported Connector flags:
  7387. LCIDENTIFYF_SINGLE_THREAD
  7388. Connector is not thread safe (NOTE: The LSX LC will properly serialize access to this connector to avoid threading problems.
  7389. LCIDENTIFYF_ARRAY_READ
  7390. Array reads (more efficient handling of RecordCount > 1 for Fetch method) are supported.
  7391. LCIDENTIFYF_ARRAY_WRITE
  7392. Array writes (more efficient handling of RecordCount > 1 for Insert, Update, and/or Remove methods) are supported.
  7393. LCIDENTIFYF_SINGLE_METADATA
  7394. All data is represented by a single metadata (for example, the File connector has only one 'metadata' description)
  7395. LCIDENTIFYF_WRITEBACK
  7396. Writeback functionality is available
  7397. LCIDENTIFYF_SCROLLING
  7398. Scrolling result sets are available (currently not supported by any connectors).
  7399. LCIDENTIFYF_MULTI_VALUE
  7400. Multi-value types (Binary stream formats for text, number, and datetime lists) are fully supported by the backend. 
  7401. LCIDENTIFYF_MULTI_DIMENSION
  7402. Multi-dimensional result sets are supported (nested fieldlists).
  7403. LCIDENTIFYF_SQL
  7404. SQL is the backend-supported syntax.
  7405. LCIDENTIFYF_SRVDB_CAT_CONNECT
  7406. Database connection is required for server and/or database browsing.
  7407. LCIDENTIFYF_DISABLE_WRITEBACK
  7408. (Metaconnector only) The use of this metaconnector does not allow writeback result sets.
  7409. Supported action flags: 
  7410. LCACTIDENTF_RESET
  7411. Reset action is supported
  7412. LCACTIDENTF_TRUNCATE
  7413. Truncate action is supported
  7414. LCACTIDENTF_COMMIT
  7415. Commit action is supported
  7416. LCACTIDENTF_ROLLBACK
  7417. Rollback action is supported
  7418. LCACTIDENTF_CLEAR
  7419. Clear action is supported
  7420. LCACTIDENTF_WAIT
  7421. Wait action is supported
  7422. Supported object flags:
  7423. LCOBJIDENTF_SERVER
  7424. The method supports server objects
  7425. LCOBJIDENTF_DATABASE
  7426. The method supports database objects
  7427. LCOBJIDENTF_METADATA
  7428. The method supports metadata objects
  7429. LCOBJIDENTF_PROCEDURE
  7430. The method supports procedure objects
  7431. LCOBJIDENTF_INDEX
  7432. The method supports index objects
  7433. LCOBJIDENTF_FIELD
  7434. The method supports field objects
  7435. LCOBJIDENTF_PARAMETER
  7436. The method supports parameter objects
  7437. LCOBJIDENTF_ALT_METADATA
  7438. The method supports alternate metadata objects
  7439. LCOBJIDENTF_ALT_FIELD
  7440. The method supports alternate metadata field objects
  7441. identifyNameList
  7442.     LCStream.  Optional.  
  7443. IdentifyNameList 
  7444. is set to a stream of format text list (LCSTREAMFMT_TEXT_LIST), which will contain a series of names used by the connector's backend system. This can be used to customize the presentation of options for a specific connector (for example, metadata is named "Form" for Notes, and "Table" for DB2). Use the TextListGetValue method of LCStream to retrieve individual names as required. The specific name to retrieve is indicated by the index in the text list.  Use the following constants to represent a particular name (default is Nothing):  
  7445. LCIDNAME_INDEX_SERVER
  7446. Name for server objects in this backend system.
  7447. LCIDNAME_INDEX_DATABASE
  7448. Name for database objects in this backend system.
  7449. LCIDNAME_INDEX_USERID
  7450. Name for user ID objects in this backend system.
  7451. LCIDNAME_INDEX_PASSWORD
  7452. Name for password objects in this backend system.
  7453. LCIDNAME_INDEX_METADATA
  7454. Name for metadata objects in this backend system.
  7455. LCIDNAME_INDEX_PROCEDURE
  7456. Name for procedure objects in this backend system.
  7457. LCIDNAME_INDEX_INDEX
  7458. Name for index objects in this backend system.
  7459. LCIDNAME_INDEX_FIELD
  7460. Name for metadata fields in this backend system.
  7461. LCIDNAME_INDEX_PARAMETER
  7462. Name for procedure parameters in this backend system.
  7463. LCIDNAME_INDEX_ALT_METADATA
  7464. Name for alternate metadata objects in this backend system.
  7465. LCIDNAME_INDEX_ALT_FIELD
  7466. Name for alternate metadata fields in this backend.
  7467. Example
  7468.     1S2S
  7469.     Option Public
  7470.     Uselsx "*lsxlc"
  7471.     Sub Initialize
  7472.       Dim session As New LCSession
  7473.       REM the optional parameters have been ommited in this example
  7474.       If (session.LookupMetaConnector ("order")) Then
  7475.         Print "The 'order' meta connector is present."
  7476.       Else
  7477.         Print "The 'order' meta connector is not present."
  7478.       End If
  7479.     End Sub
  7480. Example Output
  7481.     The 'order' meta connector is present.
  7482. &Arial
  7483. This method forces a script execution to sleep for the specified length of time. 
  7484.  thisSession.
  7485. Sleep
  7486. (milliSeconds)
  7487. Parameters
  7488.     1S2S
  7489. milliSeconds
  7490.     Long. Number of milliseconds to sleep. 
  7491. Example
  7492.     1S2S
  7493.     Option Public
  7494.     Uselsx "*lsxlc"
  7495.     Sub Initialize
  7496.       Dim session As New LCSession
  7497.       Print "The Time is " Cstr(Now)
  7498.       session.Sleep (5000)
  7499.       Print "The Time is " Cstr(Now)
  7500.     End Sub
  7501. Example Output
  7502.     The Time is 9/8/98 5:23:32 PM
  7503.     The Time is 9/8/98 5:23:37 PM
  7504. &Arial
  7505. Symbol
  7506. This chapter provides information about the Lotus Connector LCStream class methods and properties.  
  7507. Overview
  7508. The LCStream class represents text and binary datatypes. A stream value is a variable length list of characters or bytes. Streams come in two basic types, text and binary, represented by the format of the stream. Specific format information indicates either the character set (for text) or the binary format (for binary). 
  7509. In addition to specific text formats, there is also the option to designate a text stream as "Native," or LCSTREAMFMT_NATIVE, indicating the characters of the stream should be stored in the local platform specific character set. (Note that the LSX LC uses unicode for text representation.  To create a unicode stream, use LCSTREAMFMT_UNICODE.)  Likewise, in addition to the basic binary designation (BLOB or LCSTREAMFMT_BLOB), there are four specialized binary formats: 
  7510. LCSTREAMFMT_COMPOSITE - Notes composite (Notes Rich Text format)
  7511. LCSTREAMFMT_TEXT_LIST - list of LMBCS text strings
  7512. LCSTREAMFMT_NUMBER_LIST - list of double precision floating point values and ranges
  7513. LCSTREAMFMT_DATETIME_LIST - list of LCDatetime values and ranges
  7514. There are special methods dedicated to working with the three "LIST" formats. (The maximum storage size of the "LIST" format stream object is 64K.)
  7515. Type TEXT format and values
  7516.     Type constant
  7517.     LCTYPE_TEXT
  7518.     Description
  7519.     Locale-specific character stream
  7520.     Other
  7521.     Maximum Length = 4 Gb
  7522.     Formats: LMBCS, Native, or any valid character set (see Appendix D)
  7523. Type BINARY format and values
  7524.     Type constant
  7525.     LCTYPE_BINARY
  7526.     Value
  7527.     LCSTREAM structure
  7528.     Description
  7529.     Optionally formatted byte stream
  7530.     Other
  7531.     Maximum Length = 4 Gb
  7532.     Formats: BLOB (unformatted), Notes rich text, Notes text list, Notes number list, Notes datetime list
  7533. A stream value contains the following information:
  7534. Maximum Length    The maximum valid data length for this stream. Any value is valid, with a value of zero indicating no maximum length.
  7535. Stream Flags    Zero or more stream flags OR-ed together. See Stream Flags description below.
  7536. Stream Format    Stream data format. See Stream Format description below. If stream format is not a list type, it is a one element string or a binary stream. 
  7537. Data Length    Length, in bytes, of data in the data buffer field.
  7538. Stream flags
  7539. The StreamFlags of a stream determine the behavior of the stream under particular circumstances:
  7540. LCSTREAMF_FIXED    Buffer length is always MaxLength, and the buffer is allocated once and never changed. MaxLength cannot be zero. Without this flag, the buffer is dynamically reallocated to accommodate assigned values (within MaxLength).
  7541. LCSTREAMF_TRUNCATE    Stream will automatically truncate assigned and converted values if the stream cannot accommodate them. Without this flag, assigning a value too long for the stream will generate an overflow error.
  7542. LCSTREAMF_NO_CASE    Stream is not case-sensitive. During text stream comparisons, a non case-sensitive comparison is done when either or both streams have this flag set. Without this flag, text to text comparisons are case sensitive.
  7543. LCSTREAMF_NO_TRIM    Stream should not be trimmed. This will notify Connectors and the Trim method that trimming of trailing spaces should not be performed for this stream.
  7544. Stream format
  7545. The Format of a stream indicates the structure of the stream data. The flag LCSTREAMFMTF_BINARY indicates whether the stream is of a binary format or a text format. Text formats are represented by either a character set constant or the following special value:
  7546. LCSTREAMFMT_NATIVE    The same as the native character set of the local machine
  7547. For a complete list of supported character sets, see Appendix D. 
  7548. Binary formats must be one of the following values:  
  7549. LCSTREAMFMT_BLOB    Unformatted (
  7550. inary 
  7551. arge 
  7552. ject)
  7553. LCSTREAMFMT_COMPOSITE    Lotus Notes format Composite (also known as Rich Text or Compound Text)
  7554. LCSTREAMFMT_TEXT_LIST    Lotus Notes format Text List (multi-value list of text values)
  7555. LCSTREAMFMT_NUMBER_LIST    Lotus Notes format Number List (multi-value list of number values and ranges)
  7556. LCSTREAMFMT_DATETIME_LIST    Lotus Notes format Datetime List (multi-value list of datetime values and ranges)
  7557. Conversion is supported between stream formats excluding certain conversions. If composite is involved in a conversion, it must be the source and the target must be BLOB or a text format. In addition, conversion between number list and datetime list is not supported.
  7558. Stream Buffer
  7559. The maximum length of a stream indicates the maximum valid length in bytes for a value assigned to this stream. This can be any value up to 4 Gb. A value of zero indicates that the stream has no maximum length. 
  7560. LCStream Properties
  7561. Flags    Long.  The flags for the stream.  
  7562. Format    Long.  The stream data format.  
  7563. Length    Long.  The length of the stream data. 
  7564. MaxLength    Long. The maximum valid data length for the stream.  Any value is valid, with a value of zero indicating no maximum length. [Read-Only]
  7565. Text    String.  Text representation of the stream.  
  7566. Value    Variant.  An array.  If contents of Stream is a string , it
  7567. ,s a one element array.  If numbers or datatimes, it is an array of numbers.  It can also be an array of strings for TextLists.  
  7568. ValueCount    Long.  Number of elements in a stream.  Valid only for List<Type> formats.  [Read-Only]
  7569. RangeCount    Long. Range of elements in a stream.  Valid only for List<Type> formats. [Read-Only]
  7570. &Arial
  7571. This is the constructor method for the LCStream class.  It creates an empty LCStream object and optionally assigns initial properties.  
  7572. variableName As 
  7573. LCStream(maxLength, flags, format)
  7574. Parameters
  7575.     1S2S
  7576. maxLength
  7577.     Long.  Optional.  Maximum length that this stream's data can be. A value of zero indicates no maximum, which is not valid with the flag LCSTREAMF_FIXED.  Default is 0.  
  7578. streamFlags    
  7579. Long.  Optional.  Flags for this stream.  When using the flag LCSTREAMF_FIXED to create a fixed-length stream, the stream's data buffer is allocated to be maxLength bytes. Refer to the Stream Flags section for a description of the flags.  The default is 0.  
  7580. format
  7581.     Long.  Optional.  Initial stream format to be assigned to the stream.  The default is LCSTREAMFMT_UNICODE.
  7582. &Arial
  7583. This method clears a stream value and properties. 
  7584. lcStream.
  7585. Clear
  7586. Example
  7587.     1S2S
  7588.     Option Public
  7589.     Uselsx "*lsxlc"
  7590.     Sub Initialize
  7591.       Dim message As New LCStream
  7592.       message.Text = "Hello World"
  7593.       Message.Clear
  7594.       If (Len(message.Text) > 0) Then
  7595.         Print "the message is " & message.Text
  7596.       Else
  7597.         Print "the message is blank"
  7598.       End If
  7599.     End Sub
  7600. Example Output
  7601.     the message is blank
  7602. &Arial
  7603. This method appends one stream to another to yield a third LCStream object containing the data from both.  
  7604. Call 
  7605. newStream.
  7606. Append
  7607. (stream1, stream2)
  7608. Parameters
  7609.     1S2S
  7610. stream1
  7611.     LCStream.  The stream to which you want to append.  The 
  7612. newStream 
  7613. will have this stream
  7614. ,s format.  
  7615. stream2
  7616.     LCStream.  The stream to append to 
  7617. stream1
  7618. .  If this stream is a different format than 
  7619. stream1
  7620. , it will first be converted to the format of 
  7621. stream1
  7622. Example
  7623.     1S2S
  7624.     Option Public
  7625.     Option Explicit
  7626.     Uselsx "*lsxlc"
  7627.     Sub Initialize
  7628.       Dim stream1 As New LCStream (64, , LCSTREAMFMT_ASCII)
  7629.       Dim stream2 As New LCStream (64, , LCSTREAMFMT_ASCII)
  7630.       Dim together As New LCStream (64, , LCSTREAMFMT_ASCII)
  7631.       stream1.Text = "The quick brown fox "
  7632.       stream2.Text = "jumped over the lazy dog."
  7633.       Call together.Append (stream1, stream2)
  7634.       Print "The combined stream is " & together.Text
  7635.     End Sub
  7636. Example Output
  7637.     The combined stream is The quick brown fox jumped over the lazy dog.
  7638. &Arial
  7639. This method compares two LCStream objects to determine if they are equal or unequal.  If the streams are of different formats, they will first be converted to the same format.  If both streams are text, they may be converted to unicode for comparison.  In a text comparison, if either stream has the flag LCSTREAMF_NO_CASE set, then a case-insensitive text comparison will be done.  
  7640. result = thisStream.
  7641. Compare
  7642. (baseStream)
  7643. Parameters
  7644.     1S2S
  7645. baseStream
  7646.     LCStream.  The stream to which you want to compare 
  7647. thisStream
  7648. Returns
  7649.     1S2S
  7650. result
  7651.     Result of the comparison:  
  7652. Result
  7653.  > 0 (positive): 
  7654. thisStream
  7655.  is greater than 
  7656. baseStream.
  7657. Result
  7658.  < 0 (negative): 
  7659. thisStream
  7660.  is less than 
  7661. baseStream.
  7662. Result
  7663.  = 0: 
  7664. thisStream
  7665.  is equal to 
  7666. baseStream.
  7667. Example
  7668.     1S2S
  7669.     Option Public
  7670.     Option Explicit
  7671.     Uselsx "*lsxlc"
  7672.     Sub Initialize
  7673.       Dim stream1 As New LCStream (64, LCSTREAMF_NO_CASE, LCSTREAMFMT_ASCII)
  7674.       Dim stream2 As New LCStream (64, , LCSTREAMFMT_ASCII)
  7675.       Dim match As Long
  7676.       stream1.Text = "The quick brown fox"
  7677.       stream2.Text = "the QuiCK BROWn fOX"
  7678.       match = stream1.Compare (stream2)
  7679.       If (match = 0) Then
  7680.         Print "The first string is the same as the second."
  7681.       Elseif (match > 0) Then
  7682.         Print "The first string comes before the second."
  7683.       Else
  7684.         Print "The first string comes after the second."
  7685.       End If
  7686.     End Sub
  7687. Example Output
  7688.     The first string is the same as the second.
  7689. &Arial
  7690. This method obtains a stream in a particular stream format.
  7691. Call 
  7692. newStream.
  7693. Convert 
  7694. (srcStream, flags, format)
  7695. Parameters
  7696.     1S2S
  7697. srcStream
  7698.     LCStream.  Stream whose data is to be converted.
  7699. flags
  7700.     Long.  Flags that determine aspects of the conversion. Zero or more of the following values, OR-ed together:
  7701. LCCONVERTF_REFERENCE
  7702. Allows the destination stream to reference the source stream if they are of the same format. Otherwise, a data copy is always required.  See Usage Notes below.
  7703. LCCONVERTF_PRESERVE
  7704. Preserves the destination stream meta-information (MaxLength and StreamFlags). Otherwise, they are taken from the source stream.
  7705. LCCONVERTF_FORCE_TEXT
  7706. Overrides the DECSTranslation setting of 0 or 1 in the NOTES.INI file for text translation and forces it to occur between any different text character sets.
  7707. format
  7708.     Long.  Stream format of the destination data.
  7709. Notes
  7710.     1S2S
  7711. The use of the flag LCCONVERTF_REFERENCE supports an efficient method of obtaining stream data in a particular format. When requesting a stream in a specific format and using this flag, if the stream data is already in the same format, no data copying is done. The new stream simply references the data of the original stream. 
  7712. When working with a stream that references another stream
  7713. ,s data, do delete the original stream until the referencing stream is no longer needed.  
  7714. Example
  7715.     1S2S
  7716.     Option Public
  7717.     Uselsx "*lsxlc"
  7718.     Sub Initialize
  7719.       Dim msga As New LCStream (0, 0, LCSTREAMFMT_ASCII)
  7720.       Dim msgu As New LCStream
  7721.       msga.Text = "Peter Pan lived in Never Never Land."
  7722.       Call msgu.Convert (msga, 0, LCSTREAMFMT_UNICODE)
  7723.       Print "The length of the msg in ASCII is " & msga.Length & " while the length in Unicode is " & msgu.Length
  7724.     End Sub
  7725. Example Output
  7726.     The length of the msg in ASCII is 36 while the length in Unicode is 72
  7727. &Arial
  7728. This method copies the value one LCStream object to another.  
  7729. Set newStream = lcStream.
  7730. Parameters
  7731.     1S2S
  7732. lcStream
  7733.     LCStream.  Source stream to be copied. 
  7734. Returns
  7735.     1S2S
  7736. newStream
  7737.     LCStream.  The copy of the original stream. 
  7738. Example
  7739.     1S2S
  7740.     Option Public
  7741.     Uselsx "*lsxlc"
  7742.     Sub Initialize
  7743.       Dim msg As New LCStream
  7744.       Dim newmsg As LCstream
  7745.       msg.Text = "Peter Pan"
  7746.       Set newmsg = msg.Copy
  7747.       Print "The original msg is " & msg.Text
  7748.       Print "The new msg is " & newmsg.Text
  7749.     End Sub
  7750. Example Output
  7751.     The original msg is Peter Pan
  7752.     The new msg is Peter Pan
  7753. &Arial
  7754. This method creates a stream
  7755. from part of the data of an existing stream. 
  7756. Since this method works off of byte counts, it is most useful if you know you have single or double byte character sets.  It
  7757. ,s not as useful if there
  7758. ,s a mix, like LMBCS or CodePage932 (mix of single and double byte character sets).  
  7759. Call 
  7760. lcStream.
  7761. Extract 
  7762. (srcStream, offset, length)
  7763. Parameters
  7764.     1S2S
  7765. srcStream
  7766.     LCStream.  Stream supplying the data from which the new stream is created.
  7767. offset    
  7768. Long.  Byte position in 
  7769. SrcStream
  7770.  of the start of the new stream. If the offset exceeds the length of the stream data, the new stream is cleared.
  7771. length
  7772.     Long.  Length in bytes of the new stream copied from 
  7773. SrcStream
  7774. . If the length copies more bytes than are available, the copy stops at the end of the source data.
  7775. Example
  7776.     1S2S
  7777.     Option Public
  7778.     Uselsx "*lsxlc"
  7779.     Sub Initialize
  7780.       Dim msg As New LCStream (, , LCSTREAMFMT_ASCII)
  7781.       Dim part As New LCStream
  7782.       msg.Text = "the quick brown fox jumped over the lazy dog"
  7783.       Call part.Extract (msg, 11, 5)
  7784.       Print "The 5 bytes, starting at the 11th byte is " & part.Text
  7785.     End Sub
  7786. Example Output
  7787.     The 5 bytes, starting at the 11th byte is brown
  7788. &Arial
  7789. This method combines one stream into another, producing a new stream.  
  7790. Call 
  7791. lcStream.
  7792. Merge
  7793. (stream1, offset, stream2)
  7794. Parameters
  7795.     1S2S
  7796. stream1
  7797.     LCStream.  
  7798. stream2
  7799.  is combined into 
  7800. stream1
  7801. offset
  7802.     Long.  Position in 
  7803. lcStream
  7804.  of the first byte of 
  7805. stream2
  7806. stream2
  7807.  is inserted into 
  7808. stream1
  7809.  starting at the position indicated by 
  7810. offset
  7811. stream2
  7812.     LCStream.  
  7813. stream2
  7814.  is combined into 
  7815. stream1
  7816. . If 
  7817. stream2
  7818.  is a different format than 
  7819. stream1
  7820. , it is converted to the format of 
  7821. stream1
  7822.  before being merged.
  7823. Example
  7824.     1S2S
  7825.     Option Public
  7826.     Uselsx "*lsxlc"
  7827.     Sub Initialize
  7828.       Dim msg As New LCStream        ' Unicode is the default format for streams
  7829.       Dim part As New LCStream
  7830.       Dim newmsg As New LCStream
  7831.       msg.Text = "the quick brown fox jumped over the lazy dog"
  7832.       part.Text = "very "
  7833.       REM counting start with 1 and each character in a unicode string is 2 bytes
  7834.       Call newmsg.Merge (msg, 9, part)
  7835.       Print "The message, after inserting '" & part.Text"' starting at the 9th byte, is " & newmsg.Text
  7836.     End Sub
  7837. Example Output
  7838.     The message, after inserting 'very ' starting at the 9th byte, is the very quick brown fox jumped over the lazy dog
  7839. &Arial
  7840. This method resets the format an LCStream object, without affecting the data or other properties. 
  7841. This method may be useful when storing multiple language strings in a single database and you need to switch the format. A typical case would be web browsers accessing an application from different countries and requiring different translations of the content. The different translations could be stored in a single database.  Since most RDBMS environments do not permit multiple languages within a single database, the translations could be selected based on a key. The contents would be treated as blobs and the format 'reset' to the correct character set before being passed to the web browser.  
  7842. Call 
  7843. lcStream.
  7844. ResetFormat 
  7845. (format)
  7846. Parameters
  7847.     1S2S
  7848. format
  7849.     Long.  The new format for the stream object.   See the list of stream formats in the section 
  7850. &Stream Formats
  7851. 8 earlier in this chapter.  
  7852. Example
  7853.     1S2S
  7854.     Option Public
  7855.     Uselsx "*lsxlc"
  7856.     Sub Initialize
  7857.       Dim msg As New LCStream (0, 0, LCSTREAMFMT_ASCII)
  7858.       msg.Text = "Peter Pan lived in Never Never Land."
  7859.       Print "The length of the msg is " & msg.Length
  7860.       Call msg.ResetFormat (LCSTREAMFMT_UNICODE)
  7861.       Print "The length of the msg and its contents have not changed but the format is now Unicode"
  7862.       Print "The length of the msg is " & msg.Length
  7863.     End Sub
  7864. Example Output
  7865.     The length of the msg is 36
  7866.     The length of the msg and its contents have not changed but the format is now Unicode
  7867.     The length of the msg is 36
  7868. &Arial
  7869. This method sets the format for an LCStream object, converting the stream data if necessary.  This method may be more efficient than the Convert method, since a second stream is not required.  
  7870. Call 
  7871. lcStream.
  7872. setFormat 
  7873. (format)
  7874. Parameters
  7875.     1S2S
  7876. format
  7877.     Long.  The format to which to set the stream object. See the list of stream formats in the section 
  7878. &Stream Formats
  7879. 8 earlier in this chapter.  The data will be converted to this stream format.  
  7880. Example
  7881.     1S2S
  7882.     Option Public
  7883.     Uselsx "*lsxlc"
  7884.     Sub Initialize
  7885.       Dim msg As New LCStream (0, 0, LCSTREAMFMT_ASCII)
  7886.       msg.Text = "Peter Pan lived in Never Never Land."
  7887.       Print "The length of the msg in ASCII is " & msg.Length
  7888.       Call msg.SetFormat (LCSTREAMFMT_UNICODE)
  7889.       Print "The length of the msg in Unicode is " & msg.Length
  7890.     End Sub
  7891. Example Output
  7892.     The length of the msg in ASCII is 36
  7893.     The length of the msg in Unicode is 72
  7894. &Arial
  7895. This method trims trailing spaces from text streams.  If the stream is not a text format or if the stream has the flag LCSTREAM_NO_TRIM set, then this method will perform no action.  
  7896. lcStream.
  7897. Example
  7898.     1S2S
  7899.     Option Public
  7900.     Uselsx "*lsxlc"
  7901.     Sub Initialize
  7902.       Dim msg As New LCStream
  7903.       msg.Text = "   this has space ar the start and the end     "
  7904.       msg.Trim ' trim trailing spaces (not leading ones)
  7905.       Print "The msg is *" & msg.Text & "*"
  7906.     End Sub
  7907. Example Output
  7908.     The msg is *   this has space ar the start and the end*
  7909. &Arial
  7910. This method gets a range of values in an LCStream DatetimeList object.  
  7911. The stream must be of the proper format, i.e., LCSTREAMFMT_DATETIME_LIST.  
  7912. Call 
  7913. lcStream.
  7914. DatetimeListGetRange 
  7915. (index, startDatetime, endDatetime)
  7916. Parameters
  7917.     1S2S
  7918. index    
  7919. Long. Index position of the range in the datetimeList stream.
  7920. startDatetime    
  7921. LCDatetime.  Output.  The starting datetime of the range. 
  7922. endDatetime    
  7923. LCDatetime. Output.  The ending datetime of the range.
  7924. Example
  7925.     1S2S
  7926.     Option Public
  7927.     Uselsx "*lsxlc"
  7928.     Sub Initialize
  7929.       Dim datelist As New LCStream (0, 0, LCSTREAMFMT_DATETIME_LIST)
  7930.       Dim start As New LCDatetime
  7931.       Dim finish As New LCDatetime
  7932.       datelist.Text = "12/25/50,7:00AM,12/31/99 12:59PM,1/1/2000 12:00AM," & _
  7933.       "5:00PM - 6:00PM,6:30AM,5/1/96 - 5/31/96"
  7934.       Call datelist.DatetimeListGetRange (1, start, finish)
  7935.       Print "The new 1st range is " & start.Text & " - " & finish.Text
  7936.     End Sub
  7937. Example Output
  7938.     The new 1st range is 05:00:00 PM - 06:00:00 PM
  7939. &Arial
  7940. This method retrieves a datetime value from a specified place in a DateTimeList LCStream object. 
  7941. The stream must be of the proper format, i.e., LCSTREAMFMT_DATETIME_LIST.  
  7942. Call 
  7943. lcStream.
  7944. DatetimeListGetValue
  7945. (index, datetime)
  7946. Parameters
  7947.     1S2S
  7948. index
  7949.     Long.  Index position of the datetime value to retrieve. 
  7950. datetime
  7951.     LCDatetime.  The datetime value. 
  7952. Example
  7953.     1S2S
  7954.     Option Public
  7955.     Uselsx "*lsxlc"
  7956.     Sub Initialize
  7957.       Dim datelist As New LCStream (0, 0, LCSTREAMFMT_DATETIME_LIST)
  7958.       Dim num As New LCDatetime
  7959.       datelist.Text = "12/25/50,7:00AM,12/31/99 12:59PM,1/1/2000 12:00AM," & _
  7960.       "5:00PM - 6:00PM,6:30AM,5/1/96 - 5/31/96"
  7961.       Call datelist.DatetimeListgetValue (3, num)
  7962.       Print "The new 3rd datetime is " & num.Text
  7963.     End Sub
  7964. Example Output
  7965.     The new 3rd datetime is 12/31/1999 12:59:00 PM
  7966. &Arial
  7967. This method inserts inserts a datetime range into a datetime list stream object. 
  7968. The stream must be of the proper format, i.e., LCSTREAMFMT_DATETIME_LIST.  
  7969. Call 
  7970. datetimeNew.
  7971. DatetimeListInsertRange 
  7972. (index, startDatetime, endDatetime)
  7973. Parameters
  7974.     1S2S
  7975. index
  7976.     Long.  The position at which to insert the value(s).
  7977. startDatetime
  7978.     LCDatetime.  The first datetime value for the range. 
  7979. endDatetime
  7980.     LCDatetime.  The second datetime value for the range.
  7981. Example
  7982.     1S2S
  7983.     Option Public
  7984.     Uselsx "*lsxlc"
  7985.     Sub Initialize
  7986.       Dim datelist As New LCStream (0, 0, LCSTREAMFMT_DATETIME_LIST)
  7987.       Dim start As New LCDatetime
  7988.       Dim finish As New LCDatetime
  7989.       start.Text = "8/6/1941"
  7990.       finish.Text = "7/1/1997"
  7991.       datelist.Text = "12/25/50, 7:00AM, 12/31/99 12:59PM, 1/1/2000 12:00AM, 5:00PM - 6:00PM, 6:30AM, 5/1/96 - 5/31/96"
  7992.       Call datelist.DatetimeListInsertRange (2, start, finish)
  7993.       Print "The new stream is " & datelist.Text
  7994.     End Sub
  7995. Example Output
  7996.     The new stream is 12/25/1950, 07:00:00 AM, 12/31/1999 12:59:00 PM, 01/01/2000 12:00:00 AM, 06:30:00 AM, 05:00:00 PM - 06:00:00 PM, 08/06/1941 - 07/01/1997, 05/01/1996 - 05/31/1996
  7997. &Arial
  7998. This method inserts a value into a datetime list LCStream object.  
  7999. The stream must be of the proper format, i.e., LCSTREAMFMT_DATETIME_LIST.  
  8000. Call 
  8001. lcStream.
  8002. DatetimeListInsertValue 
  8003. (index, datetime)
  8004. Parameters
  8005.     1S2S
  8006. index
  8007.     Long.  The index position at which to insert the value.  
  8008. datetime
  8009.     LCDatetime.  The datetime value to insert. 
  8010. Example
  8011.     1S2S
  8012.     Option Public
  8013.     Uselsx "*lsxlc"
  8014.     Sub Initialize
  8015.       Dim datelist As New LCStream (0, 0, LCSTREAMFMT_DATETIME_LIST)
  8016.       Dim clock As New LCDatetime
  8017.       clock.SetCurrent
  8018.       datelist.Text = "12/25/50,7:00AM,12/31/99 12:59PM,1/1/2000 12:00AM," & _
  8019.       "5:00PM - 6:00PM,6:30AM,5/1/96 - 5/31/96"
  8020.       Call datelist.DatetimeListInsertValue (3, clock)
  8021.       Print "The new stream is " & datelist.Text
  8022.     End Sub
  8023. Example Output
  8024.     The new stream is 12/25/1950, 07:00:00 AM, 09/08/1998 05:22:23.96 PM, 12/31/1999 12:59:00 PM, 01/01/2000 12:00:00 AM, 06:30:00 AM, 05:00:00 PM - 06:00:00 PM, 05/01/1996 - 05/31/1996
  8025. &Arial
  8026. This method removes a range from a datetime list LCStream object. 
  8027. The stream must be of the proper format, i.e., LCSTREAMFMT_DATETIME_LIST.  
  8028. Call 
  8029. lcStream.
  8030. DatetimeListRemoveRange 
  8031. (index)
  8032. Parameters
  8033.     1S2S
  8034. index
  8035.     Long.  The position of the value to remove.  
  8036. Example
  8037.     1S2S
  8038.     Option Public
  8039.     Uselsx "*lsxlc"
  8040.     Sub Initialize
  8041.       Dim datelist As New LCStream (0, 0, LCSTREAMFMT_DATETIME_LIST)
  8042.       datelist.Text = "12/25/50,7:00AM,12/31/99 12:59PM,1/1/2000 12:00AM," & _
  8043.       "5:00PM - 6:00PM,6:30AM,5/1/96 - 5/31/96"
  8044.       Call datelist.DatetimeListRemoveRange (2)
  8045.       Print "The new stream is " & datelist.Text
  8046.     End Sub
  8047. Example Output
  8048.     The new stream is 12/25/1950, 07:00:00 AM, 12/31/1999 12:59:00 PM, 01/01/2000 12:00:00 AM, 06:30:00 AM, 05:00:00 PM - 06:00:00 PM
  8049. &Arial
  8050. This method removes a value from a datetime list LCStream object. 
  8051. The stream must be of the proper format, i.e., LCSTREAMFMT_DATETIME_LIST.  
  8052. Call 
  8053. lcStream.
  8054. DatetimeListRemoveValue
  8055. (index)
  8056. Parameters
  8057.     1S2S
  8058. index
  8059.     Long.  The position of the value to remove.  
  8060. Example
  8061.     1S2S
  8062.     Option Public
  8063.     Uselsx "*lsxlc"
  8064.     Sub Initialize
  8065.       Dim datelist As New LCStream (0, 0, LCSTREAMFMT_DATETIME_LIST)
  8066.       datelist.Text = "12/25/50,7:00AM,12/31/99 12:59PM,1/1/2000 12:00AM," & _
  8067.       "5:00PM - 6:00PM,6:30AM,5/1/96 - 5/31/96"
  8068.       Call datelist.DatetimeListRemoveValue (3)
  8069.       Print "The new stream is " & datelist.Text
  8070.     End Sub
  8071. Example Output
  8072.     The new stream is 12/25/1950, 07:00:00 AM, 01/01/2000 12:00:00 AM, 06:30:00 AM, 05:00:00 PM - 06:00:00 PM, 05/01/1996 - 05/31/1996
  8073. &Arial
  8074. This method selects a particular range from a number list LCStream object.
  8075. The stream must be of the proper format, i.e., LCSTREAMFMT_NUMBER_LIST.  
  8076. Call 
  8077. lcStream.
  8078. NumberListGetRange 
  8079. (index, startNumber, endNumber)
  8080. Parameters
  8081.     1S2S
  8082. index
  8083.     Long.  The position of the range to select.  
  8084. startNumber
  8085.     Double.  Output.  The first number value for the range. 
  8086. endNumber
  8087.     Double.  Output.  The second number value for the range.
  8088. Example
  8089.     1S2S
  8090.     Option Public
  8091.     Uselsx "*lsxlc"
  8092.     Sub Initialize
  8093.       Dim numlist As New LCStream (0, 0, LCSTREAMFMT_NUMBER_LIST)
  8094.       Dim start As Double
  8095.       Dim finish As Double
  8096.       numlist.Text = "1.11, 22.2, 33, 4.444, 50-55, 66, 77-79"
  8097.       Call numlist.NumberListGetRange (1, start, finish)
  8098.       Print "The new 1st range is " & start & " - " & finish
  8099.     End Sub
  8100. Example Output
  8101.     The new 1st range is 50 - 55
  8102. &Arial
  8103. This method retrieves a specified value from a number list LCStream object. 
  8104. The stream must be of the proper format, i.e., LCSTREAMFMT_NUMBER_LIST.  
  8105. Call 
  8106. lcStream.
  8107. NumberListGetValue 
  8108. (index, number)
  8109. Parameters
  8110.     1S2S
  8111. index
  8112.     Long.  The index position of the value to retrieve.  
  8113. number
  8114.     Double.  The variable in which to place the value.  
  8115. Example
  8116.     1S2S
  8117.     Option Public
  8118.     Uselsx "*lsxlc"
  8119.     Sub Initialize
  8120.       Dim numlist As New LCStream (0, 0, LCSTREAMFMT_NUMBER_LIST)
  8121.       Dim num As Double
  8122.       numlist.Text = "1.11, 22.2, 33, 4.444, 50-55, 66, 77-79"
  8123.       Call numlist.NumberListgetValue (3, num)
  8124.       Print "The new 3rd number is " & num
  8125.     End Sub
  8126. Example Output
  8127.     The new 3rd number is 33
  8128. &Arial
  8129. This method inserts a number range into a number list LCStream object.  
  8130. The stream must be of the proper format, i.e., LCSTREAMFMT_NUMBER_LIST.  
  8131. Call 
  8132. lcStream.
  8133. NumberListInsertRange
  8134. (index, startNumber, endNumber)
  8135. Parameters
  8136.     1S2S
  8137. index
  8138.     Long.  The index position at which to insert the value. 
  8139. startNumber    Double.  The first number of the range. 
  8140. endNumber
  8141.     Double.  The second number of the range.  
  8142. Example
  8143.     1S2S
  8144.     Option Public
  8145.     Uselsx "*lsxlc"
  8146.     Sub Initialize
  8147.       Dim numlist As New LCStream (0, 0, LCSTREAMFMT_NUMBER_LIST)
  8148.       numlist.Text = "1.11, 22.2, 33, 4.444, 50-55, 66, 77-79"
  8149.       Call numlist.NumberListInsertRange (2, 8.8, 9.9)
  8150.       Print "The new stream is " & numlist.Text
  8151.     End Sub
  8152. Example Output
  8153.     The new stream is 1.11, 22.2, 33, 4.444, 66, 50 - 55, 8.8 - 9.9, 77 - 79
  8154. &Arial
  8155. This method inserts a value into a number list LCStream object.  
  8156. The stream must be of the proper format, i.e., LCSTREAMFMT_NUMBER_LIST.  
  8157. Call 
  8158. lcStream.
  8159. NumberListInsertValue
  8160. (index, number)
  8161. Parameters
  8162.     1S2S
  8163. index
  8164.     Long.  The position at which to insert the value. 
  8165. number
  8166.     Double.  The value to insert. 
  8167. Example
  8168.     1S2S
  8169.     Option Public
  8170.     Uselsx "*lsxlc"
  8171.     Sub Initialize
  8172.       Dim numlist As New LCStream (0, 0, LCSTREAMFMT_NUMBER_LIST)
  8173.       numlist.Text = "1.11, 22.2, 33, 4.444, 50-55, 66, 77-79"
  8174.       Call numlist.NumberListInsertValue (3, 99.99)
  8175.       Print "The new stream is " & numlist.Text
  8176.     End Sub
  8177. Example Output
  8178.     The new stream is 1.11, 22.2, 99.99, 33, 4.444, 66, 50 - 55, 77 - 79
  8179. &Arial
  8180. This method removes a range of numbers as indicated by an index from a number list LCStream object.  
  8181. The stream must be of the proper format, i.e., LCSTREAMFMT_NUMBER_LIST.  
  8182. Call 
  8183. lcStream.
  8184. NumberListRemoveRange
  8185. (index)
  8186. Parameters
  8187.     1S2S
  8188. index
  8189.     Long.  The position of the range to remove.  
  8190. Example
  8191.     1S2S
  8192.     Option Public
  8193.     Uselsx "*lsxlc"
  8194.     Sub Initialize
  8195.       Dim numlist As New LCStream (0, 0, LCSTREAMFMT_NUMBER_LIST)
  8196.       numlist.Text = "1.11, 22.2, 33, 4.444, 50-55, 66, 77-79"
  8197.       Call numlist.NumberListRemoveRange (2)
  8198.       Print "The new stream is " & numlist.Text
  8199.     End Sub
  8200. Example Output
  8201.     The new stream is 1.11, 22.2, 33, 4.444, 66, 50 - 55
  8202. &Arial
  8203. This method removes a value at a specified position from a number list LCStream object. 
  8204. The stream must be of the proper format, i.e., LCSTREAMFMT_NUMBER_LIST.  
  8205. Call 
  8206. lcStream.
  8207. NumberListRemoveValue
  8208. (index)
  8209. Parameters
  8210.     1S2S
  8211. index
  8212.     Long.  The position of the value to remove.   
  8213. Example
  8214.     1S2S
  8215.     Option Public
  8216.     Uselsx "*lsxlc"
  8217.     Sub Initialize
  8218.       Dim numlist As New LCStream (0, 0, LCSTREAMFMT_NUMBER_LIST)
  8219.       numlist.Text = "1.11, 22.2, 33, 4.444, 50-55, 66, 77-79"
  8220.       Call numlist.NumberListRemoveValue (3)
  8221.       Print "The new stream is " & numlist.Text
  8222.     End Sub
  8223. Example Output
  8224.     The new stream is 1.11, 22.2, 4.444, 66, 50 - 55, 77 - 79
  8225. &Arial
  8226. This method fetches a text list from a text list stream object and assigns it to another stream object. 
  8227. The stream must be of the proper format, i.e., LCSTREAMFMT_TEXT_LIST.  
  8228. Call 
  8229. lcStream.
  8230. TextListFetch
  8231. (index, format, stream)
  8232. Parameters
  8233.     1S2S
  8234. index
  8235.     Long.  The index position of the value to fetch.   If the index is one, this method will accept a text stream as a single-entry text list.  
  8236. format
  8237.     Long.  The format of the stream to return.  
  8238. Returns
  8239.     1S2S
  8240. stream
  8241.     LCStream.  The new stream object. 
  8242. Example
  8243.     1S2S
  8244.     Option Public
  8245.     Uselsx "*lsxlc"
  8246.     Sub Initialize
  8247.       Dim textlist As New LCStream (0, 0, LCSTREAMFMT_TEXT_LIST)
  8248.       Dim text As String
  8249.       textlist.text = "red, orange, yellow, green, blue, indigo, violet"
  8250.       Call textlist.TextListFetch (3, text)
  8251.       Print "The 3rd string in the text list is " & text
  8252.     End Sub
  8253. Example Output
  8254.     The 3rd string in the text list is yellow
  8255. &Arial
  8256. This method inserts text or a text list into a text list LCStream object.  
  8257. The stream must be of the proper format, i.e., LCSTREAMFMT_TEXT_LIST.  
  8258. Call 
  8259. lcStream.
  8260. TextListInsert
  8261. (index, stream)
  8262. Parameters
  8263.     1S2S
  8264. index
  8265.     Long.  The position at which to insert the text string. 
  8266. stream
  8267.     LCStream.  The text string to insert.  
  8268. Example
  8269.     1S2S
  8270.     Option Public
  8271.     Uselsx "*lsxlc"
  8272.     Sub Initialize
  8273.       Dim textlist As New LCStream (0, 0, LCSTREAMFMT_TEXT_LIST)
  8274.       textlist.text = "red, orange, yellow, green, blue, indigo, violet"
  8275.       Call textlist.TextListInsert (3, "black")
  8276.       Print "The new value of the text list is " & textlist.text
  8277.     End Sub
  8278. Example Output
  8279.     The new value of the text list is red, orange, black, yellow, green, blue, indigo, violet
  8280. &Arial
  8281. This method removes a string from a text list LCStream object.  
  8282. The stream must be of the proper format, i.e., LCSTREAMFMT_TEXT_LIST.  
  8283. Call 
  8284. lcStream.
  8285. TextListRemove
  8286. (index)
  8287. Parameters
  8288.     1S2S
  8289. index
  8290.     Long.  Position of the text stream to remove.  
  8291. Example
  8292.     1S2S
  8293.     Option Public
  8294.     Uselsx "*lsxlc"
  8295.     Sub Initialize
  8296.       Dim textlist As New LCStream (0, 0, LCSTREAMFMT_TEXT_LIST)
  8297.       textlist.text = "red, orange, yellow, green, blue, indigo, violet"
  8298.       Call textlist.TextListRemove (3)
  8299.       Print "The new value of the text list is " & textlist.text
  8300.     End Sub
  8301. Example Output
  8302.     The new value of the text list is red, orange, green, blue, indigo, violet
  8303. &Arial
  8304. This is the constructor for LCFieldlist.
  8305. variableName 
  8306. as New LCFieldlist
  8307. (recordCount, fieldFlags)
  8308. Parameters
  8309.     1S2S
  8310. recordCount
  8311.     Long.  Optional.  The number of records in the fieldlist.  The default is 1.  All fields added to the fieldlist will have this number of records.  
  8312. fieldFlags
  8313.     Long.  Optional.  The default field flags for the fieldlist (zero or more LCFIELDF_XXX flags ORed together).  These are set as the initial field flags for each field added to the fieldlist. The default is 1.  
  8314. &Arial
  8315. This is the constructor method for LCField.  It initializes an LCField object. 
  8316. variablename 
  8317. LCField(
  8318. type, count
  8319. Parameters
  8320.     1S2S
  8321.     Long.  Data type of the field object, one of the following constants:  
  8322. LCTYPE_CURRENCY
  8323. LCTYPE_DATETIME
  8324. LCTYPE_INT
  8325. LCTYPE_FLOAT
  8326. LCTYPE_NUMERIC
  8327. LCTYPE_TEXT
  8328. LCTYPE_BINARY
  8329. count
  8330.     Long.  Optional.  Number of data values to be allocated for this field.  The default is 1.  
  8331. ge$ACLDigest$Signature$UpdatedBy$DesignVersion$Version$Formula$FormulaClass$Collation$Flags$FlagsNoRefreshIconBitmap$TITLE$Fonts$Info$Body$WindowTitle$$ScriptNameFromDateComposedSubjectBody$FieldsChapterNumber$$Script_ODescriptionDocumentNumberClassContentsChapterSection$Index$ViewFormat$CommentNameSyntaxParametersReturnsNotesExample$AssistVersion$AssistType$AssistLastRun$AssistDocCount$AssistFlags$AssistTrigger$AssistInfo$AssistQuery$AssistAction$AssistAction_Ex$AssistRunInfoForm$RevisionsDispClass$Collection$ViewContainer
  8332. CN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8333. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8334. CN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8335. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8336. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8337. CN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8338. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8339. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8340.  Development/O=Lotus Notes
  8341. es Template Development/O=Lotus Notes
  8342. /OU=CAM/O=LotusCN=Lotus Notes Template
  8343.  Development/O=Lotus Notes
  8344. es Template Development/O=Lotus Notes
  8345. /OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8346. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8347. CN=Scott Prager/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8348. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8349. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8350. 10/08/98 09:25:36 AM Scott Prager/CAM/Lotus deleted Edward Knowlton/CAM/Lotus
  8351. 10/08/98 09:25:35 AM Scott Prager/CAM/Lotus updated -Default-
  8352. 09/21/98 02:47:23 PM Edward Knowlton/CAM/Lotus updated Edward Knowlton/CAM/Lotus
  8353. 09/21/98 02:47:23 PM Edward Knowlton/CAM/Lotus added Edward Knowlton/CAM/Lotus
  8354. -Default-
  8355. Overview of the LotusScript Extension for Lotus Domino Connectors
  8356. General Errors
  8357. Format of General Errors
  8358. Appendix B
  8359. Connector Property Tokens
  8360. Appendix B
  8361. Connector Property Tokens
  8362. ^=!Wg
  8363. )WV.$Wg
  8364. 3z    Xg
  8365. |*-K4Xg
  8366. zzW7Xg
  8367. QVDXg
  8368. 3o/*_Xg
  8369. )e9hXg
  8370. d}NSWg
  8371. D:6ps
  8372. \=\Wg
  8373. }!fWg
  8374. =~kxWg
  8375. Overview of the LotusScript Extension for Lotus Domino Connectors
  8376. General Errors
  8377. Format of General Errors
  8378. Appendix B
  8379. Connector Property Tokens
  8380. Appendix B
  8381. Connector Property Tokens
  8382. ScO'~v
  8383. hkc)Cg
  8384. .>>Z@&Yg
  8385. 3o/*_Xg
  8386. )e9hXg
  8387. 3z    Xg
  8388. |*-K4Xg
  8389. zzW7Xg
  8390. QVDXg
  8391. QVDXg
  8392. Overview of the LotusScript Extension for Lotus Domino Connectors
  8393. General Errors
  8394. Format of General Errors
  8395. Appendix B
  8396. Connector Property Tokens
  8397. Appendix B
  8398. Connector Property Tokens
  8399. QVDXg
  8400. O=Lotus Notes
  8401. O=Lotus Notes
  8402. PURSAFO
  8403. |.:#U
  8404. O=Lotus Notes
  8405. CN=Lotus Notes Template Development/O=Lotus Notes
  8406. PURSAFO
  8407. sZ%!ZM}
  8408. $Flags
  8409. LSXMethodNew method for LCFieldChapter 5
  8410. LCField Class
  8411. C@LCField Class
  8412. CN=Scott Prager/OU=CAM/O=LotusCN=Edward Knowlton/OU=CAM/O=Lotus
  8413. ################################################
  8414. ;RQ~]
  8415. $Modified
  8416.     1S2S3S
  8417. $TITLE$FormPrivs$FormUsers$Body$Flags$Class$Modified$Comment$AssistTrigger$AssistType$AssistFlags$UpdatedBy$$FormScript_O
  8418. $Flags
  8419.     0SL1S4S5S3724
  8420. $TITLE
  8421. CN=Breeze/O=Edge Research
  8422. ######################################################
  8423. ##########################################################
  8424. ##########################################################
  8425. ##########################################################
  8426. ##########################################################
  8427. ##########################################################
  8428. ##########################################################
  8429. ##########################################################
  8430. ##########################################################
  8431. ##########################################################
  8432. ##########################################################
  8433. ##########################################################
  8434. ##########################################################
  8435. ##########################################################
  8436. ##########################################################
  8437. ##########################################################
  8438. ##########################################################
  8439. ##########################################################
  8440. ##########################################################
  8441. ##########################################################
  8442. ##########################################################
  8443. ##########################################################
  8444. ##########################################################
  8445. ##########################################################
  8446. ##########################################################
  8447. ##########################################################
  8448. ##########################################################
  8449. LSX Guideb
  8450. LSXClass
  8451. ChapterNumber
  8452.     1S3S4S6S8S
  8453. LSXClass
  8454. LSX Classes
  8455. Chapter
  8456. Chapter
  8457. Chapter
  8458. Chapter
  8459.     3S4S6S8S9S11S14S17S18S21S24S
  8460. LSXSection
  8461. Section
  8462. Chapter
  8463. Section
  8464. Class
  8465.     3S4S6S7S9S10S12S14S17S18S21S
  8466. $14$15DocumentNumberSubject$16$Conflict$REF
  8467. LSXSection
  8468. LSXClass
  8469. Comment
  8470.     L1S2S3S4S5S6S7S8S9S10S11S19
  8471. $14$15DocumentNumber$16
  8472.  $14b
  8473. LSXClass
  8474. ChapterNumber
  8475.     1S3S4S6S8S
  8476. $15Chapter
  8477. LSXClass
  8478. LSX Classes
  8479. Chapter
  8480. Chapter
  8481. Chapter
  8482. Chapter
  8483.     3S4S6S8S9S11S14S17S18S21S24S
  8484. DocumentNumberSubject$16Section
  8485. LSXSection
  8486. Section
  8487. Chapter
  8488. Section
  8489. Class
  8490.     3S4S6S7S9S10S12S14S17S18S21S
  8491. 538Arial
  8492. CN=Edward Knowlton/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  8493. #################
  8494. ##########################################################
  8495. ##########################################################
  8496. ##########################################################
  8497. ##########################################################
  8498. ##########################################################
  8499. ##########################################################
  8500. ##########################################################
  8501. ##########################################################
  8502. ##########################################################
  8503. ##########################################################
  8504. ##########################################################
  8505. ##########################################################
  8506. ##########################################################
  8507. ##########################################################
  8508. ##########################################################
  8509. ##########################################################
  8510. ##########################################################
  8511. ##########################################################
  8512. ##########################################################
  8513. ##########################################################
  8514. ##########################################################
  8515. ##########################################################
  8516. ##########################################################
  8517. ##########################################################
  8518. ##########################################################
  8519. ##########################################################
  8520. ##########################################################
  8521. ##########################################################
  8522. ##########################################################
  8523. ##########################################################
  8524. ##########################################################
  8525. ##########################################################
  8526. ##########################################################
  8527. ##########################################################
  8528. ##########################################################
  8529. ##########################################################
  8530. ##########################################################
  8531. ##########################################################
  8532. ##########################################################
  8533. ##########################################################
  8534. ##########################################################
  8535. ##########################################################
  8536. ##########################################################
  8537. ##########################################################
  8538. ##########################################################
  8539. ##########################################################
  8540. ##########################################################
  8541. ##########################################################
  8542. ##########################################################
  8543. ##########################################################
  8544. ##########################################################
  8545. ##########################################################
  8546. ##########################################################
  8547. ##########################################################
  8548. ##########################################################
  8549. ##########################################################
  8550. ##########################################################
  8551. ##########################################################
  8552. ##########################################################
  8553. ##########################################################
  8554. ##########################################################
  8555. ##########################################################
  8556. ##########################################################
  8557. ##########################################################
  8558. ##########################################################
  8559. ##########################################################
  8560. ##########################################################
  8561. ##########################################################
  8562. ##########################################################
  8563. ##########################################################
  8564. ##########################################################
  8565. ##########################################################
  8566. ##########################################################
  8567. ##########################################################
  8568. ##########################################################
  8569. ##########################################################
  8570. ##########################################################
  8571. ##########################################################
  8572. ##########################################################
  8573. ##########################################################
  8574. ##########################################################
  8575. ##########################################################
  8576. ##########################################################
  8577. ##########################################################
  8578. ##########################################################
  8579. ##########################################################
  8580. ##########################################################
  8581. ##########################################################
  8582. ##########################################################
  8583. ##########################################################
  8584. ##########################################################
  8585. ##########################################################
  8586. ##########################################################
  8587. ##########################################################
  8588. ##########################################################
  8589. ##########################################################
  8590. ##########################################################
  8591. ##########################################################
  8592. ##########################################################
  8593. ##########################################################
  8594. ##########################################################
  8595. ##########################################################
  8596. ##########################################################
  8597. ##########################################################
  8598. ##########################################################
  8599. ##########################################################
  8600. ##########################################################
  8601. ##########################################################
  8602. ##########################################################
  8603. ##########################################################
  8604. ##########################################################
  8605. ##########################################################
  8606. ##########################################################
  8607. ##########################################################
  8608. ##########################################################
  8609. ##########################################################
  8610. ##########################################################
  8611. ##########################################################
  8612. ##########################################################
  8613. ##########################################################
  8614. ##########################################################
  8615. ##########################################################
  8616. ##########################################################
  8617. ##########################################################
  8618. ##########################################################
  8619. ##########################################################
  8620. ##########################################################
  8621. ##########################################################
  8622. ##########################################################
  8623. ##########################################################
  8624. ##########################################################
  8625. ##########################################################
  8626. ##########################################################
  8627. ##########################################################
  8628. ##########################################################
  8629. ##########################################################
  8630. ##########################################################
  8631. ##########################################################
  8632. ##########################################################
  8633. ##########################################################
  8634. ##########################################################
  8635. ##########################################################
  8636. ##########################################################
  8637. ##########################################################
  8638. ##########################################################
  8639. ##########################################################
  8640. ##########################################################
  8641. ##########################################################
  8642. ##########################################################
  8643. ##########################################################
  8644. ##########################################################
  8645. ##########################################################
  8646. ##########################################################
  8647. ##########################################################
  8648. ##########################################################
  8649. ##########################################################
  8650. ##########################################################
  8651. ##########################################################
  8652. ##########################################################
  8653. ##########################################################
  8654. ##########################################################
  8655. ##########################################################
  8656. ##########################################################
  8657. ##########################################################
  8658. ##########################################################
  8659. ##########################################################
  8660. ##########################################################
  8661. ##########################################################
  8662. ##########################################################
  8663. ##########################################################
  8664. ##########################################################
  8665. ##########################################################
  8666. ##########################################################
  8667. ##########################################################
  8668. ##########################################################
  8669. ##########################################################
  8670. ##########################################################
  8671. ##########################################################
  8672. ##########################################################
  8673. ##########################################################
  8674. ##########################################################
  8675. ##########################################################
  8676. ##########################################################
  8677. ##########################################################
  8678. ##########################################################
  8679. ##########################################################
  8680. ##########################################################
  8681. ##########################################################
  8682. ##########################################################
  8683. ##########################################################
  8684. ##########################################################
  8685. ##########################################################
  8686. ##########################################################
  8687. ##########################################################
  8688. ##########################################################
  8689. ##########################################################
  8690. ##########################################################
  8691. ##########################################################
  8692. ##########################################################
  8693. ##########################################################
  8694. ##########################################################
  8695. ##########################################################
  8696. ##########################################################
  8697. ##########################################################
  8698. ##########################################################
  8699. ##########################################################
  8700. ##########################################################
  8701. ##########################################################
  8702. ##########################################################
  8703. ##########################################################
  8704. ##########################################################
  8705. ##########################################################
  8706. ##########################################################
  8707. ##########################################################
  8708. ##########################################################
  8709. ##########################################################
  8710. ##########################################################
  8711. ##########################################################
  8712. ##########################################################
  8713. ##########################################################
  8714. ##########################################################
  8715. ##########################################################
  8716. ##########################################################
  8717. ##########################################################
  8718. ##########################################################
  8719. ##########################################################
  8720. ##########################################################
  8721. ##########################################################
  8722. ##########################################################
  8723. ##########################################################
  8724. ##########################################################
  8725. ##########################################################
  8726. ##########################################################
  8727. ##########################################################
  8728. ##########################################################
  8729. ##########################################################
  8730. ##########################################################
  8731. ##########################################################
  8732. ##########################################################
  8733. ##########################################################
  8734. ##########################################################
  8735. ##########################################################
  8736. ##########################################################
  8737. ##########################################################
  8738. ##########################################################
  8739. ##########################################################
  8740. ##########################################################
  8741. ##########################################################
  8742. ##########################################################
  8743. ##########################################################
  8744. ##########################################################
  8745. ##########################################################
  8746. ##########################################################
  8747. ##########################################################
  8748. ##########################################################
  8749. ##########################################################
  8750. ##########################################################
  8751. ##########################################################
  8752. ##########################################################
  8753. ##########################################################
  8754. ##########################################################
  8755. ##########################################################
  8756. ##########################################################
  8757. ##########################################################
  8758. ##########################################################
  8759. ##########################################################
  8760. ##########################################################
  8761. ##########################################################
  8762. ##########################################################
  8763. ##########################################################
  8764. ##########################################################
  8765. ##########################################################
  8766. ##########################################################
  8767. ##########################################################
  8768. ##########################################################
  8769. ##########################################################
  8770. ##########################################################
  8771. ##########################################################
  8772. ##########################################################
  8773. ##########################################################
  8774. ##########################################################
  8775. ##########################################################
  8776. ##########################################################
  8777. ##########################################################
  8778. ##########################################################
  8779. ##########################################################
  8780. ##########################################################
  8781. ##########################################################
  8782. ##########################################################
  8783. ##########################################################
  8784. ##########################################################
  8785. ##########################################################
  8786. ##########################################################
  8787. ##########################################################
  8788. ##########################################################
  8789. ##########################################################
  8790. ##########################################################
  8791. ##########################################################
  8792. ##########################################################
  8793. ##########################################################
  8794. ##########################################################
  8795. ##########################################################
  8796. ##########################################################
  8797. ##########################################################
  8798. ##########################################################
  8799. ##########################################################
  8800. ##########################################################
  8801. ##########################################################
  8802. ##########################################################
  8803. ##########################################################
  8804. ##########################################################
  8805. ##########################################################
  8806. ##########################################################
  8807. ##########################################################
  8808. ##########################################################
  8809. ##########################################################
  8810. ##########################################################
  8811. ##########################################################
  8812. ##########################################################
  8813. ##########################################################
  8814. ##########################################################
  8815. ##########################################################
  8816. ##########################################################
  8817. ##########################################################
  8818. ##########################################################
  8819. ##########################################################
  8820. ##########################################################
  8821. ##########################################################
  8822. ##########################################################
  8823. ##########################################################
  8824. ##########################################################
  8825. ##########################################################
  8826. ##########################################################
  8827. ##########################################################
  8828. ##########################################################
  8829. ##########################################################
  8830. ##########################################################
  8831. ##########################################################
  8832. ##########################################################
  8833. ##########################################################
  8834. ##########################################################
  8835. ##########################################################
  8836. ##########################################################
  8837. ##########################################################
  8838. ##########################################################
  8839. ##########################################################
  8840. ##########################################################
  8841. ##########################################################
  8842. ##########################################################
  8843. ##########################################################
  8844. ##########################################################
  8845. ##########################################################
  8846. ##########################################################
  8847. ##########################################################
  8848. ##########################################################
  8849. ##########################################################
  8850. ##########################################################
  8851. ##########################################################
  8852. ##########################################################
  8853. ##########################################################
  8854. ##########################################################
  8855. ##########################################################
  8856. ##########################################################
  8857. ##########################################################
  8858. ##########################################################
  8859. ##########################################################
  8860. ##########################################################
  8861. ##########################################################
  8862. ##########################################################
  8863. ##########################################################
  8864. ##########################################################
  8865. ##########################################################
  8866. ##########################################################
  8867. ##########################################################
  8868. ##########################################################
  8869. ##########################################################
  8870. ##########################################################
  8871. ##########################################################
  8872. ##########################################################
  8873. ##########################################################
  8874. ##########################################################
  8875. ##########################################################
  8876. ##########################################################
  8877. ##########################################################
  8878. ##########################################################
  8879. ##########################################################
  8880. ##########################################################
  8881. ##########################################################
  8882. ##########################################################
  8883. ##########################################################
  8884. ##########################################################
  8885. ##########################################################
  8886. ##########################################################
  8887. ##########################################################
  8888. ##########################################################
  8889. ##########################################################
  8890. ##########################################################
  8891. ##########################################################
  8892. ##########################################################
  8893. ##########################################################
  8894. ##########################################################
  8895. ##########################################################
  8896. ##########################################################
  8897. ##########################################################
  8898. ##########################################################
  8899. ##########################################################
  8900. ##########################################################
  8901. ##########################################################
  8902. ##########################################################
  8903. ##########################################################
  8904. ##########################################################
  8905. ##########################################################
  8906. ##########################################################
  8907. ##########################################################
  8908. ##########################################################
  8909. ##########################################################
  8910. ##########################################################
  8911. ##########################################################
  8912. ##########################################################
  8913. ##########################################################
  8914. ##########################################################
  8915. ##########################################################
  8916. ##########################################################
  8917. ##########################################################
  8918. ##########################################################
  8919. ##########################################################
  8920. ##########################################################
  8921. ##########################################################
  8922. ##########################################################
  8923. ##########################################################
  8924. ##########################################################
  8925. ##########################################################
  8926. ##########################################################
  8927. ##########################################################
  8928. ##########################################################
  8929. ##########################################################
  8930. ##########################################################
  8931. ##########################################################
  8932. ##########################################################
  8933. ##########################################################
  8934. ##########################################################
  8935. ##########################################################
  8936. ##########################################################
  8937. ##########################################################
  8938. ##########################################################
  8939. ##########################################################
  8940. ##########################################################
  8941. ##########################################################
  8942. ##########################################################
  8943. ##########################################################
  8944. ##########################################################
  8945. ##########################################################
  8946. ##########################################################
  8947. ##########################################################
  8948. ##########################################################
  8949. ##########################################################
  8950. ##########################################################
  8951. ##########################################################
  8952. ##########################################################
  8953. ##########################################################
  8954. ##########################################################
  8955. ##########################################################
  8956. ##########################################################
  8957. ##########################################################
  8958. ##########################################################
  8959. ##########################################################
  8960. ##########################################################
  8961. ##########################################################
  8962. ##########################################################
  8963. ##########################################################
  8964. ##########################################################
  8965. ##########################################################
  8966. ##########################################################
  8967. ##########################################################
  8968. ##########################################################
  8969. ##########################################################
  8970. ##########################################################
  8971. ##########################################################
  8972. ##########################################################
  8973. ##########################################################
  8974. ##########################################################
  8975. ##########################################################
  8976. ##########################################################
  8977. ##########################################################
  8978. ##########################################################
  8979. ##########################################################
  8980. ##########################################################
  8981. ##########################################################
  8982. ##########################################################
  8983. ##########################################################
  8984. ##########################################################
  8985. ##########################################################
  8986. ##########################################################
  8987. ##########################################################
  8988. ##########################################################
  8989. ##########################################################
  8990. ##########################################################
  8991. ##########################################################
  8992. ##########################################################
  8993. ##########################################################
  8994. ##########################################################
  8995. ##########################################################
  8996. ##########################################################
  8997. ##########################################################
  8998. ##########################################################
  8999. ##########################################################
  9000. ##########################################################
  9001. ##########################################################
  9002. ##########################################################
  9003. ##########################################################
  9004. ##########################################################
  9005. ##########################################################
  9006. ##########################################################
  9007. ##########################################################
  9008. ##########################################################
  9009. ##########################################################
  9010. ##########################################################
  9011. ##########################################################
  9012. ##########################################################
  9013. ##########################################################
  9014. ##########################################################
  9015. ##########################################################
  9016. ##########################################################
  9017. ##########################################################
  9018. ##########################################################
  9019. ##########################################################
  9020. ##########################################################
  9021. ##########################################################
  9022. ##########################################################
  9023. ##########################################################
  9024. ##########################################################
  9025. ##########################################################
  9026. ##########################################################
  9027. ##########################################################
  9028. ##########################################################
  9029. ##########################################################
  9030. ##########################################################
  9031. ##########################################################
  9032. ##########################################################
  9033. ##########################################################
  9034. ##########################################################
  9035. ##########################################################
  9036. ##########################################################
  9037. ##########################################################
  9038. ##########################################################
  9039. ##########################################################
  9040. ##########################################################
  9041. ##########################################################
  9042. ##########################################################
  9043. ##########################################################
  9044. ##########################################################
  9045. ##########################################################
  9046. ##########################################################
  9047. ##########################################################
  9048. ##########################################################
  9049. ##########################################################
  9050. ##########################################################
  9051. ##########################################################
  9052. ##########################################################
  9053. ##########################################################
  9054. ##########################################################
  9055. ##########################################################
  9056. ##########################################################
  9057. ##########################################################
  9058. ##########################################################
  9059. ##########################################################
  9060. ##########################################################
  9061. ##########################################################
  9062. ##########################################################
  9063. ##########################################################
  9064. ##########################################################
  9065. ##########################################################
  9066. ##########################################################
  9067. ##########################################################
  9068. ##########################################################
  9069. ##########################################################
  9070. ##########################################################
  9071. ##########################################################
  9072. ##########################################################
  9073. ##########################################################
  9074. ##########################################################
  9075. ##########################################################
  9076. ##########################################################
  9077. ##########################################################
  9078. ##########################################################
  9079. ##########################################################
  9080. ##########################################################
  9081. ##########################################################
  9082. ##########################################################
  9083. ##########################################################
  9084. ##########################################################
  9085. ##########################################################
  9086. ##########################################################
  9087. ##########################################################
  9088. ##########################################################
  9089. ##########################################################
  9090. ##########################################################
  9091. ##########################################################
  9092. ##########################################################
  9093. ##########################################################
  9094. ##########################################################
  9095. ##########################################################
  9096. ##########################################################
  9097. ##########################################################
  9098. ##########################################################
  9099. ##########################################################
  9100. ##########################################################
  9101. ##########################################################
  9102. ##########################################################
  9103. ##########################################################
  9104. ##########################################################
  9105. ##########################################################
  9106. ##########################################################
  9107. ##########################################################
  9108. ##########################################################
  9109. ##########################################################
  9110. ##########################################################
  9111. ##########################################################
  9112. ##########################################################
  9113. ##########################################################
  9114. ##########################################################
  9115. ##########################################################
  9116. ##########################################################
  9117. ##########################################################
  9118. ##########################################################
  9119. ##########################################################
  9120. ##########################################################
  9121. ##########################################################
  9122. ##########################################################
  9123. ##########################################################
  9124. ##########################################################
  9125. ##########################################################
  9126. ##########################################################
  9127. ##########################################################
  9128. ##########################################################
  9129. ##########################################################
  9130. ##########################################################
  9131. ##########################################################
  9132. ##########################################################
  9133. ##########################################################
  9134. ##########################################################
  9135. ##########################################################
  9136. ##########################################################
  9137. ##########################################################
  9138. ##########################################################
  9139. ##########################################################
  9140. ##########################################################
  9141. ##########################################################
  9142. ##########################################################
  9143. ##########################################################
  9144. ##########################################################
  9145. ##########################################################
  9146. ##########################################################
  9147. ##########################################################
  9148. ##########################################################
  9149. ##########################################################
  9150. ##########################################################
  9151. ##########################################################
  9152. ##########################################################
  9153. ##########################################################
  9154. ##########################################################
  9155. ##########################################################
  9156. ##########################################################
  9157. ##########################################################
  9158. ##########################################################
  9159. ##########################################################
  9160. ##########################################################
  9161. ##########################################################
  9162. ##########################################################
  9163. ##########################################################
  9164. ##########################################################
  9165. ##########################################################
  9166. ##########################################################
  9167. ##########################################################
  9168. ##########################################################
  9169. ##########################################################
  9170. ##########################################################
  9171. ##########################################################
  9172. ##########################################################
  9173. ##########################################################
  9174. ##########################################################
  9175. ##########################################################
  9176. ##########################################################
  9177. ##########################################################
  9178. ##########################################################
  9179. ##########################################################
  9180. ##########################################################
  9181. ##########################################################
  9182. ##########################################################
  9183. ##########################################################
  9184. ##########################################################
  9185. ##########################################################
  9186. ##########################################################
  9187. ##########################################################
  9188. ##########################################################
  9189. ##########################################################
  9190. ##########################################################
  9191. ##########################################################
  9192. ##########################################################
  9193. ##########################################################
  9194. ##########################################################
  9195. ##########################################################
  9196. ##########################################################
  9197. ##########################################################
  9198. ##########################################################
  9199. ##########################################################
  9200. ##########################################################
  9201. ##########################################################
  9202. ##########################################################
  9203. ##########################################################
  9204. ##########################################################
  9205. ##########################################################
  9206. ##########################################################
  9207. ##########################################################
  9208. ##########################################################
  9209. ##########################################################
  9210. ##########################################################
  9211. ##########################################################
  9212. ##########################################################
  9213. ##########################################################
  9214. ##########################################################
  9215. ##########################################################
  9216. ##########################################################
  9217. ##########################################################
  9218. ##########################################################
  9219. ##########################################################
  9220. ##########################################################
  9221. ##########################################################
  9222. ##########################################################
  9223. ##########################################################
  9224. ##########################################################
  9225. ##########################################################
  9226. ##########################################################
  9227. ##########################################################
  9228. ##########################################################
  9229. ##########################################################
  9230. ##########################################################
  9231. ##########################################################
  9232. ##########################################################
  9233. ##########################################################
  9234. ##########################################################
  9235. ##########################################################
  9236. ##########################################################
  9237. ##########################################################
  9238. ##########################################################
  9239. ##########################################################
  9240. ##########################################################
  9241. ##########################################################
  9242. ##########################################################
  9243. ##########################################################
  9244. ##########################################################
  9245. ##########################################################
  9246. ##########################################################
  9247. ##########################################################
  9248. ##########################################################
  9249. ##########################################################
  9250. ##########################################################
  9251. ##########################################################
  9252. ##########################################################
  9253. ##########################################################
  9254. ##########################################################
  9255. ##########################################################
  9256. ##########################################################
  9257. ##########################################################
  9258. ##########################################################
  9259. ##########################################################
  9260. ##########################################################
  9261. ##########################################################
  9262. ##########################################################
  9263. ##########################################################
  9264. ##########################################################
  9265. ##########################################################
  9266. ##########################################################
  9267. ##########################################################
  9268. ##########################################################
  9269. ##########################################################
  9270. ##########################################################
  9271. ##########################################################
  9272. ##########################################################
  9273. ##########################################################
  9274. ##########################################################
  9275. ##########################################################
  9276. ##########################################################
  9277. ##########################################################
  9278. ##########################################################
  9279. ##########################################################
  9280. ##########################################################
  9281. ##########################################################
  9282. ##########################################################
  9283. ##########################################################
  9284. ##########################################################
  9285. ##########################################################
  9286. ##########################################################
  9287. ##########################################################
  9288. ##########################################################
  9289. ##########################################################
  9290. ##########################################################
  9291. ##########################################################
  9292. ##########################################################
  9293. ##########################################################
  9294. ##########################################################
  9295. ##########################################################
  9296. ##########################################################
  9297. ##########################################################
  9298. ##########################################################
  9299. ##########################################################
  9300. ##########################################################
  9301. ##########################################################
  9302. ##########################################################
  9303. ##########################################################
  9304. ##########################################################
  9305. ##########################################################
  9306. ##########################################################
  9307. ##########################################################
  9308. ##########################################################
  9309. ##########################################################
  9310. ##########################################################
  9311. ##########################################################
  9312. ##########################################################
  9313. ##########################################################
  9314. ##########################################################
  9315. ##########################################################
  9316. ##########################################################
  9317. ##########################################################
  9318. ##########################################################
  9319. ##########################################################
  9320. ##########################################################
  9321. ##########################################################
  9322. ##########################################################
  9323. ##########################################################
  9324. ##########################################################
  9325. ##########################################################
  9326. ##########################################################
  9327. ##########################################################
  9328. ##########################################################
  9329. ##########################################################
  9330. ##########################################################
  9331. ##########################################################
  9332. ##########################################################
  9333. ##########################################################
  9334. ##########################################################
  9335. ##########################################################
  9336. ##########################################################
  9337. ##########################################################
  9338. ##########################################################
  9339. ##########################################################
  9340. ##########################################################
  9341. ##########################################################
  9342. ##########################################################
  9343. ##########################################################
  9344. ##########################################################
  9345. ##########################################################
  9346. ##########################################################
  9347. ##########################################################
  9348. ##########################################################
  9349. ##########################################################
  9350. ##########################################################
  9351. ##########################################################
  9352. ##########################################################
  9353. ##########################################################
  9354. ##########################################################
  9355. ##########################################################
  9356. ##########################################################
  9357. ##########################################################
  9358. ##########################################################
  9359. ##########################################################
  9360. ##########################################################
  9361. ##########################################################
  9362. ##########################################################
  9363. ##########################################################
  9364. ##########################################################
  9365. ##########################################################
  9366. ##########################################################
  9367. ##########################################################
  9368. ##########################################################
  9369. ##########################################################
  9370. ##########################################################
  9371. ##########################################################
  9372. ##########################################################
  9373. ##########################################################
  9374. ##########################################################
  9375. ##########################################################
  9376. ##########################################################
  9377. ##########################################################
  9378. ##########################################################
  9379. ##########################################################
  9380. ##########################################################
  9381. ##########################################################
  9382. ##########################################################
  9383. ##########################################################
  9384. ##########################################################
  9385. ##########################################################
  9386. ##########################################################
  9387. ##########################################################
  9388. ##########################################################
  9389. ##########################################################
  9390. ##########################################################
  9391. ##########################################################
  9392. ##########################################################
  9393. ##########################################################
  9394. ##########################################################
  9395. ##########################################################
  9396. ##########################################################
  9397. ##########################################################
  9398. ##########################################################
  9399. ##########################################################
  9400. ##########################################################
  9401. ##########################################################
  9402. ##########################################################
  9403. ##########################################################
  9404. ##########################################################
  9405. ##########################################################
  9406. ##########################################################
  9407. ##########################################################
  9408. ##########################################################
  9409. ##########################################################
  9410. ##########################################################
  9411. ##########################################################
  9412. ##########################################################
  9413. ##########################################################
  9414. ##########################################################
  9415. Chapter 1
  9416. Introduction
  9417. Appendix A
  9418. Error Messages
  9419. Appendix B
  9420. Connector Property Tokens
  9421. Appendix C
  9422. Connector Properties
  9423. Appendix D
  9424. Character Sets
  9425. Chapter 2
  9426. LCConnection Class
  9427. Chapter 3
  9428. LCCurrency Class
  9429. Chapter 4
  9430. LCDatetime Class
  9431. Chapter 5
  9432. LCField Class
  9433. Chapter 6
  9434. LCFieldlist Class
  9435. Chapter 7
  9436. LCNumeric Class
  9437. Chapter 8
  9438. LCSession Class
  9439. Chapter 9
  9440. LCStream Class
  9441. Chapter 1
  9442. Introduction
  9443. Appendix A
  9444. Error Messages
  9445. Appendix B
  9446. Connector Property Tokens
  9447. Appendix C
  9448. Connector Properties
  9449. Appendix D
  9450. Character Sets
  9451. Chapter 2
  9452. LCConnection Class
  9453. Chapter 3
  9454. LCCurrency Class
  9455. Chapter 4
  9456. LCDatetime Class
  9457. Chapter 5
  9458. LCField Class
  9459. Chapter 6
  9460. LCFieldlist Class
  9461. Chapter 7
  9462. LCNumeric Class
  9463. Chapter 8
  9464. LCSession Class
  9465. Chapter 9
  9466. LCStream Class
  9467. ScO'~v
  9468. hkc)Cg
  9469. ScO'~v
  9470. hkc)Cg
  9471. Overview of the LotusScript Extension for Lotus Domino Connectors
  9472. General Errors
  9473. Format of General Errors
  9474. Appendix B
  9475. Connector Property Tokens
  9476. Appendix B
  9477. Connector Property Tokens
  9478. Chapter
  9479. AppendixF
  9480.     1S3S6S9S11S
  9481. LSXSection
  9482. Chapter
  9483. Class
  9484.     3S4S6S8S
  9485. LSXSection
  9486. Section
  9487. Chapter
  9488. Section
  9489. LSXClass
  9490. Class
  9491.  Description"
  9492.     3S4S6S7S9S10S12S14S17S20S21S23S24S27S29S30S32S36S38S
  9493. $17$12DocumentNumberSubject$16$Conflict$REF$C1$
  9494. $17$12DocumentNumber$16
  9495. Chapter 1
  9496. Introduction
  9497. Organization of this manual
  9498. LSX LC Usage Notes
  9499. Appendix A
  9500. Error Messages
  9501. Anatomy of an Error Message!
  9502. Appendix C
  9503. Connector Properties
  9504. Connector Properties
  9505. Notes Connector Properties
  9506. DB2 Connector Properties
  9507. EDA/SQL Connector Properties"
  9508. File System Connector Properties
  9509. ODBC Connector Properties
  9510. Oracle Connector Properties
  9511. Sybase Connector Properties
  9512. Appendix D
  9513. Character Sets"
  9514. List of Supported Character Sets
  9515. Chapter 2
  9516. LCConnection Class 
  9517. LCConnection Class Description
  9518. Action
  9519. Call    
  9520. Catalog    
  9521. Connect
  9522. Create
  9523. Disconnect
  9524. Drop    
  9525. Execute
  9526. Fetch
  9527. GetProperty
  9528. GetProperty<Type>
  9529. Insert
  9530. ListProperty
  9531. LookupProperty
  9532. Remove
  9533. Select
  9534. SetProperty
  9535. SetProperty<Type>
  9536. Update
  9537. Chapter 3
  9538. LCCurrency Class
  9539. LCCurrency Class Description
  9540. Compare
  9541. Subtract
  9542. Chapter 4
  9543. LCDatetime Class
  9544. LCDatetime Class Description
  9545. Adjust
  9546. Clear    
  9547. GetDiff
  9548. SetConstant
  9549. SetCurrent
  9550. Chapter 5
  9551. LCField Class
  9552. LCField Class Description
  9553. ClearVirtualCode    
  9554. Convert
  9555. GetCurrency
  9556. GetDatetime
  9557. GetFieldlist
  9558. GetFloat
  9559. GetFormatDatetime
  9560. GetFormatNumber
  9561. GetFormatStream
  9562. GetInt
  9563. GetNumeric
  9564. GetStream
  9565. LookupVirtualCode
  9566. SetCurrency
  9567. SetDatetime
  9568. SetFieldlist
  9569. SetFloat
  9570. SetFormatDatetime
  9571. SetFormatNumber
  9572. SetFormatStream
  9573. SetInt
  9574. SetNumeric
  9575. SetStream
  9576. SetVirtualCode
  9577. Chapter 6
  9578. LCFieldlist Class
  9579. LCFieldlist Class Description
  9580. Append
  9581. CopyField    
  9582. CopyRef
  9583. GetField    
  9584. GetName
  9585. IncludeField
  9586. Lookup
  9587. MapName
  9588. Merge
  9589. MergeVirtual    
  9590. Replace    
  9591. SetName
  9592. Chapter 7
  9593. LCNumeric Class
  9594. LCNumeric Class Description
  9595. Chapter 8
  9596. LCSession Class
  9597. LCSession Class Description
  9598. ClearStatus
  9599. GetStatus
  9600. GetStatusText
  9601. ListConnector
  9602. ListMetaConnector
  9603. LookupConnector
  9604. LookupMetaConnector
  9605. Sleep
  9606. Chapter 9
  9607. LCStream Class
  9608. LCStream Class Description    
  9609. Extract
  9610. ResetFormat
  9611. SetFormat
  9612. DatetimeListGetRange
  9613. DatetimeListGetValue
  9614. DatetimeListInsertRange
  9615. DatetimeListInsertValue
  9616. DatetimeListRemoveRange
  9617. DatetimeListRemoveValue
  9618. NumberListGetRange
  9619. NumberListGetValue
  9620. NumberListInsertRange
  9621. NumberListInsertValue
  9622. NumberListRemoveRange
  9623. NumberListRemoveValue
  9624. TextListFetch
  9625. TextListInsert
  9626. TextListRemove
  9627. Overview of the LotusScript Extension for Lotus Domino Connectors
  9628. General Errors
  9629. Format of General Errors
  9630. Appendix B
  9631. Connector Property Tokens
  9632. Appendix B
  9633. Connector Property Tokens
  9634. ^=!Wg
  9635. )WV.$Wg
  9636. Introduction
  9637. Appendix A
  9638. Error Messages
  9639. Appendix B
  9640. Connector Property Tokens
  9641. Appendix C
  9642. Connector Properties
  9643. Appendix D
  9644. Character Sets
  9645. LSX Classes
  9646. Overview of the LotusScript Extension for Lotus Domino Connectors
  9647. General Errors
  9648. Format of General Errors
  9649. Appendix B
  9650. Connector Property Tokens
  9651. Appendix B
  9652. Connector Property Tokens
  9653. Overview of the LotusScript Extension for Lotus Domino Connectors
  9654. General Errors
  9655. Format of General Errors
  9656. Appendix B
  9657. Connector Property Tokens
  9658. Appendix B
  9659. Connector Property Tokens
  9660. LSXClass
  9661. ChapterNumber
  9662.     1S3S4S6S8S
  9663. LSXClass
  9664. LSX Classes
  9665. Chapter
  9666. Chapter
  9667. Chapter
  9668. Chapter
  9669.     3S4S6S8S9S11S14S17S18S21S24S
  9670. LSXSection
  9671. Section
  9672. Chapter
  9673. Section
  9674. Class
  9675.     3S4S6S7S9S10S12S14S17S18S21S
  9676. $14$15DocumentNumberSubject$16$Conflict$REF$C1$
  9677. LSXSection
  9678. LSXClass
  9679. Comment
  9680.     L1S2S3S4S5S6S7S8S9S10S11S9
  9681. $14$15DocumentNumber$16
  9682. Introduction
  9683. Chapter 1
  9684. Introduction
  9685. Organization of this manual
  9686. LSX LC Usage Notes
  9687. Appendix A
  9688. Error Messages
  9689. Anatomy of an Error Message!
  9690. Appendix C
  9691. Connector Properties
  9692. Connector Properties
  9693. Notes Connector Properties
  9694. DB2 Connector Properties
  9695. EDA/SQL Connector Properties"
  9696. File System Connector Properties
  9697. ODBC Connector Properties
  9698. Oracle Connector Properties
  9699. Sybase Connector Properties
  9700. Appendix D
  9701. Character Sets"
  9702. List of Supported Character Sets
  9703. LSX Classes
  9704. LCConnection Class
  9705. LCCurrency Class
  9706. LCDatetime Class
  9707. LCField Class
  9708. LCFieldlist Class
  9709. LCNumeric Class
  9710. LCSession Class
  9711. LCStream Class
  9712. d}NSWg
  9713. D:6ps
  9714. \=\Wg
  9715. }!fWg
  9716. =~kxWg
  9717. 3o/*_Xg
  9718. )e9hXg
  9719. 3o/*_Xg
  9720. )e9hXg
  9721. ScO'~v
  9722. hkc)Cg
  9723. .>>Z@&Yg
  9724. 3o/*_Xg
  9725. )e9hXg
  9726. hkc)Cg
  9727. .>>Z@&Yg
  9728. 3o/*_Xg
  9729. )e9hXg
  9730. .>>Z@&Yg
  9731. LCConnection Class
  9732. LCCurrency Class
  9733. LCDatetime Class
  9734. LCField Class
  9735. LCFieldlist Class
  9736. LCNumeric Class
  9737. LCSession Class
  9738. LCStream Class
  9739. 3z    Xg
  9740. |*-K4Xg
  9741. zzW7Xg
  9742. QVDXg
  9743. ScO'~v
  9744. hkc)Cg
  9745. Class
  9746.     1S4S
  9747. LSXClass
  9748.     3S4S6S8S9S11S14S16S17S19S21S
  9749. LSXClass
  9750. Class Description
  9751.     3S4S6S8S9S11S14S16S17S19S21S25S27S
  9752. $10Subject$9$7$Conflict$REF$C1$
  9753. LSXClass
  9754. LSXMethod
  9755. Comment
  9756.     L1S2S3S4S5S6S7S8S9S10S11S"
  9757. $10$9$7
  9758. LCConnection Class
  9759. Class Description
  9760. Action
  9761. Call    
  9762. Catalog    
  9763. Connect
  9764. Create
  9765. Disconnect
  9766. Drop    
  9767. Execute
  9768. Fetch
  9769. GetProperty
  9770. GetProperty<Type>
  9771. Insert
  9772. ListProperty
  9773. LookupProperty
  9774. Remove
  9775. Select
  9776. SetProperty
  9777. SetProperty<Type>
  9778. Update
  9779. LCCurrency Class
  9780. Compare
  9781. Subtract
  9782. LCDatetime Class
  9783. Adjust
  9784. Clear    
  9785. GetDiff
  9786. SetConstant
  9787. SetCurrent
  9788. LCField Class
  9789. ClearVirtualCode    
  9790. Convert
  9791. GetCurrency
  9792. GetDatetime
  9793. GetFieldlist
  9794. GetFloat
  9795. GetFormatDatetime
  9796. GetFormatNumber
  9797. GetFormatStream
  9798. GetInt
  9799. GetNumeric
  9800. GetStream
  9801. LookupVirtualCode
  9802. SetCurrency
  9803. SetDatetime
  9804. SetFieldlist
  9805. SetFloat
  9806. SetFormatDatetime
  9807. SetFormatNumber
  9808. SetFormatStream
  9809. SetInt
  9810. SetNumeric
  9811. SetStream
  9812. SetVirtualCode
  9813. LCFieldlist Class
  9814. Append
  9815. CopyField    
  9816. CopyRef
  9817. GetField    
  9818. GetName
  9819. IncludeField
  9820. Lookup
  9821. MapName
  9822. Merge
  9823. MergeVirtual    
  9824. Replace    
  9825. SetName
  9826. LCNumeric Class
  9827. LCSession Class
  9828. ClearStatus
  9829. GetStatus
  9830. GetStatusText
  9831. ListConnector
  9832. ListMetaConnector
  9833. LookupConnector
  9834. LookupMetaConnector
  9835. Sleep
  9836. LCStream Class    
  9837. Extract
  9838. ResetFormat
  9839. SetFormat
  9840. DatetimeListGetRange
  9841. DatetimeListGetValue
  9842. DatetimeListInsertRange
  9843. DatetimeListInsertValue
  9844. DatetimeListRemoveRange
  9845. DatetimeListRemoveValue
  9846. NumberListGetRange
  9847. NumberListGetValue
  9848. NumberListInsertRange
  9849. NumberListInsertValue
  9850. NumberListRemoveRange
  9851. NumberListRemoveValue
  9852. TextListFetch
  9853. TextListInsert
  9854. TextListRemoveProperties
  9855. ^=!Wg
  9856. Appendix D
  9857. Character Sets
  9858. Appendix D
  9859. Character Sets
  9860. )WV.$Wg
  9861. ist of Supported Character Sets
  9862. Supported Character Sets
  9863. CConnection Class
  9864. tion Class
  9865. CCurrency Class
  9866. ency Class
  9867. CDatetime Class
  9868. time Class
  9869. LCField Class
  9870. Field Class
  9871.