Get the value from dialogue form to sql statement

I have a problem about getting a value from dialogue form to sql statement.

When I add a parameter to create a data set, I choose expression -> dialogue controls -> [textbox1.text] from the list.

After that, I preview it, a error(parameter: error BC 340034: missing right bracket ']' ) stops it . How can I solve it?

Comments

  • edited 3:44PM
    Hello,

    Don't use square brakets when referring to the report objects. Brakets are needed for data columns, totals, system variables, and report parameters.
  • edited 3:44PM
    AlexTZ wrote: »
    Hello,

    Don't use square brakets when referring to the report objects. Brakets are needed for data columns, totals, system variables, and report parameters.

    It works! Thanks so much

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.