Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

MattCrozier

About

Username
MattCrozier
Joined
Visits
1,498
Last Active
Roles
Member

Comments

  • Great, thanks for that. It appears that output was sorted by default back in version 1.6. That's nice for diagnostics, but good to now be able to have that off for production.
  • :) I suspected that ;). All good now - thanks for this. Cheers, M@
  • Thanks. That dll is the same as in the zip file, but neither of them work. The 2.1.2 dll does work though. The 2.1.2 dll is 1.2Mb whereas the 2.1.3 dll is 1.43Mb. So Rotate looks ok - thanks. I've looked at the other array functions as well: I…
  • Thanks Kevin! Although if I run that as an RDKinstall and test the line, I get an "SRP_ROTATE_ARRAY, line 40: SRPRotateArray does not exist in dynamic link library SRPUTILITIES" error. I even tried copying over the SRPutilities.dll manually. Che…
  • That said, I would rather read nested code that has a singular exit point than code that just prematurely aborts. For me, the latter this is much harder to follow and debug. I admit that I probably am in the minority in this view. I'll back you up…
  • Hmm, I can't recall - it may have come from Carl, if not Jared. I may have had to prototype MoveWindow myself at the time. I think the winAPI stubs came later.
  • Here's something I got from the old Rev forum: Subroutine FD_controls( params) /* Adjust the size of the Controls Panel in Form Designer so that the dimensions information visible on Windows 8+ Pass a parameter to reduce the Controls Panel heig…
  • Str_Unicode is more like a macro in that it "becomes" Ansi_Unicode if the UTF8 flag is off and UTF8_Unicode if the UTF8 flag is on. Ah ha! - Thanks Kevin :)
  • Both Str_Unicode() and ANSI_Unicode() are prototyped for the CRevExt DLL (so part of OI), but I'm not sure what the difference between the two is? Both seem to convert ANSI strings to Unicode.
  • Maybe SetNoOfDelimiters() is being called, or the SYSTEM.NO_OF_DELIMITERS property is being set, with a low value somewhere??
  • Wouldn't the NOT operation of the SRP_Array( 'Join') function handle this? The logical NOT operation returns only those items that appear in LeftArray but not in RightArray. In other words, think of RightArray as an exclusion list We use this f…
  • I've got an utility function that trims a multi-nested dynamic array of trailing system delimiters (and spaces) for all system delimiters. I use it to reduce highly structured arrays (typically records) and when checking for changes. Function Ut_…
  • As far as I know, using RTI_Lock_Owner() with a Linear Hash service is the only way you can test a lock without physically placing a lock. So this method depends on it being reliable, of course. I found that it did what it was supposed to do in my…
  • IMHO, I'm strongly in favour of Mark or Bob's structure as best practise. Any very lengthy code within a block structure should be taken out as its own subroutine or service module, leaving the conditional or loop structure clear and concise. I'l…
  • What I did was first check if there is an active connection to the Linear Hash service (v4.7.2). If so then I'll use RTI_Lock_Owner() to determine the lock status; otherwise I'll test the lock manually. isLocked = false$ lockStatus = '' If SRP_…
  • Yes, thanks Don. I've grabbed this from another machine and I've got SRPcontrols64.ocx registered now. Just want to figure out why I was missing it, and what else might be missing! Cheers, M@
  • Ah, thanks! Looks like I don't have a VCOMP120.DLL
  • Thanks Kevin. I've successfully registered SRPcontrols64.ocx on another Win 10 machine so it does seem there's something not right with my workstation. I've run Dependency Walker on both machines - it shows errors even with a successful registrati…
  • Thanks Jared - unfortunately it's not showing as blocked. Yes, I've been caught out by that before ;).
  • Yeap. Version 10.0.17134 Build 17134
  • I'm getting the error as above but on my Windows 10 desktop! It doesn't seem to matter where I put the SRPControls64.ocx file (v4.1.2) or which version of regsvr32 I use. I'm running it at the Administrator Command Prompt. It seems like there is …
  • Ok, I've just replicated the exact same report on two different workstations, both with the same intermediate pages missing, but with one missing an extra page. Interesting that when you look in the local Windows Temp folder while the PDF is being …
  • I can't find that particular issue now. We recall an instance where the first page was numbered page 5! But have another example where images were no longer being shown at some point in the report although the text was still output. That's more i…
  • IIRC we were getting missing pages, not necessarily at the end. The reports were not necessarily one record per page so it was possible to get truncated or merged records within the report. It appeared to be a problem specifically with the page ge…
  • We find similar issues with PDF generation from OIPI v1 (not the .net version), especially if the reports include images. I presume its a memory issue within OIPI on the workstation. We tell people to Print to a PDF driver if they are getting thes…
  • Hmm, interesting! We're using a third party 32bit DLL tool in OI 9.4, but we're going to have to find another solution going forward. I've considered MS Office OLE automation for this as we integrate this way already for other things. One issue f…
  • Is this a Frameworks thing?
  • The right-justified sorting in V119 appears to be quite complex. It can sort text strings that contain numbers, numerically by those numbers. This goes for decimals and negatives too. Eg, a V119 Right justified sort on these strings (comma delimte…
  • Not sure why a VNAV on that line, but I assume that beforehand you Swap '@' with @window in AllEditTables ? Also, shouldn't the next line be (note the underscore) NoOfCols=Get_Property(EditTableProp,"LIMIT")< 1> HTH, M@