General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2008 Server
>Hello comunity
>
>I have build this code to compare the date and time on my document with my System datetime(), and is is less than my System datetime the rule don´t save the record:
>
>Please see my code in jpg
>
>The problem thas is not work, the error is :
>Line 10
>Function argument value, type, or count is invalid
>
>someone could give me help.
>Many thanks
>Luis Santos
Hi,
It would be much easier if you would post your code here as code and not as a picture.
Please give also the value of your bo2.XPDDATA
Also start the debugger and check the values of the different variables when it encounters the error
Try
myDattime = datetime(transform(m.myYear),transform(m.myMonth),transform(m.myDay),(transform(m.myHora), transform(m.myMinutos))
Regards,
Koen
Regards,
Koen
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only