Lantica Software Support Center
Lantica Software Home Page


How do I set initial values like @number, @time, and @date in my Sesame forms?

An initial value in Sesame can be anything you can type from the keyboard but cannot include Sesame functions such as @Number, @Date, @Time, @Userid, or the like. To make Sesame functions an initial value on a form, use the programming capability and assign these functions to a layout element On-Form-Entry. The best way to do this is to also use an "If/Then" statement in the programming to make sure that your values are only entered one time. As an Example, consider that you want to add a today's date to a new order form in the Order_Date field. Your On-Form-Entry programming in the Order_Date element could be:

If Order_Date = "" Then
Order_Date = @date