Wrox Home  
Search P2P Archive for: Go

  Return to Index  

interdev_programming thread: Assigning a default value (date function) to textbox


Message #1 by wrudman@s... on Fri, 8 Sep 2000 22:57:55 +0100
I've used the Rule Zero wizard to create an browsable data entry form for
an application I am working on.  It uses the Form Manager and the standard
array of "New" "Save" "Delete", etc. buttons.

The way I want it to work is this: When the user clicks "New", a new
record is opened, but certain fields are already filled out (timestamp,
for instance).  One of these fields is attached to a textbox, for which
the correct entry will usually be today's date.

I went into the Form Manager properties, found the appropriate action, and
tried to add the Textbox/value/date (object/member/value) into the grid on
the properties box.

When I tested it, the following text showed up in the textbox: 
    "function Date() {    [native code]}" (without quotes)

Obviously, I did something wrong.  What was it? 

Thanks in advance.

  Return to Index