You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added checkHiddenExcelInstance to warn user about background excel (at startup and via checkpurgeNames)
added lookups refresh after DBSheet modifications,
added additional encryption information to OLEDB connection string in DBListFetch if required by Encrypt=true in normal connection string
added info about problems with encrypt=yes and packet size >16387
fixed AdHocSQL data grid problem with unrenderable data
catch all exceptions in DBRowFetchAction
''' <summary>For non displayable data (blobs, etc.) that raise an exception, write out the exception in the datagrid cell tooltip instead of lots of popups</summary>
IfNotrecordsetHasRowsThenStatusCollection(callID).statusMsg="Warning: No Data returned in query: "+Query
1295
1295
1296
-
' if "heading range" is present then orientation of first range (header) defines layout of data: if "heading range" is column then data is returned column-wise, else row by row.
1297
-
' if there is just one block of data then it is assumed that there are usually more rows than columns and orientation is set by row/column size
' put values (single record) from Recordset into targetCells
1300
-
DimfieldIterAsInteger=0' iterating through recordset fields
1301
-
DimrangeIterAsInteger=0' iterating through passed ranges
1302
-
DimheaderFilledAsBoolean=NotHeaderInfo' if we don't need headers the assume they are filled already....
1303
1296
DimtotalFieldsDisplayedAsLong=0' needed to calculate displayedRows
1304
-
DimrefCollectorAsExcel.Range=targetCells(0)' needed to put together passed ranges to give dbftarget name to them
1305
-
Do
1306
-
DimtargetSlicesAsExcel.Range
1307
-
IffillByRowsThen
1308
-
targetSlices=targetCells(rangeIter).Rows
1309
-
Else
1310
-
targetSlices=targetCells(rangeIter).Columns
1311
-
EndIf
1312
-
ForEachtargetSliceAsExcel.RangeIntargetSlices
1313
-
DimabortedAsBoolean=XlCall.Excel(XlCall.xlAbort)' for long running actions, allow interruption
1314
-
IfabortedThen
1315
-
errMsg="data fetching interrupted by user !"
1316
-
GoToerr
1297
+
Try
1298
+
' if "heading range" is present then orientation of first range (header) defines layout of data: if "heading range" is column then data is returned column-wise, else row by row.
1299
+
' if there is just one block of data then it is assumed that there are usually more rows than columns and orientation is set by row/column size
0 commit comments