Dec 4, 2001 #1 gabster Programmer Oct 23, 2001 192 US IS ti possible to hardcode a parameter name in a SQL statement in CR8? Something like: WHERE Table.Fieldname = {?ParameterName} Thanks, Gabi.
IS ti possible to hardcode a parameter name in a SQL statement in CR8? Something like: WHERE Table.Fieldname = {?ParameterName} Thanks, Gabi.
Dec 4, 2001 #2 alley211 Instructor Aug 10, 2001 61 US Maybe I'm wrong in this thought process. But if you do a record selection of: Table.Fieldname = {?ParameterName} it will be a part of your SQL statement. This way you have a paper trail within Crystal if changes need to be made. Upvote 0 Downvote
Maybe I'm wrong in this thought process. But if you do a record selection of: Table.Fieldname = {?ParameterName} it will be a part of your SQL statement. This way you have a paper trail within Crystal if changes need to be made.
Dec 4, 2001 Thread starter #3 gabster Programmer Oct 23, 2001 192 US I tried this option but CR crashes with no other warnings... The only thing it sais that "an error log is generated...". The interesting thing when CR crashes, is that it's very misterious about what caused the crash... Upvote 0 Downvote
I tried this option but CR crashes with no other warnings... The only thing it sais that "an error log is generated...". The interesting thing when CR crashes, is that it's very misterious about what caused the crash...
Dec 4, 2001 #4 Ibtisam Programmer Nov 25, 2001 6 AE To hardcode the parameter in SQL statment you have to write it like this: Table.FieldName = '{?ParameterName}' I thing you miss the sigle quote. Upvote 0 Downvote
To hardcode the parameter in SQL statment you have to write it like this: Table.FieldName = '{?ParameterName}' I thing you miss the sigle quote.
Dec 5, 2001 Thread starter #5 gabster Programmer Oct 23, 2001 192 US I tried with single quotes too but in vain. CR crashes. Thanks... Upvote 0 Downvote