There was a start dialog declaration in one of the responses that was in the wrong place.
...that's why the comment.
Hi, thanks to every one helping me but the problem here when I enter all the values first time and come back the second time , all the dcl boxes are empty even I declare all the variables globally because I am using these variables in rest of the program. Thanks
kulfi, you may have a better chance of understanding the code posted by scot-65,
The last code i posted combines assigning the default and passing the value to set_tile all at one go. only thing you need to change are the tile key names on your DCL and lisp code
"edit1 to "layy"
"edit2" to "coll"
"edit3" to "elv"
"edit5" to "txtsze"
"edit6" to "ticsze"
Otherwise . post you code here to give us a beter picture on why its not working for you