This topic is locked

Retaining value after adding a record

5/18/2007 9:17:36 AM
PHPRunner General questions
T
tomstreet author

After adding a record I want to retain the values entered in fields that will be common to another record entry. For example if you were entering cars and you entered a "Ford" once the record was saved the new screen would retain the value of "Ford" assuming you had more Ford's to enter.
To do that earlier I was told to use @$_POST["valuex"] (where x is the field number) as the default value for each field I wished to retain.
I did that in PHPRunner 3.1 and it worked fine. But for some reason it does not in 4. I am placing the code above in the default value but once a record is added it does not retain the value.
Obviously I'm missing something.
EDIT: Figured out my mistake. My Bad.....
Thanks!