Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
DonBakke
About
- Username
- DonBakke
- Joined
- Visits
- 3,145
- Last Active
- Roles
- Administrator
Comments
-
That won't work for the reason I already gave you. How about calling SetEnvironmentVariable from within OI, such as when application starts up?
-
Are you running the Set command first and then launching OI from the same command prompt?
-
Are you running the "Set" command from a different session than OpenInsight? My understanding is that "Set" only creates a temporary environment variable for that command prompt session.
-
Actually, try this: mybuffer=STR(char(0),4096) result = GetEnvironmentVariable(Variable:char(0),mybuffer,4096) return mybuffer[1,result]
-
I don't think the Win API functions are documented. I can't remember the exact calling syntax, but I imagine you just need to pass in the variable name, perhaps appended with Char(0).
-
Depending on how new your OI is, the GetEnvironmentVariable function should be defined.
-
Dude...that was a joke! I assume, and hoping, that Mark and Will understood. This is a bug, likely due to the reasons that Mark proposed. Kevin is on holiday until next week. I'm certain he will look into it when he returns.
-
May I ask why does the tab control have to make those changes. Could it made a global option. I'm not understanding you. What changes are you referring to?
-
Self-deception is a wonderful drug. If that's what Down Under is peddling then I'll continue to say, "Just say no". All joking aside, I do see some merits in right aligned labels. I think the greatest benefit is that it associates the label with it…
-
That's 0 for 3, Mark. Ain't no such thing as coffee that tastes good. Facts.
-
No. I told Kevin to always left justify text controls because that is always the right (I mean correct) way. ;-)
-
Jim - You ought to be able to use Perplexity to help you with the Basic+ code. Give it Barry's code so it will learn how Basic+ interacts with COM. Also let it know this is for Excel Automation. Armed with those two pieces of information, it should …
-
Roger - I'm glad that worked, but that is likely not a long term solution unless you set the width to be so big that it will handle any number of @SVM items.
-
Roger - Very good. I just wanted to rule out any interference from the "BY" keyword. If the column that is being sorted is multivalued, it could impact how the entire report is rendered. That said, I would remove "BY BIG04" since it serves no purpos…
-
Why does the original LIST statement filter BIG04 to a specific value and also sort by that column? Is BIG04 a single value or multivalue column
-
Roger - That does help somewhat. Which of these columns are associated? Which ones are unassociated? Finally, exactly how do you want this to look in the Run_Report output? Are you trying to flatten out all @SVMs? Perhaps if you mocked up the layout…
-
I'm at a disadvantage because I don't know how the data is stored in its natural state nor do I know what these fields represent. For example, why were @SVMs used in the first place? Ordinarily I would expect an @SVM to only be used when the field i…
-
Before digging deeper into this, have you tried just converting @SVM to @VM and then setting the columns to be MultiValued? I think that will produce better results in R/List (Run_Report).
-
No. You could create calculated columns to massage each data column value so they will report as you wish.
-
Mark - Are you sure the customer also doesn't have an old SRPDatePicker.ocx lying around? Look at the version: 3.0.2. That was pre-combined OCX. That evaluation dialog is also a giveaway. My guess is that the SRPDatePicker.ocx was left behind and is…
-
Try using BitOr() as you see in the other examples.
-
I think using the COLSTYLE method with the DTCS_CHECKBOXCENTER$ (0x40000000) value (see RTI_STYLE_EQUATES) should do this for you.
-
Hi Shane. I have no idea what is happening. Nothing in FrameWorks that I'm aware of would dynamically add that MFS. OMNI.SCRIPT is a special MFS primitive that must be called directly, which means it isn't something that OpenInsight would normally …
-
Shane - If FS is empty (or "blank" to use your terminology) then a SYS1000 error is definitely expected. The actual error would be: The Len() is a good safeguard, but it is masking the underlying problem: FS should not be blank. You noted that this…
-
Some button styles don't cause an edit control to lose focus when clicked. Just pick an appropriate style.
-
@Opto_Will, I obviously knew the hierarchy of applications but I cant say I thought too much about hierarchy of Control vs Event. It makes total sense if you stop and thing about it for just a second though.. I always found it helpful to remember …
-
M@, It would be better to say that a Quick Event that Has Priority immediately follows the Script Event Handler in the event chain, right? That is right. I'm happy to see that your hacked version of our diagram is also correct in that you remove…
-
My question is this: Using a forward event allows the Write to behave with Pre-Write-Post behaviors? If so, with no Forward event, would that not make the Write a PRE action, not a POST? M@ gave an excellent answer so I won’t be improving upon i…