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

Michael

About

Username
Michael
Joined
Visits
128
Last Active
Roles
Member

Comments

  • I'm thinking to leave off coding and renaming all the controls. Except for maybe edittables. Actually I've seen ET's named after the field #'s contained therein. Not a bad idea in all. I'm still pondering using the name @RECORD either as a wi…
  • Hola all, I'm continuing to use the technique of maintaining a "shadow record" with all the changes that are made that are Not represented in ATRECORD. Pre-write, I write that out and then allow the system Write to do it's Writevs. It works well;…
  • Nevermind.. Just inserted a simple Delay into the mix. All good. Thanks!
    in Yield() Comment by Michael July 2019
  • When I tried a complete replacement before, different aspects of the write process seemed to not work quite properly when I tried to send the events separately. Thus, I went with the 2-write technique (write the buffered record, then allow the Writ…
  • I've looked into doing the replacement idea; but if I do so, it bypasses All the processing of the system event (write, unlock, clear, etc.) and I need to code for those as well. Or am I getting something wrong? (Not the first time)
  • Thanks Don.. I did take a look at the insert. I've used it before for the control info and the semantics. I'm currently doing a write-before-the-write in my Write promoted event. That way, if data has changed in the record that is Not reflected o…
  • Nevermind.. I got it.. It's not the Read that's the issue, it's the Write (really WriteV's)
  • Thank you, kind sir!
  • In this case, they could very well be reading the same record many, many times during the process. Would using Xlate be better than using the BFS and doing the caching myself?
  • I've done that before too :) Is there an advantage to calling the BFS over doing a Read/O from the raw file variable? What are the caching benefits for an Xlate? Thanks again!
  • Yes sir.. and you were spot on. I went into Eventdesigner and enforced the Create event and restarted OI. I then took off the quickevent and the Create event is still called when the window is called. Success! Thanks!
  • I figured I'd have to restart OI; I wasn't thinking to have it work in the same session. Thanks for the guidance!
  • Curious.. Which events are enforced by default? I'm assuming that Create isn't one of them. Is there any way to set the Enforced setting programmatically? I'd like to include in my install pgm if so. Thanks!
  • At the risk of seeming really stupid, what do you mean by "enforced"? Is this something in addition to writing the shell object code to Sysreposeventexes? If so, is that unique to the Create event? All the other events work fine. Is there a way…
  • Thanks Don.. What I have works, even if it is a pain. Thanks for your input!
  • Building an array (ICONVed) and Set_Property to INVALUE.
  • Only SI.MFS
    in FS10 Comment by Michael April 2019
  • Thank you
  • Is the Station ID returned the same as @Station? @Station works differently in Arev and in OI. I know this is an OI function. Ideally I need something that I could grab in Arev that would get me the pc name (which I already have in OI @Station)
  • @Don, I get the error regardless of running from a GUI. When it gets to the end of the select list, I get the FS111 message. Again, it doesn't happen when using the same logic against a smaller table. I haven't been checking any status or errors …
    in FS111 Comment by Michael January 2019
  • It's pretty simple.. eof = 0 call rlist('SELECT CONTRACTS',4,'CONTRACTS','','') call activate_save_select('CONTRACTS') loop until eof readnext ctid then reado ctrec from ct@, ctid then | | end end else eof = 1…
    in FS111 Comment by Michael January 2019
  • I got it.. just have to set @file_error = '' at the end of the Readnext loop. Thanks for the help!
    in FS111 Comment by Michael January 2019
  • Affirmative.. it Readnexts and Reads through the entire list and displays FS111 at the end.
    in FS111 Comment by Michael January 2019
  • Well the FS111 is back. I changed the select to a resolved RList select and even saved the list. After doing an Activate_Save_Select, I loop through the records but still get the FS111 message at the end. This is part of a larger process that is …
    in FS111 Comment by Michael January 2019
  • Won't there be a lot of overhead with resolving the select? The table in question has over 3 million records
    in FS111 Comment by Michael December 2018
  • Here is the error msg:
    in FS111 Comment by Michael December 2018
  • So I need to call RList?
    in FS111 Comment by Michael December 2018
  • In Arev, it was possible to edit a MESSAGES record and make it invisible or basically disabled. Is that possible in OI if there are no other options? Where are the system message text records stored?
    in FS111 Comment by Michael December 2018
  • Just selecting the file variable
    in FS111 Comment by Michael December 2018
  • Affirmative.. There are 2 OI processes running on the station with no user interaction Should I try to run them off of one OpenEngine, or does it matter?
    in Memory Comment by Michael December 2018