Search results

  1. Z

    "Service Transport TCP is busy" (5485)

    I came across this thread as I was doing a search for "environment variable". Your PROMSGS problem here is probably solved now, but just in case you never did figure out what caused this, I have encountered this error if either a path in my PROPATH contains a space, or the .ini/.pf file listed...
  2. Z

    Custom calculation in BUFFER-VALUE ?

    Thank you Stefan, that should do the trick!
  3. Z

    Custom calculation in BUFFER-VALUE ?

    Thanks, I thought as much. I can think of a 'dirty' way of doing it, involving writing the calculation code out to a .p file as a function, then running it persistently and invoking the function dynamically. I don't like that method though, and would prefer to do it in a more elegant way if...
  4. Z

    Custom calculation in BUFFER-VALUE ?

    Hi everyone, I hope someone can help me. I have a dynamic browser showing a dynamic query on a dynamic temp-table. Is there a way to assign a calculated value into a buffer value indirectly? For example, say I have this code: CREATE TEMP-TABLE httPlayerStatSeason...
  5. Z

    Blocking Alt+F4

    This works perfectly fine for me: ON 'ALT-F4':U ANYWHERE DO: RETURN NO-APPLY. END.
  6. Z

    Is it a Bug or a feature?

    NO-LOCK. or: EXCLUSIVE-LOCK. or indeed: SHARE-LOCK. Compile perfectly well on their own, but what exactly does the compiler think is happening?!
  7. Z

    Is it a Bug or a feature?

    That's correct. FORMAT "x(50)" is just shorthand of saying FORMAT "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" (ie. x 50 times) When you say FORMAT "x (50)", you're saying you only want one x, ie. one character, so the '12345' gets truncated to the first character, which is '1'. And...
  8. Z

    Determine if variable has been defined

    Thanks for the offer, but it's not so important really. I just find it frustrating, that's all
  9. Z

    Determine if variable has been defined

    In that case, why doesn't this work: c = "hello". DEFINE VARIABLE c AS CHARACTER NO-UNDO. At the point I'm trying to reference c, it hasn't been declared/defined. It obviously matters to the compiler where these definitions take place in the same block of code. So if the compiler takes...
  10. Z

    Determine if variable has been defined

    Thanks for your suggestions Lee. Unfortunately as much as I'd like to move to ADM2, it's not really in the interest of our company to do so right now, given that everything generally works fine as it is in ADM1 (and has been doing so for the last 15 years). I looked at that Session Variable...
  11. Z

    Determine if variable has been defined

    I tried to explain what I'm trying to do in my post starting "Well, the generic include file..." but it's not easy to explain in words. I'm using 9.1E btw. I understand your semi-pseudo-code and that is pretty much what I'm trying to do, but I can't see any possible way in which to make it work...
  12. Z

    Determine if variable has been defined

    To put it another way, try this: DEFINE VARIABLE c AS CHARACTER NO-UNDO. c = "abc". RUN a. PROCEDURE a: MESSAGE c VIEW-AS ALERT-BOX INFO BUTTONS OK. IF NO THEN DEFINE VARIABLE c AS CHARACTER NO-UNDO. MESSAGE c VIEW-AS ALERT-BOX INFO BUTTONS OK. END PROCEDURE. The...
  13. Z

    Determine if variable has been defined

    Well, the generic include file I'm trying to make is for the purpose of sorting a browser when you click a column. I've had it working perfectly fine for months (see my original thread), until a colleague pointed out a problem. I'm using the AppBuilder in 9.1E. We have some dialog boxes in the...
  14. Z

    Determine if variable has been defined

    haha thanks...Zigo isn't my real name, it's a nickname...taken from dance music artists Spoiled & Zigo...Zigo's real name is Ziv Goland, who is also from Israel :) Thanks for your comments, but I guess I should've pointed out that I'm not an absolute beginner, I've been using Progress for about...
  15. Z

    Determine if variable has been defined

    I never thought of that. Cheers, that might work
  16. Z

    Internal procedure already defined

    By programatically I mean dynamically, when the program is being run. You're right in that I get compile errors if I have tried to define a procedure twice, but if you read what my aim was you'll see that I was trying to encapsulate everything within an all-purpose include file. Some places...
  17. Z

    Determine if variable has been defined

    Is there a way to find out, programatically by its name, whether a variable has been defined yet or not?
  18. Z

    Internal procedure already defined

    I've figured out a way now
  19. Z

    Internal procedure already defined

    Is it possible to tell programatically if an internal procedure has already been defined? Our systems use many include files, some of which contain external procedure references like user32. Within a different include file I need to use the GetParent external procedure of user32, so I need to...
  20. Z

    Refresh/update browser without reopening it

    Fixed it with use of DELETE-RESULT-LIST-ENTRY() :)
Top