Search results

  1. P

    Assign Variable = Self:Screen-Value

    I do entry validation on the leave of the field with the code: on leave anywhere do: if self:type = 'fill-in' and self:screen-value = '' then do: message self:label ' cannot be blank'. apply 'entry' to self. end. end. and this does just fine for me in most cases. I...
  2. P

    Assign Variable = Self:Screen-Value

    Is there a way to assign a variable the screen-value the user inputs without explicitly making the assignment to the underlying variable. In other words, I have a screen with several fill-in fields and I wonder if there some type of code similiar to: on leave anywhere do: if self:type =...
  3. P

    Lock Release

    Andy, Oliver Thanks for your replys. It turned out that I had an exclusive-lock on another table and it was scopped to the procedure block and that keep my lock 'open' on the table that I wanted to change to no-lock. I created an internal procedure and moved the exclusive-lock on the other...
  4. P

    Lock Release

    I have a problem with getting exclusive locks released. I am updating a record in the table that stores my sales order numbers. The table (param-file) stores all kinds of different numbers that we use for various purposes and each record has a unique indentifier field. For example the sales...
  5. P

    Help with Column-Labels

    I didn't find anything wrong with your code - could it be the application you use to look at the results doesn't display them correctly? Open your TEST.ERR file in the PROGRESS editor and see if you get the results you expect. Below is your code that I edited to use a temp-table in place...
  6. P

    Row-entry

    I don't know if the windows version will work differently than the character version but in the character version I use 'value-changed' . The following code will increment the value of i each time you move to a different row. HTH. def var i as int no-undo. def temp-table t-change...
  7. P

    Help with Column-Labels

    column labels I need you to answer a couple of questions before I'll know if I can help or not: Can you show me the code you used to define your column labels - or are you depending upon the database definition of the column labels? Are you using a display statement or a put statememt to...
  8. P

    design time

    Gee - I'm not sure if this is what you're looking for on not but this will hide all the frames and then display a different one each time it goes through the do loop. def frame f-1 '1'. def frame f-2 '2'. def frame f-3 '3'. def frame f-4 '4'. def frame f-5 '5'...
Top