Filter data with guid parameter

I need to filter my data with a guid primary key so, after connect report to my sql server i set the table that i need. After that i create a parameter (string ? i didn't see "guid" as
type) and set the condition filter to :

ToString([TestataDocumenti.IdDocumento]) = [Id]

where [TestataDocumenti.IdDocumento] is a guid.

But when i try to print report i obtain an error like

Guid must be 32 "number", divided on four "-" (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

How can i do to filter data with guid?

thank you so much.

Ps: i'm sorry for my english!

Comments

  • edited 7:12PM
    Hello,

    I have tried to reproduce this bug in a demo report, but I can't. Could you make a simple (compilable) demo for me and send it to tz@fast-report.com?

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.