on 01-23-2017 9:53 AM
Hi all,
How to use DocDueDate (Delivary Date) in User Defined Values
Actually my query works fine, but if I include the following in where clause T3.DocDueDate=(select $[OPOR.DocDueDate]) (T3 is ORDR table) it gives me the following error message
1).[Microsoft][SQL Server Native Client 10.0][SQL Server] The conversion of a varchar data type to a datetime data type resulted in an out-of-range value. "(WLS1)
I think the date format I have in delivary textbox 23/01/2017 does not match with DocDueDate in database.
How can I solve that the problem?
Please anyone can help me.
Hi Rurangwa,
Try this:
T3.DocDueDate=(select $[OPOR.DocDueDate.DATE])
Or just
T3.DocDueDate= $[OPOR.DocDueDate.DATE]
Hope it helps.
Kind Regards,
Diego Lother
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.