Options

SourceExpr property of TextField

jksjks Member Posts: 277
Hi all,

I want to design one dialog box. In that dialog box i want one text field to take input from user and two buttons OK and Cancle. For this i have designed one form.
I don't want to relate my form with any sourcetable because i don't want to relate text field with any field of any table.(because i am using that text field to get input from user which i don't want to store in any table. Based on the input i will take cetain decision at that time only when user will press OK button.)

How can i leave sourceexpr property of textfield empty?

Please help.

Comments

  • Options
    pplNetpplNet Member Posts: 11
    How can i leave sourceexpr property of textfield empty?

    you can not leave empty.

    Since you are going to put some codes onPush or others trigger, y not assign a variable to carrie the data that your user input?
    To be a SMART, first you must be a STUPID.
  • Options
    JedrzejTJedrzejT Member Posts: 267
    Why you have to leave sourceexpr empty.
    Create global or local variable and put it in the sourceexpr.

    If you don't want to store it or use it, Just don't do it
  • Options
    WaldoWaldo Member Posts: 3,412
    I think he just don't want to bound it to a field in a table.

    So indeed, like JedrzejT said: create a variable, and put that variable in the SourceExpr...

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    DenSterDenSter Member Posts: 8,304
    The SourceTable property of a form can be empty, but the SourceExpr property of a datacontrol must have a valid value. There is no such thing as MyTextBox.Text in Navision, that value must be assigned to a variable.
Sign In or Register to comment.