Printing one selected post

Hi.

I have FR-Basic v.1.2

I am new to programming and with FR, so i hope some one here can help me.

I have been making a report, but when i are going to print, it will print all the data, and not the data that is active.

Eg.: I have ID, Description, Price and Info

In one report i will print all the items, and this works fine, but in report2, i will only print the selected item from the form.
Did some one understand what i try to do?? Sorry for my bad English [img]style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> I make this in VB.Net Thanks for the help. Best regards from Ken[/img]

Comments

  • edited 2:45AM
    Hello,

    You may use report parameter to pass the selected value before running a report:

    report.SetParameterValue("selectedValue", your_selected_value)

    in the report, you need to filter the datasource. To do this, double-click the data band and set its filter condition:

    [myTable.MyColumn] = [selectedValue]

    (you need to choose the VB.Net language in the Report|Options... menu).

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.