set var error?

when i set var

procedure OnStartReport(Sender: TfrxComponent);
begin

Set(<repoortTile>,'sdfsdf');

end
return error :

could not convert variant of type(NULL) into type(String)


Comments

  • edited 6:05AM
    Try this:
    Set(<repoortTile>,'''sdfsdf''');
  • edited 6:05AM
    Correct one ;)
    Set('repoortTitle', '''' + 'sdfsdf' + '''');
  • edited 6:05AM
    Set('repoortTitle', '''' + 'sdfsdf' + ''''); is ok
    but in page i add a text object

    set content is [repoortTile]

    not use
  • edited 6:05AM
    why send me release version need 3 day ,too long !

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.