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,156
Last Active
Roles
Administrator

Comments

  • And after the data is read does navigating the edit table reproduce the problem? Just for grins and giggles, what happens if you read the record normally but then immediately do something like this from a pushbutton: AtRecord = Get_Property(@Windo…
  • I strongly suspect there is more to this picture than has been disclosed. You said that this control is databound. If that is so, then what happens if you manually create a record with the same data and then allow OI to read the record and populate …
  • Michael, I'm pretty sure Mark was suggesting that you use SRP_Array('Rotate') against the data before you attempted to stuff it into the edit table. The SRP_Array function does not directly work with any control. However, this suggestion would only …
  • I moved this post to the property category. What is the style of the SRP Button? Some styles don't allow the control to "get" focus so this might be why you are not "losing" focus with the SRP EditTable.
  • Brian, As soon as possible, give up the idea of sharing variables between sessions. This just won't work. The easiest way to look at this is as if you had two copies of OI running and ask yourself, "is it possible for my first OI to share data with…
  • Hi Brian, welcome aboard! Kevin beat me to the punch with some answers. His answers are similar to what I would have written so I'll focus on a tangential issue that I think will impact your approach to this. After reviewing your questions I have …
  • Are you referring to GetFileVersionInfo API?
  • See if this thread helps your situation.
  • Near as I can tell, your experience is not unexpected. The Clear method clearly states that it "removes all data leaving blank records". Formatting, especially custom formatting, is left alone. While I am thinking of possible better ways to handle …
  • Brian, a bit of friendly advice when it comes to questions related to software design issues is to provide us a brief description of what you are trying to accomplish. You are relatively new to OI, but even veteran developers ask questions (here and…
  • What Kevin wrote is true, but YMMV when it comes to layering non-OLE controls. Again, smoke and mirrors, but we've been able to put an OI button on top of an OI edittable control before we wrote our own control.
  • 1. TBH, can't be done. Nature of the beast with OLE controls in OI. What is your functional goal here? That is, why do you want to do this? 2. I don't believe there is any official information about this, but I believe tab order and z-order are rel…
  • TBH, something is not right. If all you are doing is that and you've crossed all your t's and dotted all your i's, then this is not normal. Based on my experience, I would be inclined to think this is code related.
  • Can't help you on that one. That is the first I've heard of extra padding just appearing out of nowhere. Is this extra padding consistent? Does it matter what kind of data or how much data you are stuffing? What are you doing to stuff the data?
  • Jim, As you suspected, the SRP Mail Utility does not have a "GetMail" feature. Most of the times we've needed to make OI into an email listener we've been working with Exchange accounts so our solution was to use Office OLE Automation. A long time…
  • Very good...what step actually helped you?
  • I suspect you have an event handler that is populating a databound control after your WRITE event completes and this is causing the SAVEWARN property to get triggered once again. Since the intent is to always close the form after a WRITE, try removi…
  • Does the issue occur every single time regardless of which type of control has focus when you save the row? I also should have asked some additional questions: * Is your code being called from the WRITE script event handler or from the QuickEven…
  • There might be other things to discuss, but as a possible quick explanation is the focus usually within an edit box control?
  • Jim, I'm guessing there is something else I need to do. I followed your steps. The one issue that did come up that was "a bug" (in my opinion) was that when I asked it to save the new stored procedure it tried to save it using the New Insert dialo…
  • Guys, I can't seem to duplicate this issue. Can someone provide me with some verify specific steps to follow...hopefully using OOB routines that come with OI in either SYSPROG or EXAMPLES?
  • Correct, index updates are triggered by changes in the record. SI.MFS tracks these changes and sets the appropriate flags. Indexes on symbolics work the same way but only if these symbolics reference data in the same row. The technical answer is "y…
  • I don't know. The SRP EditTable can do this but I do not see any options from the Send_Message function that would allow this to happen. Of course, the docs aren't always complete so you might want to research the Revelation forums.
  • Have you tried pressing F4 and then End?
  • But if I stuff the TEXT property, the text is filled in. I'm trying to duplicate the default handling ala Arev. It fills in when you press Enter. Doesn't the OI Editline default work the same way? No, that is not how the OI edit line default work…
  • Generally speaking you would use the TEXT property. What kind of combobox is this?
  • Comboboxes are a different type of control so the default is meant to identify which item in the dropdown list of items should be the default. OpenInsight 8.0.3 introduced a way to dynamically populate your comboboxes from one of four sources: * …
  • And if it wasn't obvious, your "return value" from your function is what gets put into the control.
  • FUNCNAME is just a place holder. You put your own function name there (without the return variable syntax). You can pass arguments but they must be enclosed within quotes. We have a function called WIN_DEF that we use. It programmatically checks to…