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,835
- Last Active
- Roles
- Member
Comments
-
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@
-
Ha - good stuff! :). Fortunately the schema I'm building at the moment is fairly simple and flat, so should port well to anything you're building in the framework. I may need support of Object type properties in future though.
-
Thanks Don! I should have just tried to Search the blog for '#window', but assumed the search would ignore the hash ;) Cheers, M@
-
Ah, my bad! It turns out my syntax wasn't quite the right and neither precompiler was happy with it. I was doing this If (shape.right >= selection.left) AND | (shape.top <= selection.bottom) AND | (shape.left <= selection.right) …
-
I want to show a floorplan and highlight areas of it (dots or squares will do) depending on what data is in context. It seems like I just need some basic GDI capabilities. My attempts so far have found the same as you - either the GDI augmentatio…
-
Colin - did you get any further with this? I need to do something similar but I see that onCustomDraw has since been deprecated. I'd be curious if you found an alternative solution. Cheers, M@
-
Darn! Thanks for the update. It was a good idea but sounds like you've saved me from some complications. Cheers, M@
-
Good stuff, Don. You anticipated my thinking well ;). Looking forward to seeing what pans out. Cheers, M@
-
Are you going to be maintaining both 64-bit and 32-bit versions of the SRP controls, going forward?
-
Cool - no rush. So are the SRP controls for OI X going to be 64-bit themselves? If so I presume they would be registered differently and independant of the 32-bit SRP controls?
-
Aargh - trust me to have some code that uses the Basic+precision comparison operators! How easy is it to include _EQX, _NEX, _LTX, _GTX, _LEX, _GEX ? ;) Cheers, M@
-
The Revelation forums appear to be using https:// now, so you may need to change your bookmarks.
-
Thanks Don - SRP_Path() does the trick without issue. Very curious, I wonder what the difference is. Cheers, M@
-
Nice - thanks! Cheers, M@
-
Sorry, yes I was on the wrong page - talking just about the response header. For the request, I hadn't considered examining the Content-Type header for a charset=utf-8. I decode for any UTF-8 characters in the query strings regardless. Maybe I …
-
Hi Don, Just playing safe, really, as I don't know who/what our API will be serving to, and following W3.org's advise. I know there are some clients that don't render the response correctly without the charset=utf-8 header (eg Chrome - although an…
-
So far I've just been working with UTF-8 data for the HTTP responses. This works well with the HTTP Framework running mainly in ANSI mode (setting UTF8 mode only where required), and with a charset=utf-8 Content-Type header. Just to update this thr…
-
Good stuff! :)
-
"cars":[] would be parsed as an Array with zero members. You could code this as a special case to null out the whole AMV, or MV. So the above code could be extended to something like Begin Case Case JSONType _EQC 'Array' // Count th…
-
The null array would at least indicate that this is multi valued - either an MV of values or an AMV of rows. It seems this would rely on you being able to identify 'cars' as an AMV and knowing up front all the fields in the AMV group - (ie not neces…
-
HI Don - Adding charset=utf-8 to the Content-Type header would be the only other requirement we have - that affects HTTP_SERVICES and HTTP_RESOURCE_SERVICES. The HTTP Framework itself doesn't need to be run in UTF-8 mode, so one alternative to turn…
-
Yes, we have implemented our web service as UTF-8. It calls many supporting routines from the OI application which is set to run in UTF-8 mode, thus those routines assume UTF-8 unless otherwise stated. Likewise, we've to patched HTTP_MCP to turn o…
-
always make sure that the Content-Type request header has an appropriate value (e.g., application/json or text/plain) I'm not sure if this helps here, but I've found that we need to set 'charset=utf-8' in the Content-Type response header for our s…
-
Hi Don - gosh no, I didn't realize that! Probably because I've been working off simple examples rather than going back to the docs ;). I think this would go a long way in most situations. For my case, I need to do something like GETVALUE 'menu.i…
-
Well, I have some good news! Thanks to your mention of GDI stuff, I just tried resetting the ResizeUsingGDIPlus property on the control to zero and now these images display :). Cheers, M@