kanhaiya80
27th August 2010, 20:02
Hello everybody,
This is my very first post on Baanboard.com.
I am having problem passing date value in Baan session through vb.net.
This does not work:
objBaan.ParseExecFunction("ottstpapihand", "stpapi.put.field(" & Chr(34) &
BaanSession & Chr(34) & "," & Chr(34) & "date.f" & Chr(34) & "," & Chr(34) & "04012008" & Chr(34) & ")")
objBaan.ParseExecFunction("ottstpapihand", "stpapi.put.field(" & Chr(34) &
BaanSession & Chr(34) & "," & Chr(34) & "date.t" & Chr(34) & "," & Chr(34) & "04302008" & Chr(34) & ")")
I tried changing "04012008" and "04302008" to "-878" and "-849" respectively. But that does not work either.
Please help me understand what the problem might be.
Thanks.
This is my very first post on Baanboard.com.
I am having problem passing date value in Baan session through vb.net.
This does not work:
objBaan.ParseExecFunction("ottstpapihand", "stpapi.put.field(" & Chr(34) &
BaanSession & Chr(34) & "," & Chr(34) & "date.f" & Chr(34) & "," & Chr(34) & "04012008" & Chr(34) & ")")
objBaan.ParseExecFunction("ottstpapihand", "stpapi.put.field(" & Chr(34) &
BaanSession & Chr(34) & "," & Chr(34) & "date.t" & Chr(34) & "," & Chr(34) & "04302008" & Chr(34) & ")")
I tried changing "04012008" and "04302008" to "-878" and "-849" respectively. But that does not work either.
Please help me understand what the problem might be.
Thanks.