Hi,
I'm building a report using parameters (passed to the report by VB.Net app) and I am getting odd results.
This is my selection Formula:
if I pass say 'Newcastle' as ?site, then it works fine. However, if I pass 'Newcastle ' (trailing space), this doesn't work - even though the entry in the SQL table definatly has a trailing space in there.
If I pass ?Site as 'New*' then it works fine as well.
Any ideas as this is driving me crazy trying to work out what is happening.
Cheers
Jeff.
I'm building a report using parameters (passed to the report by VB.Net app) and I am getting odd results.
This is my selection Formula:
Code:
({TblAssets.Desc1} = "rexel" or {TblAssets.Desc1} = "hp")
and
({TblLocations.Level5} like{?Site});
if I pass say 'Newcastle' as ?site, then it works fine. However, if I pass 'Newcastle ' (trailing space), this doesn't work - even though the entry in the SQL table definatly has a trailing space in there.
If I pass ?Site as 'New*' then it works fine as well.
Any ideas as this is driving me crazy trying to work out what is happening.
Cheers
Jeff.