1.0.64

Fixed misspelling with SETACTIVERECELLFORECOLOR and SETACTIVERECELLBACKCOLOR and changed to SETACTIVECELLBACKCOLOR and SETACTIVECELLBACKCOLOR.

1.0.63

Added SETSELECTEDROWINSERT function to insert blank row in spreadsheet using .Selection.EntireRow.Insert.

1.0.61/1.0.62

2009-09-29

Added adDBDate data type to the date handler. Customer was having odd errors with Informix database where they got the following error message Multiple-step OLE DB operation generated errors. Now if we get errors reading a date from an Informix database, we return a date of: 1900-01-01. The problem ultimately started because they had some bad date/time fields in their Informix database table.

1.0.60

2009-09-29

Added trace point code to excel command function for tracking errors.

1.0.59

2008-11-26

Updated PC component to correctly handle the situation where the trailing @@END statement in the transferred data may be split because of the TCP/IP packet breaking up somewhere in the middle of the @@END statement. This was causing periodic lockups for some customers because the PC component would go in to an endless looping condition.

1.0.58

2008-07-22

Added code to automatically kill Excel if it's been launched and the socket connection closes and RPG2SQL still thinks Excel is active. The user will lose the spreadsheet data they were working on, but this should clean up straggler Excel instances that can be left opn on abnormal disconnects from an RPG program without shutting down Excel.

1.0.57

2008-04-10

Added output of "199 EOF" for the SQL_GetParm function in RPG service program. Was causing a lockup when retrieving a parameter after a stored procedure call.

1.0.56

2008-02-08

  1. Fixed Excel get delimited record function to always get the correct ending column.

1.0.55

2008-01-30

  1. Added command timeout for mvarADOCMD. Some customers having timeout issues on long running stored procedures. This sets the timeout for the mvarAdoCmd object variable. The RPG function SQL_SetTimeout needs to be run to set any timeout values prior to running any queries after the SQL_Connect operation is run.
  2. Added trace point info to RunSQLSPExecParmRecordset function. This should show in the debug area which lines are failing with a trace id. We have a customer where this routine fails when running a stored procedure to get a recordset. We're thinking if the timeout value gets set higher this may work. They are getting an Object Error 91 on a single PC.

1.0.54

2007-05-10

By default we no longer try to guess and format dates identified by IsDate() into an ISO date field when reading a delimited record from an Excel spreadsheet. We simply bring the text values across. XLS Date formatting can be enabled and disabled with the following RPG function calls. Once enabled or disabled this is set globally in the PC component until the program is started or ENABLE/DISABLE is called again.

RPG Sample to Enable Date Formatting:

*--------------------------------------------------------------------  *      ** Enable Excel Date Formatting  
*-------------------------------------------------------------------- C       Eval  Rtn = XLS_Command(SQL_Socket: C     'EXCELDATEFORMATON': C     ' ')
*--------------------------------------------------------------------  *      ** Disable Excel Date Formatting  
*-------------------------------------------------------------------- C       Eval  Rtn = XLS_Command(SQL_Socket: C     'EXCELDATEFORMATOFF': C     ' ')

Note: NO service program or library updates were required on the iSeries.

1.0.53

2007-02-13

Recompiled program code and error when running SQTEST29 went away. Not sure why :-)

1.0.52

2006-08-17

Fixed problem with ExcelGetDelimRecord that some numbers are being returned as timestamps. E.g., 22.5 in General format returns 1899-12-31-22.05.00.000000 because it thinks it is 22 hours 5 minutes. 22.5 in Numeric with 2 decimals returns 1899-12-31-22.50.00.000000 because it looks like 22.50 in the text, therefore is considered to be 22 hours 50 minutes.

Fixed problem with ExcelRowCount that it sometimes returns a row count that is too small. This can happen when there are blank rows at the top of the worksheet, especially after the user has edited the sheet.

1.0.51

2006-04-25

Added ability to create a backup of the log file before we create a new one once the max log file size has been reached. Once the max log file size has been reached we now rename it to a backup log and then create a new one, this way there will be one current log and one old log.

1.0.50

2006-04-24

Added ability to clear log file after it has reached the specified Max Log File Size stated in File/Settings.

1.0.49

2006-03-23

Fixed problem with converting date fields to ISO format in the ExcelGetDelimRecord function. Excel Time fields were not being converted to ISO properly.

1.0.48

2006-03-13

We now convert date fields to ISO format in the ExcelGetDelimRecord function.

1.0.46/1.0.47

2006-01-30

Added XLS Row/Col/Used Range Retrieval. This way programmer knows how many rows/cols in a spreadsheet for reading. Note: Requires RJSRPGSQL library V1.46 and above with new function XLS_RowColCount

1.0.45

2005-11-28

Changed code to return the absolute value of a boolean SQL field as either a positive 1 or a 0 instead of a -1 or a 0.

1.0.44

2005-08-10

Added terminator data "199 EOF" at the end of each EXCELGETDELIMREC record function so that the RPG2SQL library V1.44 and above can use the SQL_TCPTrace and SQL_TCPMultBuff functions to attempt to read multiple data buffers if packets are split during receiving.

Note: Requires RJSRPGSQL library V1.44 and above.

1.0.43

2005-08-03

We now release ADO connection when DBCloseConnection is called. This prevents SQL connections from staying open inadvertently because we previously were not releasing the ADO connection until the socket connection from the 400 was closed.

1.0.42

2005-07-21

Added terminator data "199 EOF" at the end of each MOVEDELIMITED record function so that the RPG2SQL library V1.44 and above can use the SQL_TCPTrace and SQL_TCPMultBuff functions to attempt to read multiple data buffers if packets are split during receiving. Note: Requires RJSRPGSQL library V1.44 and above.

1.0.41

2005-05-23

Fixed problem when getting SQL delimiter via GETSQLDELIM function. Apparently this was causing any error messages created during the time the GetSQLDelim function is called to get eaten so the program would not return errors that might happen during the GetDelimRecordBuffer function. Basically no errors would ever get returned from GetDelimRecordBuffer under this scenario if a Error 13 "Type Mismatch" or Error 94 "Invalid Use of Null" error occurred when parsing data.

If a bit field was NULL, this was causing Error 94 "Invalid Use of Null" to occur when parsing the bit/Boolean field from the record data stream. We now set Null bit fields to 0 automatically, so no Invalid Null errors should ever occur.

1.0.40

2005-03-28

Changed project properties for threading model to "Thread Per Object" from "Thread Pool - 1". This will effectively force the component to create a thread for each CRPGSQLServer object created by a new connection. Had to remove the system tray component because the component was not multi-threaded so the program would not compile.

1.0.39

2005-02-09

Added WORKSHEETCOPY option for XLS. This option has the following parameters:

  • XLS_Command(SQL_Socket:WORKSHEETCOPY':'before~Sheet3~NewSheetName') This will place copy the active sheet before Sheet3 and name it NewSheetName.
  • XLS_Command(SQL_Socket:WORKSHEETCOPY':'after~Sheet3~NewSheetName') This will place copy the active sheet after Sheet3 and name it NewSheetName.

If Sheet3 is not passed then it will place the new sheet at the very beginning of all the sheets when using the BEFORE parameter or at the very end of all the sheets when using the AFTER parameter. If the NewSheetName parameter is not passed then it will use the default Excel name.

1.0.38

2004-12-02

Resolved following odd problem:

1.0.37

2004-09-30

Fixed ExcelGetDelimRec function to return excel row as a delimited record buffer without getting any errors if a date field is Null.

1.0.36

2004-09-30

Added ExcelGetDelimRec function to return excel row as a delimited record buffer.

1.0.35

2004-09-16

Fixed problem so that if date conversion to ISO fails, we still return a valid ISO date value to the user. Also added a spec after a date field gets returned to the record buffer to prevent buffer parsing problems.

1.0.34

2004-09-14

Added SETSQLDELIM function to soft code delimiter that can be used

1.0.33

2004-06-21

Added fix to FILESAVEAS to kill existing file if selected file we're trying to Save already exists and is not the current file opened. Users were getting odd OLE errors when trying to do a saveas to an existing Excel spreadsheet file.

1.0.32

2004-05-11

Added return code to RunSQLSelect method so that if an error occurs a on-zero return code is sent back to the user

1.0.31

2004-04-16

Added binary file retrieval capability. Requires V1.33 or above of RJSRPGSQL library.

New RPG2SQLSV functions in RPG service program: SQL_PCFileSize, SQL_PCFileOpen, SQL_PCFileClose,SQL_PCFileGetB

1.0.30

2004-02-24

Added XLSSUBTOTAL Excel operation. The RPG program can subtotal a total of 10 columns.

Example RPG call: This example will subtotal columns 2 and 4 everytime column 1 changes:

Eval  Rtn = XLS_Command(SQL_Socket:   'XLSSUBTOTAL':'1~2~4')

1.0.29

2004-01-17

Removed PPP License checking.

1.0.28

2004-01-12

Updated the ExcelSetDelimRecord so it will add data starting at the column specified by the RPG program instead of over writting.

1.0.25

2003-03-01

Added PCMKDIR method for creating directories. Requires RPG2SQL V1.28

1.0.24

2005-02-04

Added AutoFit Excel Function to autosize all column widths to data.

1.0.23

2003-03-01

Converted to ActiveX EXE so we can launch this program as a service.

1.0.12

2003-03-01

When running RUNSQLEXEC statements, an Unknown Request message was showing when running in DEBUG mode.

1.0.11

2003-03-01

When minimzed, main window now auto-hides in system tray. Must click system try to redisplay window. Updated system tray icon and regular icon to be a globe. We now display text descriptions for opcodes in debug mode. From the file menu, debug data can be exported to clipboard when in debug mode. Debug list box can be cleared from file menu. Can now scroll horizontally when in debug mode. If STARTMIN is passed on inital command line, the program minimzes to system tray right away.

1.0.10

2002-11-24

Added ADO connection timeout property.

1.0.9

2002-11-24

Added Create Empty PC File.

1.0.8

2002-11-24

Added PC File Rename.

1.0.7

2002-11-24

Added GetStringRow to see if it is faster than returning a record via

1.0.6

2005-02-04

Added buffer MoveNext, MovePrev, MoveFirst and MoveLast code.

1.0.5

2002-11-24

Added PC file copy, delete and exists routines.

1.0.4

2002-11-04

Only show list box if running in debug mode

1.0.3

2002-11-04

Added date retrieval in ISO format. Function name: GetFieldDate

1.0.2

2002-10-21

Added screen resizing to resize all controls.

Fixed error logic returned when unhandled errors occur. This was causing situations for the ILE Service program on the AS/400 where no value was getting returned because the 100 SQL entry was not being correctly returned on unhandled errors in this program. The ILE service program would error out.

On GetFieldData, convert null numerics to 0 and null character fields to blanks to prevent errors.

Still have questions? We can help. Submit a case to technical support

Last Modified On:
You don't have the appropriate permissions.
No, open a new Support Case