How to initialise a DB dataset entirely from code?

edited 5:10PM in FastReport 4.0
I can get it to work when I create it from the form, but I wish to be able to change the stored procedure called (and its parameters) based on input from the user.

Yet, I keep getting errors like this:
---------------------------
Error
---------------------------
The following error(s) have occured:

Memo6: Could not convert variant of type (Null) into type (Double)

Unknown variable or datafield: rep008."HwId"

Unknown variable or datafield: rep008."SrchKey"

Unknown variable or datafield: rep008."SysTm"

---------------------------

Where rep008 is the name of the stored procedure and ."X" are of course values returned by this stored procedure.

I am unable to find some specifics on how this is done entirely from code.

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.