<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://openinsight.wetpaint.com/xsl/rss2html.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://openinsight.wetpaint.com/scripts/wpcss/wiki/openinsight/skin/sporty/rss" type="text/css" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>OpenInsight Community Source Code - New Pages</title><link>http://openinsight.wetpaint.com/pageSearch/created</link><description>New Pages on http://openinsight.wetpaint.com</description><language>en-us</language><webMaster>info@wetpaint.com</webMaster><pubDate>Thu, 15 Dec 2011 21:09:14 CST</pubDate><lastBuildDate>Thu, 15 Dec 2011 21:09:14 CST</lastBuildDate><generator>wetpaint.com</generator><ttl>60</ttl><image><title>OpenInsight Community Source Code</title><url>http://create.wetpaint.com/img/logo.gif</url><link>http://openinsight.wetpaint.com</link><description>Technical Information for the OpenInsight Developer. Jump start your next OpenInsight applciation development</description></image><item><title>Btree Index Structure and Stats</title><link>http://openinsight.wetpaint.com/page/Btree+Index+Structure+and+Stats</link><author>mattVSL</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Btree+Index+Structure+and+Stats</guid><pubDate>Thu, 15 Dec 2011 21:09:14 CST</pubDate><description>&lt;br&gt;This program will parse through the structure of a Btree index, checking that linkages and cross references between index records exist and are correct.&lt;br&gt;It will also produce a statistics summary.&lt;br&gt;&lt;br&gt;&lt;b&gt;Subroutine Index_tree( files, indexes, showStruct, outFile)&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;u&gt;Parameters:&lt;/u&gt;&lt;br&gt;&lt;blockquote&gt;&lt;table align=&quot;bottom&quot; cellpadding=&quot;3&quot; class=&quot;WPC-edit-style-columns3 WPC-edit-border-none WPC-edit-styleData-color1=%23ebebeb&amp;color2=%23c7c7c7&quot; height=&quot;114&quot; width=&quot;876&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Files:&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;List of index files, @FM delimited&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Indexes:&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;List of indexes (@VM) to check for each File (@FM). If unspecified, all indexes in the File(s) are checked.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;ShowStruct:&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;If TRUE (default) then dump the index structure as it is parsed&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;OutFile:&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Filename of a DOS output file (Optional)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br&gt;&lt;/blockquote&gt;The statistics returned for an index:&lt;br&gt;&lt;br&gt;&lt;blockquote&gt;&lt;table align=&quot;bottom&quot; cellpadding=&quot;3&quot; class=&quot;WPC-edit-style-columns3 WPC-edit-border-none WPC-edit-styleData-color1=%23ebebeb&amp;color2=%23c7c7c7&quot; height=&quot;409&quot; width=&quot;878&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Total Tree Nodes&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Number of Node type &amp;#39;0&amp;#39; records&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Total Value Nodes&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Number of Node type &amp;#39;1&amp;#39; records.&lt;br&gt;These are nodes for a particular index value with a large number of result keys&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Total Leaf Nodes&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Number of Leaf (type &amp;#39;2&amp;#39;) records.&lt;br&gt;These contain the result keys for index values&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Total Index Records&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Sum of the above three totals&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Total Exploded Values&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Number of index values that have Value Node structures&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Total Values&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Total number of index values (including null)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Total Keys&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Total number of result keys associated with index values&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Avg Values/Leaf&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Typical number of index values in a Leaf record&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Avg Keys/Leaf&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Typical number of result keys in a Leaf record&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Avg Keys/Value&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Typical number of result keys for an index value&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Avg Depth&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Typical number of index records to read before finding the first results&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Width per level&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Number of index records at each level of the tree&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Longest Index Id&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;The largest length ID found of an index record, followed by the number of bytes.&lt;br&gt;(The LH Service pre v4.6 has a 50 byte record key limit! v4.6+ has a 552 byte key limit)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Longest Index Value&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;The largest length index value found, followed by the number of bytes.&lt;br&gt;(There is potential for an index value to be included in the ID of an index record)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Redundant Leaves&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Number of Leaf records with no result keys.&lt;br&gt;(Possibly indicates an un-optimised index that should be rebuilt)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Top 3 Values&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;The three most common index values, followed by the number of result keys for each&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#ebebeb&quot; class=&quot;&quot; width=&quot;21%&quot;&gt;Errors&lt;/td&gt;&lt;td class=&quot;&quot; width=&quot;79%&quot;&gt;Number of referential mismatches and missing index records&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;Output is sent to the System Receiver (as well as a DOS file, if specified), so can be RUN in System Monitor.&lt;br&gt;&lt;br&gt;&lt;div&gt;Requires: OpenInsight v7.2+&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;a href=&quot;http://openinsight.wetpaint.comhttps://docs.google.com/document/d/1oYuqgZtnko4tluahwszKvUaUWyw6Pxo12GpZ4gXi7ps/edit&quot; target=&quot;_self&quot;&gt;&lt;font face=&quot;linkReplace&quot;&gt;Source Code&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Web Services</title><link>http://openinsight.wetpaint.com/page/Web+Services</link><author>Exorsys</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Web+Services</guid><pubDate>Mon, 03 Aug 2009 17:01:04 CDT</pubDate><description>There is no abstract available for this page revision.&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Microsoft_ADO_Equates</title><link>http://openinsight.wetpaint.com/page/Microsoft_ADO_Equates</link><author>Exorsys</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Microsoft_ADO_Equates</guid><pubDate>Thu, 02 Apr 2009 15:52:05 CDT</pubDate><description>compile insert Microsoft_Ado_Equates&lt;br&gt;&lt;br&gt;//--------------------------------------------------------------------&lt;br&gt;// Microsoft ADO&lt;br&gt;//&lt;br&gt;// (c) 1996 Microsoft Corporation. All Rights Reserved.&lt;br&gt;//&lt;br&gt;//&lt;br&gt;//&lt;br&gt;// ADO equates include file for VBScript&lt;br&gt;//&lt;br&gt;//--------------------------------------------------------------------&lt;br&gt;&lt;br&gt;//---- CursorTypeEnum Values ----&lt;br&gt;equ adOpenForwardOnly to 0&lt;br&gt;equ adOpenKeyset to 1&lt;br&gt;equ adOpenDynamic to 2&lt;br&gt;equ adOpenStatic to 3&lt;br&gt;&lt;br&gt;//---- CursorOptionEnum Values ----&lt;br&gt;equ adHoldRecords to 0x00000100&lt;br&gt;equ adMovePrevious to 0x00000200&lt;br&gt;equ adAddNew to 0x01000400&lt;br&gt;equ adDelete to 0x01000800&lt;br&gt;equ adUpdate to 0x01008000&lt;br&gt;equ adBookmark to 0x00002000&lt;br&gt;equ adApproxPosition to 0x00004000&lt;br&gt;equ adUpdateBatch to 0x00010000&lt;br&gt;equ adResync to 0x00020000&lt;br&gt;equ adNotify to 0x00040000&lt;br&gt;&lt;br&gt;//---- LockTypeEnum Values ----&lt;br&gt;equ adLockReadOnly to 1&lt;br&gt;equ adLockPessimistic to 2&lt;br&gt;equ adLockOptimistic to 3&lt;br&gt;equ adLockBatchOptimistic to 4&lt;br&gt;&lt;br&gt;//---- ExecuteOptionEnum Values ----&lt;br&gt;equ adRunAsync to 0x00000010&lt;br&gt;&lt;br&gt;//---- ObjectStateEnum Values ----&lt;br&gt;equ adStateClosed to 0x00000000&lt;br&gt;equ adStateOpen to 0x00000001&lt;br&gt;equ adStateConnecting to 0x00000002&lt;br&gt;equ adStateExecuting to 0x00000004&lt;br&gt;&lt;br&gt;//---- CursorLocationEnum Values ----&lt;br&gt;equ adUseServer to 2&lt;br&gt;equ adUseClient to 3&lt;br&gt;&lt;br&gt;//---- DataTypeEnum Values ----&lt;br&gt;equ adEmpty to 0&lt;br&gt;equ adTinyInt to 16&lt;br&gt;equ adSmallInt to 2&lt;br&gt;equ adInteger to 3&lt;br&gt;equ adBigInt to 20&lt;br&gt;equ adUnsignedTinyInt to 17&lt;br&gt;equ adUnsignedSmallInt to 18&lt;br&gt;equ adUnsignedInt to 19&lt;br&gt;equ adUnsignedBigInt to 21&lt;br&gt;equ adSingle to 4&lt;br&gt;equ adDouble to 5&lt;br&gt;equ adCurrency to 6&lt;br&gt;equ adDecimal to 14&lt;br&gt;equ adNumeric to 131&lt;br&gt;equ adBoolean to 11&lt;br&gt;equ adError to 10&lt;br&gt;equ adUserDefined to 132&lt;br&gt;equ adVariant to 12&lt;br&gt;equ adIDispatch to 9&lt;br&gt;equ adIUnknown to 13&lt;br&gt;equ adGUID to 72&lt;br&gt;equ adDate to 7&lt;br&gt;equ adDBDate to 133&lt;br&gt;equ adDBTime to 134&lt;br&gt;equ adDBTimeStamp to 135&lt;br&gt;equ adBSTR to 8&lt;br&gt;equ adChar to 129&lt;br&gt;equ adVarChar to 200&lt;br&gt;equ adLongVarChar to 201&lt;br&gt;equ adWChar to 130&lt;br&gt;equ adVarWChar to 202&lt;br&gt;equ adLongVarWChar to 203&lt;br&gt;equ adBinary to 128&lt;br&gt;equ adVarBinary to 204&lt;br&gt;equ adLongVarBinary to 205&lt;br&gt;&lt;br&gt;//---- FieldAttributeEnum Values ----&lt;br&gt;equ adFldMayDefer to 0x00000002&lt;br&gt;equ adFldUpdatable to 0x00000004&lt;br&gt;equ adFldUnknownUpdatable to 0x00000008&lt;br&gt;equ adFldFixed to 0x00000010&lt;br&gt;equ adFldIsNullable to 0x00000020&lt;br&gt;equ adFldMayBeNull to 0x00000040&lt;br&gt;equ adFldLong to 0x00000080&lt;br&gt;equ adFldRowID to 0x00000100&lt;br&gt;equ adFldRowVersion to 0x00000200&lt;br&gt;equ adFldCacheDeferred to 0x00001000&lt;br&gt;&lt;br&gt;//---- EditModeEnum Values ----&lt;br&gt;equ adEditNone to 0x0000&lt;br&gt;equ adEditInProgress to 0x0001&lt;br&gt;equ adEditAdd to 0x0002&lt;br&gt;equ adEditDelete to 0x0004&lt;br&gt;&lt;br&gt;//---- RecordStatusEnum Values ----&lt;br&gt;equ adRecOK to 0x0000000&lt;br&gt;equ adRecNew to 0x0000001&lt;br&gt;equ adRecModified to 0x0000002&lt;br&gt;equ adRecDeleted to 0x0000004&lt;br&gt;equ adRecUnmodified to 0x0000008&lt;br&gt;equ adRecInvalid to 0x0000010&lt;br&gt;equ adRecMultipleChanges to 0x0000040&lt;br&gt;equ adRecPendingChanges to 0x0000080&lt;br&gt;equ adRecCanceled to 0x0000100&lt;br&gt;equ adRecCantRelease to 0x0000400&lt;br&gt;equ adRecConcurrencyViolation to 0x0000800&lt;br&gt;equ adRecIntegrityViolation to 0x0001000&lt;br&gt;equ adRecMaxChangesExceeded to 0x0002000&lt;br&gt;equ adRecObjectOpen to 0x0004000&lt;br&gt;equ adRecOutOfMemory to 0x0008000&lt;br&gt;equ adRecPermissionDenied to 0x0010000&lt;br&gt;equ adRecSchemaViolation to 0x0020000&lt;br&gt;equ adRecDBDeleted to 0x0040000&lt;br&gt;&lt;br&gt;//---- GetRowsOptionEnum Values ----&lt;br&gt;equ adGetRowsRest to -1&lt;br&gt;&lt;br&gt;//---- PositionEnum Values ----&lt;br&gt;equ adPosUnknown to -1&lt;br&gt;equ adPosBOF to -2&lt;br&gt;equ adPosEOF to -3&lt;br&gt;&lt;br&gt;//---- enum Values ----&lt;br&gt;equ adBookmarkCurrent to 0&lt;br&gt;equ adBookmarkFirst to 1&lt;br&gt;equ adBookmarkLast to 2&lt;br&gt;&lt;br&gt;//---- MarshalOptionsEnum Values ----&lt;br&gt;equ adMarshalAll to 0&lt;br&gt;equ adMarshalModifiedOnly to 1&lt;br&gt;&lt;br&gt;//---- AffectEnum Values ----&lt;br&gt;equ adAffectCurrent to 1&lt;br&gt;equ adAffectGroup to 2&lt;br&gt;equ adAffectAll to 3&lt;br&gt;&lt;br&gt;//---- FilterGroupEnum Values ----&lt;br&gt;equ adFilterNone to 0&lt;br&gt;equ adFilterPendingRecords to 1&lt;br&gt;equ adFilterAffectedRecords to 2&lt;br&gt;equ adFilterFetchedRecords to 3&lt;br&gt;equ adFilterPredicate to 4&lt;br&gt;&lt;br&gt;//---- SearchDirection Values ----&lt;br&gt;equ adSearchForward to 1&lt;br&gt;equ adSearchBackward to -1&lt;br&gt;&lt;br&gt;//---- ConnectPromptEnum Values ----&lt;br&gt;equ adPromptAlways to 1&lt;br&gt;equ adPromptComplete to 2&lt;br&gt;equ adPromptCompleteRequired to 3&lt;br&gt;equ adPromptNever to 4&lt;br&gt;&lt;br&gt;//---- ConnectModeEnum Values ----&lt;br&gt;equ adModeUnknown to 0&lt;br&gt;equ adModeRead to 1&lt;br&gt;equ adModeWrite to 2&lt;br&gt;equ adModeReadWrite to 3&lt;br&gt;equ adModeShareDenyRead to 4&lt;br&gt;equ adModeShareDenyWrite to 8&lt;br&gt;equ adModeShareExclusive to 0xc&lt;br&gt;equ adModeShareDenyNone to 0x10&lt;br&gt;&lt;br&gt;//---- IsolationLevelEnum Values ----&lt;br&gt;equ adXactUnspecified to 0xffffffff&lt;br&gt;equ adXactChaos to 0x00000010&lt;br&gt;equ adXactReadUncommitted to 0x00000100&lt;br&gt;equ adXactBrowse to 0x00000100&lt;br&gt;equ adXactCursorStability to 0x00001000&lt;br&gt;equ adXactReadCommitted to 0x00001000&lt;br&gt;equ adXactRepeatableRead to 0x00010000&lt;br&gt;equ adXactSerializable to 0x00100000&lt;br&gt;equ adXactIsolated to 0x00100000&lt;br&gt;&lt;br&gt;//---- XactAttributeEnum Values ----&lt;br&gt;equ adXactCommitRetaining to 0x00020000&lt;br&gt;equ adXactAbortRetaining to 0x00040000&lt;br&gt;&lt;br&gt;//---- PropertyAttributesEnum Values ----&lt;br&gt;equ adPropNotSupported to 0x0000&lt;br&gt;equ adPropRequired to 0x0001&lt;br&gt;equ adPropOptional to 0x0002&lt;br&gt;equ adPropRead to 0x0200&lt;br&gt;equ adPropWrite to 0x0400&lt;br&gt;&lt;br&gt;//---- ErrorValueEnum Values ----&lt;br&gt;equ adErrInvalidArgument to 0xbb9&lt;br&gt;equ adErrNoCurrentRecord to 0xbcd&lt;br&gt;equ adErrIllegalOperation to 0xc93&lt;br&gt;equ adErrInTransaction to 0xcae&lt;br&gt;equ adErrFeatureNotAvailable to 0xcb3&lt;br&gt;equ adErrItemNotFound to 0xcc1&lt;br&gt;equ adErrObjectInCollection to 0xd27&lt;br&gt;equ adErrObjectNotSet to 0xd5c&lt;br&gt;equ adErrDataConversion to 0xd5d&lt;br&gt;equ adErrObjectClosed to 0xe78&lt;br&gt;equ adErrObjectOpen to 0xe79&lt;br&gt;equ adErrProviderNotFound to 0xe7a&lt;br&gt;equ adErrBoundToCommand to 0xe7b&lt;br&gt;equ adErrInvalidParamInfo to 0xe7c&lt;br&gt;equ adErrInvalidConnection to 0xe7d&lt;br&gt;equ adErrStillExecuting to 0xe7f&lt;br&gt;equ adErrStillConnecting to 0xe81&lt;br&gt;&lt;br&gt;//---- ParameterAttributesEnum Values ----&lt;br&gt;equ adParamSigned to 0x0010&lt;br&gt;equ adParamNullable to 0x0040&lt;br&gt;equ adParamLong to 0x0080&lt;br&gt;&lt;br&gt;//---- ParameterDirectionEnum Values ----&lt;br&gt;equ adParamUnknown to 0x0000&lt;br&gt;equ adParamInput to 0x0001&lt;br&gt;equ adParamOutput to 0x0002&lt;br&gt;equ adParamInputOutput to 0x0003&lt;br&gt;equ adParamReturnValue to 0x0004&lt;br&gt;&lt;br&gt;//---- CommandTypeEnum Values ----&lt;br&gt;equ adCmdUnknown to 0x0008&lt;br&gt;equ adCmdText to 0x0001&lt;br&gt;equ adCmdTable to 0x0002&lt;br&gt;equ adCmdStoredProc to 0x0004&lt;br&gt;&lt;br&gt;//---- SchemaEnum Values ----&lt;br&gt;equ adSchemaProviderSpecific to -1&lt;br&gt;equ adSchemaAsserts to 0&lt;br&gt;equ adSchemaCatalogs to 1&lt;br&gt;equ adSchemaCharacterSets to 2&lt;br&gt;equ adSchemaCollations to 3&lt;br&gt;equ adSchemaColumns to 4&lt;br&gt;equ adSchemaCheckequraints to 5&lt;br&gt;equ adSchemaequraintColumnUsage to 6&lt;br&gt;equ adSchemaequraintTableUsage to 7&lt;br&gt;equ adSchemaKeyColumnUsage to 8&lt;br&gt;equ adSchemaReferentialContraints to 9&lt;br&gt;equ adSchemaTableequraints to 10&lt;br&gt;equ adSchemaColumnsDomainUsage to 11&lt;br&gt;equ adSchemaIndexes to 12&lt;br&gt;equ adSchemaColumnPrivileges to 13&lt;br&gt;equ adSchemaTablePrivileges to 14&lt;br&gt;equ adSchemaUsagePrivileges to 15&lt;br&gt;equ adSchemaProcedures to 16&lt;br&gt;equ adSchemaSchemata to 17&lt;br&gt;equ adSchemaSQLLanguages to 18&lt;br&gt;equ adSchemaStatistics to 19&lt;br&gt;equ adSchemaTables to 20&lt;br&gt;equ adSchemaTranslations to 21&lt;br&gt;equ adSchemaProviderTypes to 22&lt;br&gt;equ adSchemaViews to 23&lt;br&gt;equ adSchemaViewColumnUsage to 24&lt;br&gt;equ adSchemaViewTableUsage to 25&lt;br&gt;equ adSchemaProcedureParameters to 26&lt;br&gt;equ adSchemaForeignKeys to 27&lt;br&gt;equ adSchemaPrimaryKeys to 28&lt;br&gt;equ adSchemaProcedureColumns to 29&lt;br&gt;&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Oracle Access via ODBC</title><link>http://openinsight.wetpaint.com/page/Oracle+Access+via+ODBC</link><author>Exorsys</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Oracle+Access+via+ODBC</guid><pubDate>Thu, 02 Apr 2009 15:49:58 CDT</pubDate><description>Compile Function Oracle_Connect(CharStr Username)&lt;br&gt;* Oracle connection&lt;br&gt;* call SQL_Error to look for errors after using this function&lt;br&gt;$Insert Logical&lt;br&gt;$insert Microsoft_Ado_Equates&lt;br&gt;&lt;br&gt; DataSource = &amp;quot;DEV&amp;quot;&lt;br&gt; pwd = &amp;quot;alpha&amp;quot;&lt;br&gt;ConnectionString = &amp;quot;Provider=OraOLEDB.Oracle; User id=Access;Data Source=&amp;quot; : DataSource : &amp;quot;;Password=&amp;quot; : pwd : &amp;quot;;&amp;quot;&lt;br&gt;oConn = OleCreateInstance(&amp;quot;ADODB.Connection&amp;quot;)&lt;br&gt; &lt;br&gt;oConn-&amp;gt;ConnectionString = ConnectionString&lt;br&gt;x = oConn-&amp;gt;Open()&lt;br&gt;&lt;br&gt;Return oConn&lt;br&gt;&lt;br&gt;** to check for ADO errors after any call&lt;br&gt;&lt;br&gt;Compile function SQL_Error(connDB)&lt;br&gt;declare subroutine msg&lt;br&gt;eDescription = &amp;quot;&amp;quot;&lt;br&gt;if OleStatus() &amp;lt;&amp;gt; 0 then&lt;br&gt; Errors = connDB-&amp;gt;Errors&lt;br&gt; eCount = Errors-&amp;gt;Count&lt;br&gt; eNumber = &amp;quot;&amp;quot;&lt;br&gt; For ev = 1 To eCount&lt;br&gt; this_error = OLEGetProperty(Errors,&amp;quot;ITEM&amp;quot;,ev-1)&lt;br&gt; eNumber&amp;lt;1,ev&amp;gt; = this_error-&amp;gt;Number&lt;br&gt; eDescription&amp;lt;1,ev&amp;gt; = this_error-&amp;gt;DESCRIPTION&lt;br&gt; Next ev&lt;br&gt;end&lt;br&gt;return eDescription&lt;br&gt;&lt;br&gt;*** Oracle storeD procedure call&lt;br&gt;** Note: couldn&amp;#39;t get ADdate type to interpret, so used varchar&lt;br&gt;** gave up trying to return a record set from an SP as well - query works though (see below)&lt;br&gt;&lt;br&gt;Compile function RATE_ORACLE(yadda,yadda,yadda...&lt;br&gt;declare subroutine msg&lt;br&gt;Declare Function Oracle_Connect, SQL_Error&lt;br&gt;$insert Microsoft_Ado_Equates&lt;br&gt;$Insert Oracle_Common&lt;br&gt;&lt;br&gt;Rates = &amp;quot;&amp;quot;&lt;br&gt;errMsg = &amp;quot;&amp;quot;&lt;br&gt; connDB = Oracle_Connect(@USERNAME)&lt;br&gt; ErrMsg = SQL_Error(connDB)&lt;br&gt;end&lt;br&gt;if ErrMsg = &amp;quot;&amp;quot; then&lt;br&gt;   Gosub GetRates &lt;br&gt;end &lt;br&gt;rates&amp;lt;1&amp;gt; = errmsg&lt;br&gt; x = connDB-&amp;gt;Close()&lt;br&gt; connDB = &amp;quot;&amp;quot; &lt;br&gt; &lt;br&gt;&lt;br&gt;return Rates&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;br&gt;GetRates: &lt;br&gt; &lt;br&gt;  cmd = OleCreateInstance(&amp;quot;ADODB.Command&amp;quot;)&lt;br&gt; OlePutProperty(cmd, &amp;#39;ActiveConnection&amp;#39;, connDB )&lt;br&gt; OlePutProperty(cmd, &amp;#39;CommandType&amp;#39;, adCmdStoredProc )&lt;br&gt; OlePutProperty(cmd, &amp;#39;CommandText&amp;#39;, &amp;quot;XXX.TEST_pkg.Calc&amp;quot; )&lt;br&gt; params = cmd-&amp;gt;Parameters&lt;br&gt; * temporary patch until adDate or adDBDate gets working&lt;br&gt; Date_conv = Oconv(Idate,&amp;#39;D4E&amp;#39;)&lt;br&gt; Convert &amp;quot; &amp;quot; to &amp;quot;-&amp;quot; In Date_conv&lt;br&gt; param = oleCallMethod(cmd,&amp;#39;CREATEPARAMETER&amp;#39;,&amp;#39;pi_Eff_Date&amp;#39;,adVarChar,adParamInput,Len(date_conv),Date_conv)&lt;br&gt; x = oleCallMethod(params,&amp;#39;APPEND&amp;#39;,param)&lt;br&gt; param = oleCallMethod(cmd,&amp;#39;CREATEPARAMETER&amp;#39;,&amp;#39;pi_Zip&amp;#39;,adVarChar,adParamInput,Len(Zip),Zip)&lt;br&gt; x = oleCallMethod(params,&amp;#39;APPEND&amp;#39;,param)&lt;br&gt; param = oleCallMethod(cmd,&amp;#39;CREATEPARAMETER&amp;#39;,&amp;#39;pi_Class&amp;#39;,adDouble,adParamInput)&lt;br&gt; OlePutProperty(param,&amp;quot;Value&amp;quot;,Rate_Class/10)&lt;br&gt; x = oleCallMethod(params,&amp;#39;APPEND&amp;#39;,param)&lt;br&gt; param = oleCallMethod(cmd,&amp;#39;CREATEPARAMETER&amp;#39;,&amp;#39;pi_Weight&amp;#39;,adDouble,adParamInput)&lt;br&gt; OlePutProperty(param,&amp;quot;Value&amp;quot;,Tot_weight)&lt;br&gt; x = oleCallMethod(params,&amp;#39;APPEND&amp;#39;,param)&lt;br&gt; param = oleCallMethod(cmd,&amp;#39;CREATEPARAMETER&amp;#39;,&amp;quot;po_Rate_Base_No&amp;quot;,adDouble,adParamOutput)&lt;br&gt; x = oleCallMethod(params,&amp;#39;APPEND&amp;#39;,param)&lt;br&gt; param = oleCallMethod(cmd,&amp;#39;CREATEPARAMETER&amp;#39;,&amp;quot;po_AddOn_Factor&amp;quot;,adDouble,adParamOutput)&lt;br&gt; x = oleCallMethod(params,&amp;#39;APPEND&amp;#39;,param)&lt;br&gt; param = oleCallMethod(cmd,&amp;#39;CREATEPARAMETER&amp;#39;,&amp;quot;po_Territory&amp;quot;,adVarChar,adParamOutput,3)&lt;br&gt; x = oleCallMethod(params,&amp;#39;APPEND&amp;#39;,param)&lt;br&gt; param = oleCallMethod(cmd,&amp;#39;CREATEPARAMETER&amp;#39;,&amp;quot;po_Rate&amp;quot;,adDouble,adParamOutput)&lt;br&gt; x = oleCallMethod(params,&amp;#39;APPEND&amp;#39;,param)&lt;br&gt;  &lt;br&gt; x = cmd-&amp;gt;Execute()&lt;br&gt; ErrMsg = SQL_Error(connDB)&lt;br&gt; If ErrMsg = &amp;quot;&amp;quot; then&lt;br&gt;  For opv = 1 To 4&lt;br&gt;  param = oleGetProperty(params,&amp;quot;Item&amp;quot;,opv+8)&lt;br&gt;  Rates&amp;lt;1+opv&amp;gt; = param-&amp;gt;value&lt;br&gt;  Next opv&lt;br&gt;  Rates&amp;lt;5&amp;gt; = rates&amp;lt;5&amp;gt; * 10000&lt;br&gt; end&lt;br&gt; cmd = &amp;quot;&amp;quot;&lt;br&gt; param = &amp;quot;&amp;quot;&lt;br&gt; params = &amp;quot;&amp;quot;&lt;br&gt;&lt;br&gt;Return&lt;br&gt;&lt;br&gt;** Return a Record Set from a Query&lt;br&gt;&lt;br&gt;GetUserProperties:&lt;br&gt;&lt;br&gt; Row = &amp;quot;&amp;quot;&lt;br&gt; UserRecord = &amp;quot;&amp;quot;&lt;br&gt; Script = &amp;quot;SELECT A, B, C, D, F, E FROM DUAL&amp;quot;&lt;br&gt; affected = 0&lt;br&gt; rs = ConnDB-&amp;gt;Execute(Script, affected,1)&lt;br&gt; Errmsg = LTL32_SQL_Error(ConnDB)&lt;br&gt; If Errmsg = &amp;quot;&amp;quot; then&lt;br&gt;   rCount = 0&lt;br&gt; fields = rs-&amp;gt;Fields&lt;br&gt;  x = rs-&amp;gt;MoveFirst()&lt;br&gt; loop Until rs-&amp;gt;Eof or OleStatus() &amp;lt;&amp;gt; 0 &lt;br&gt; rcount += 1&lt;br&gt; For iv = 1 To 7&lt;br&gt;  item = OleGetProperty(Fields, &amp;#39;ITEM&amp;#39;, iv-1)&lt;br&gt;  UserRecord&amp;lt;iv&amp;gt; = item-&amp;gt;value&lt;br&gt; Next iv &lt;br&gt; For iv = 8 To 10&lt;br&gt;  item = OleGetProperty(Fields, &amp;#39;ITEM&amp;#39;, iv-1)&lt;br&gt;  UserRecord&amp;lt;iv,rcount&amp;gt; = item-&amp;gt;value&lt;br&gt; Next iv &lt;br&gt; x = rs-&amp;gt;MoveNext()&lt;br&gt;  repeat&lt;br&gt; end&lt;br&gt; x = OleCallMethod(rs, &amp;#39;Close&amp;#39;)&lt;br&gt; rs = &amp;quot;&amp;quot;&lt;br&gt; &lt;br&gt;Return&lt;br&gt;&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Get Cureent Windows User ID</title><link>http://openinsight.wetpaint.com/page/Get+Cureent+Windows+User+ID</link><author>Exorsys</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Get+Cureent+Windows+User+ID</guid><pubDate>Thu, 02 Apr 2009 15:31:55 CDT</pubDate><description>EDIT SYSPROCS dll_advapi32&lt;br&gt; LONG STDCALL GetUserNameA(LPCHAR, LPLONG) AS GetUserName&lt;br&gt;SYSTEM MONITOR&lt;br&gt; run declare_fcns &amp;quot;DLL_ADVAPI32&amp;quot;&lt;br&gt;&lt;br&gt;GetWinUser:&lt;br&gt;&lt;br&gt;IDLen = 257&lt;br&gt;WinUser = Str(\00\, IDLen)&lt;br&gt;If GetUserName(WinUser, IDLen) then &lt;br&gt; WinUser = WinUser[1,IDLen-1]&lt;br&gt;End Else&lt;br&gt; WinUser = &amp;quot;&amp;quot;&lt;br&gt;end&lt;br&gt;* for testing on dev machine&lt;br&gt;Convert @LOWER_CASE To @UPPER_CASE In WinUser&lt;br&gt;end&lt;br&gt;&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Week Number</title><link>http://openinsight.wetpaint.com/page/Week+Number</link><author>Kauko</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Week+Number</guid><comments>Moved from: OpenInsight Community Source Code</comments><pubDate>Sun, 15 Feb 2009 10:03:47 CST</pubDate><description>There is no abstract available for this page revision.&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Paperbins</title><link>http://openinsight.wetpaint.com/page/Paperbins</link><author>edgecumbe</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Paperbins</guid><pubDate>Fri, 08 Aug 2008 00:41:41 CDT</pubDate><description>OI paper bin functionality does not work correctly with newer printers, which use a wider range of codes than defined in OI.&lt;br&gt;Apologies: I was going to attach some code, but I don&amp;#39;t seem to be able to.&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Operating AREV32</title><link>http://openinsight.wetpaint.com/page/Operating+AREV32</link><author>dharmacek</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Operating+AREV32</guid><pubDate>Mon, 23 Jun 2008 08:26:59 CDT</pubDate><description>dharmacek: I just converted one of my client ArevDOS installations to Arev32. I&amp;#39;m going to start a number of threads about my experience. Feel free to ask questions or post your own solutions/problems. PM: The Arev of DOS was version 3.12. It has been interoperating with OI 3.75 for years, and OI 7.3, then OI 8.0.6.&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>RGD OSDirectoryTree</title><link>http://openinsight.wetpaint.com/page/RGD+OSDirectoryTree</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/RGD+OSDirectoryTree</guid><comments>Moved from: Utilities</comments><pubDate>Mon, 26 May 2008 20:47:32 CDT</pubDate><description>A simple utility that returns an @FM delimited array of all the subdirectories under a given directory, including all child subdirectories. The array is returned flat in the order the directories are discovered.&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Converting to AREV32</title><link>http://openinsight.wetpaint.com/page/Converting+to+AREV32</link><author>dharmacek</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Converting+to+AREV32</guid><comments>moved details to thread</comments><pubDate>Mon, 23 Jun 2008 08:14:12 CDT</pubDate><description>dharmacek: I just converted one of my client ArevDOS installations to Arev32. I&amp;#39;m going to start a number of threads about my experience. Feel free to ask questions or post your own solutions/problems. PM: The Arev of DOS was version 3.12. It has been interoperating with OI 3.75 for years, and OI 7.3, then OI 8.0.6. &lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>AREV32</title><link>http://openinsight.wetpaint.com/page/AREV32</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/AREV32</guid><pubDate>Sat, 24 May 2008 18:24:21 CDT</pubDate><description>This section contains information about using AREV32 in OpenInsight.&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Installing and running the oeSocketServer Service</title><link>http://openinsight.wetpaint.com/page/Installing+and+running+the+oeSocketServer+Service</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Installing+and+running+the+oeSocketServer+Service</guid><pubDate>Wed, 12 Mar 2008 16:45:11 CDT</pubDate><description>A whitepaper discussing how to install and run the oeSocketServer service.&lt;br&gt;&lt;br&gt;See also the white paper on &lt;a href=&quot;http://openinsight.wetpaint.com/page/Configuring+OECGI2&quot; target=&quot;_self&quot;&gt;Configuring OECGI2&lt;/a&gt; and the &lt;a href=&quot;http://openinsight.wetpaint.com/page/Prototypejs+Ajax+Framework+Examples&quot; target=&quot;_self&quot;&gt;Proptype Ajax Framework example&lt;/a&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Configuring OECGI2</title><link>http://openinsight.wetpaint.com/page/Configuring+OECGI2</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Configuring+OECGI2</guid><pubDate>Wed, 12 Mar 2008 16:45:52 CDT</pubDate><description>White paper discussing how to install and configure the OECGI2 gateway on IIS and apache.&lt;br&gt;&lt;br&gt;See also the whitepaper on &lt;a href=&quot;http://openinsight.wetpaint.com/page/installing+and+running+the+oeSocketServer+service&quot; target=&quot;_self&quot;&gt;installing and running the oeSocketServer service&lt;/a&gt; and the &lt;a href=&quot;http://openinsight.wetpaint.com/page/Prototypejs+Ajax+Framework+Examples&quot; target=&quot;_self&quot;&gt;Prototype Ajax Framework Example&lt;/a&gt; .&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Popups under Control/EdiTable cell</title><link>http://openinsight.wetpaint.com/page/Popups+under+Control%2FEdiTable+cell</link><author>BarryStevens</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Popups+under+Control%2FEdiTable+cell</guid><pubDate>Sun, 09 Mar 2008 17:32:23 CDT</pubDate><description>This function will call a popup and place it under a control or EditTable cell.&lt;br&gt;the value will be returned to the control; OR the calling ssp only ( NoCtrlRet)&lt;br&gt;&lt;br&gt;Can be used as a quickevent.&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>OLE Adobe PDF - FDF</title><link>http://openinsight.wetpaint.com/page/OLE+Adobe+PDF+-+FDF</link><author>bornecw</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/OLE+Adobe+PDF+-+FDF</guid><pubDate>Mon, 28 Apr 2008 22:15:37 CDT</pubDate><description> 			In order to get this to work, you must have Adobe Professional installed on the machine that will be running this code. Adobe Pro will install the necessary files to get the OLE working. &lt;br&gt;&lt;br&gt;1) Create or edit a pdf file by adding text controls in the necessary places.&lt;br&gt;2) Paste the below code into OI.&lt;br&gt;3) Basic Utilization - &lt;br&gt; &lt;br&gt; &lt;font&gt;CLB_PDF(&lt;font&gt;&amp;#39;CREATE&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;\\Ns1\test.pdf&amp;#39;&lt;/font&gt;&lt;font&gt;)&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;DealershipName&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;TEST&amp;#39;&lt;/font&gt;&lt;font&gt;)&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;MailingAddress&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;123 1st St&amp;#39;&lt;/font&gt;&lt;font&gt;)&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;CityStZip&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;Ny, NY 21236&amp;#39;&lt;/font&gt;&lt;font&gt;)&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;DealerNumber&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;&amp;#39;&lt;/font&gt;&lt;font&gt;)&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;DateFromThrough&amp;#39;&lt;/font&gt;&lt;font&gt;,fdate:&lt;/font&gt;&lt;font&gt;&amp;#39;-&amp;#39;&lt;/font&gt;&lt;font&gt;:tdate)&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;DealerContactPerson&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;MikeVince&amp;#39;&lt;/font&gt;&lt;font&gt;)&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;DealerContact&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;713-555-1212&amp;#39;&lt;/font&gt;&lt;font&gt;)&lt;br&gt; &lt;/font&gt;&lt;font&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;PageNumber&amp;#39;&lt;/font&gt;&lt;font&gt;,PNo)&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;OfPageNumber&amp;#39;&lt;/font&gt;&lt;font&gt;,TPages)&lt;/font&gt;&lt;/font&gt;&lt;br&gt; &lt;font&gt;CLB_PDF(&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;PageTotal&amp;#39;&lt;/font&gt;&lt;font&gt;,OConv(AmtTotal,&lt;/font&gt;&lt;font&gt;&amp;#39;MD2,$&amp;#39;&lt;/font&gt;&lt;font&gt;))&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;SET&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;TotalNumberOfAgreements&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;@Reccount&lt;/font&gt;&lt;font&gt;)&lt;br&gt;CLB_PDF(&lt;/font&gt;&lt;font&gt;&amp;#39;CLOSE&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;Register&lt;/font&gt;&lt;font&gt;.fdf&amp;#39;&lt;/font&gt;&lt;font&gt;)&lt;/font&gt;&lt;/font&gt; &lt;font&gt;&lt;br&gt;CLB_PDF(&lt;font&gt;&amp;#39;OPEN&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;&amp;#39;&lt;/font&gt;&lt;font&gt;,&lt;/font&gt;&lt;font&gt;&amp;#39;&amp;#39;&lt;/font&gt;&lt;font&gt;,nfilename)&lt;/font&gt;&lt;/font&gt;  &lt;br&gt;&lt;br&gt;_________________________________________________________________________________&lt;br&gt;&lt;br&gt;Subroutine FDF_PDF(Type, Param2, Param3, FileName)&lt;br&gt;************************************************************************************************ &lt;br&gt;*                                                                                                                 &lt;br&gt;*                                                                                               &lt;br&gt;* Name:         FDF_PDF     &lt;br&gt;*&lt;br&gt;* Original Programmer:  Clay Borne                                                           &lt;br&gt;*                                                                                                &lt;br&gt;* Description: The FDF_PDF procedure fills in form fields in an Adobe PDF&lt;br&gt;*                                                                                               &lt;br&gt;* Parameters:                                                                                    &lt;br&gt;*   Type            [in]     -- CREATE, SET, CLOSE, OPEN&lt;br&gt;*                                                       &lt;br&gt;*   Param2          [in]     -- If CREATE - FileName with path&lt;br&gt;*                               If SET - Control Name &lt;br&gt;*                               If CLOSE - BLANK&lt;br&gt;*                               If OPEN - BLANK&lt;br&gt;*       &lt;br&gt;*   Param3          [in]     -- If CREATE - BLANK&lt;br&gt;*                               If SET - Value to Set Control to &lt;br&gt;*                               If CLOSE or OPEN - BLANK                    &lt;br&gt;*                                                                                               &lt;br&gt;* Returns:                                                                                       &lt;br&gt;*   Nothing                                                                  &lt;br&gt;*                                                                                                &lt;br&gt;* History (Date, Initials, Notes)&lt;br&gt;*   07/24/07    CWB     Original Programmer                                                     &lt;br&gt;*                                                                                                &lt;br&gt;************************************************************************************************&lt;br&gt;COMMON /%%FDF_PDF%%/ FileName@,FDFName@,FdfAcX@,myFdf@ &lt;br&gt;DECLARE FUNCTION OleCreateInstance,OleCallMethod&lt;br&gt;&lt;br&gt;BEGIN CASE&lt;br&gt;&lt;blockquote&gt;    CASE TYPE = &amp;#39;CREATE&amp;#39;&lt;br&gt;&lt;blockquote&gt;        FdfAcX = OleCreateInstance(&amp;quot;FdfApp.FdfApp&amp;quot; )&lt;br&gt;        FdfAcX@ = FdfAcX&lt;br&gt;        myFdf = OleCallMethod(FdfAcX,&amp;#39;FDFCreate&amp;#39;)&lt;br&gt;        myFdf@ = myFdf &lt;br&gt;        FileName@ = Param2&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;    CASE TYPE = &amp;#39;SET&amp;#39;&lt;br&gt;&lt;blockquote&gt;         ret = OleCallMethod(myFdf@,&amp;#39;fdfsetvalue&amp;#39;,Param2,Param3, 0)&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;    CASE TYPE = &amp;#39;CLOSE&amp;#39; &lt;br&gt;&lt;blockquote&gt;        ret = OleCallMethod(myFdf@,&amp;#39;FDFSetFile&amp;#39;,FileName@)&lt;br&gt;        ret = OleCallMethod(myFdf@, &amp;#39;FDFSaveToFile&amp;#39;,{PATH}:FileName )&lt;br&gt;        ret = OleCallMethod(myFdf@,&amp;#39;fdfclose&amp;#39;)&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;    CASE TYPE = &amp;#39;OPEN&amp;#39;&lt;br&gt;&lt;blockquote&gt;        program= {PATH}:Filename&lt;br&gt;&lt;font&gt;        mode=&lt;/font&gt;3&lt;br&gt;&lt;font&gt;          &lt;font size=&quot;3&quot;&gt;rv=Utility(&lt;/font&gt;&lt;font size=&quot;3&quot;&gt;&amp;quot;RUNWIN&amp;quot;&lt;/font&gt;&lt;font size=&quot;3&quot;&gt;,program,mode)&lt;/font&gt;&lt;/font&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;                         &lt;br&gt;END CASE&lt;br&gt;        &lt;br&gt;&lt;br&gt;return&lt;br&gt;&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Rev Guy Reveals No1. Promoted Events</title><link>http://openinsight.wetpaint.com/page/Rev+Guy+Reveals+No1.+Promoted+Events</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Rev+Guy+Reveals+No1.+Promoted+Events</guid><comments>Moved from: Whitepapers</comments><pubDate>Wed, 12 Mar 2008 16:43:35 CDT</pubDate><description>Backgound information on Event Processing in OpenInsight and covers how to create a promoted event.&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Whitepapers</title><link>http://openinsight.wetpaint.com/page/Whitepapers</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Whitepapers</guid><comments>Moved from: OpenInsight Community Source Code</comments><pubDate>Sun, 02 Mar 2008 15:13:49 CST</pubDate><description>A collection of whitepapers on various OpenInsight topics.&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Sending and receiving e-mail using MAPI</title><link>http://openinsight.wetpaint.com/page/Sending+and+receiving+e-mail+using+MAPI</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Sending+and+receiving+e-mail+using+MAPI</guid><pubDate>Tue, 19 Feb 2008 15:16:27 CST</pubDate><description>This whitepaper covers everything you need to know about sending and receiving e-mail via the MAPI interface built in to OpenInsight since v3.5x.&lt;br&gt;&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Mail</title><link>http://openinsight.wetpaint.com/page/Mail</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Mail</guid><comments>Moved from: OpenInsight Community Source Code</comments><pubDate>Thu, 21 Feb 2008 15:05:44 CST</pubDate><description>There is no abstract available for this page revision.&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>RGD LatLong Conversion</title><link>http://openinsight.wetpaint.com/page/RGD+LatLong+Conversion</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/RGD+LatLong+Conversion</guid><comments>Moved from: Utilities</comments><pubDate>Tue, 19 Feb 2008 15:12:19 CST</pubDate><description>Function to convert latitude and longitude between degrees minutes and seconds and decimal format.&lt;br&gt;&lt;br&gt;Pass the latitude and longitude in either format to this function and it will return the other format.&lt;br&gt;&lt;br&gt;Handy for &lt;a href=&quot;http://openinsight.wetpaint.com/page/mapping&quot; target=&quot;_self&quot;&gt;mapping&lt;/a&gt; applications.&lt;br&gt;&lt;br&gt;Source code attached below.&lt;br&gt;&lt;br&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item></channel></rss>
