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!
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
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?