The date needs to be in the same format as the default format of the field in the table or you need to tell teradata what format the date is in.
Help table dbcname.tblname should give you the format of the date field (for example yyyy-mm-dd). If you change the format of the date in the text file...
Assuming {?datepar} is the parameter and the input date format is mm/dd/yyyy (ex: 12/31/2002),
val(mid({?datepar},7,4)+left({?datepar},2)
+mid({?datepar},4,2)) should fit the bill.
Sounds more like a Windows Association problem. Check out the (Windows Explorer/View/Options/File Types/...) association for '.rpt' files 'Crystal Report'. Go into Edit and check that the path is correct for CRW32.exe.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.