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
208
Last Active
Roles
Member

Comments

  • Is there a good way to simply stuff the contents of my UDP into Atrecord (or whatever) just before a write? OI seems to rebuild Atrecord immediately before writing, so I have to replace the write with my own stuff. Which also means handling the lo…
  • I ended up creating a UDP called @Record (clever huh?). I have to update the thing on lostfocus (or poschanged) for every. single. control. I put it in my master PE handler and it works.. just "feels" kludgey. Always open to suggestions tho.. T…
  • Thanks Don.. I'll send you the code offline. It's just weird that the conversion works if I set Status() to 1. I thought about doing what you describe, but the client wants to see the same result as before. Most of the "conversion" programs are c…
  • Hola.. the plot thickens. I've used the common variable solution, and it works like a charm Except that I get an error message: 'The validation requirement enforced by the User Conversion Subroutine "...."'. The technique does work otherwise. If …
  • Thank you sir!
  • Just curious.. the only time the Iconv will happen is in a form. Sh/could I put the Iconv value in a UD property in the control? (Say, @INVAL or some such)
  • Thank you sir.. This was so easy to do in Arev..
  • Hi Don, I actually did read your article before, and I am following your basic framework. A simple conversion like that would not be a problem, because it's easy to both Oconv and Iconv. In this case, the Oconv'ed value is read from a table, and …
  • So it sounds like I need to do both the Repository wrapper and an MFS. I tried doing an MFS alone, and the Editors and Form Designer bypass any MFS with Repository calls. Unless the SRP gurus have another solution?
  • Hi Don, I wrote my wrapper around the Repository function to intercept a particular function. Originally it was the Lock function; then, I changed it to catch the Access function based on Kevin's recommendation. It turns out the Editor doesn't use …
  • Hi Kevin, I tried the wrapper around Repository just looking at the Access function.. it didn't work for Any of the tools (Editor, Editor++, SRP Editor or Form Designer) . I must be doing something wrong. Can you please contact me and give me some…
  • Soo.. you're saying that the SRP Editor currently utilizes the ACCESS function? If so, that might work for me. I'd just need to look at the ACCESS function instead of the LOCK function. Cool!
  • Hi Kevin, I've indeed written a wrapper around the Repository functions. I have a good generic procedure to lock the STPROC or OIWIN records, allowing a developer to view if s/he can't check the module out. But since the SRP Editor bypasses Reposit…