AppBuilder Newbie Seeks Guidance

Hello All,

I have some Progress programming experience, mostly in a CHUI environment using
the Procedure Editor, but am fairly new to AppBuilder and am experiencing some
problems.

I've started with a very simple program that has several fill-in fields for user
input and a button that displays/hides a customer browse.

In the Main Block code section I initialize two date fields and hide the browse:

HIDE bwsCust NO-PAUSE.
ASSIGN
sdate:SCREEN-VALUE = STRING(06/01/2007)
sdate1:SCREEN-VALUE = STRING(06/30/2007).

This all works when I run the program through AppBuilder but when I compile it
and execute the .r code the date fields are blank and the browse is visible upon
program start.

I've experimented with initializing the variables in different locations but the
result is always the same. My main question is: Why does this code behave as
expected when run in AppBuilder and doesn't when run otherwise?

Any guidance would be greatly appreciated.