What version of Crystal are you using? Are you developing the query in VB 6 or .NET etc?