Error -2147352567 (80020009), Access 2007

Joined
Jan 22, 2016
Messages
3
Reaction score
0
Hi All,

I have main form and subform in the subform i have quary of the time and date to calculate the Difference of the time between two times and two dates it's appear in the unbounded txtbox named timediff1, so to save the time difference i create txtbox named timediff and i use these code in the setfocus event:

me.timediff=me.timediff1

the problem that i have that when i enter the data starttime "1:00 pm", startdate "20/1/2016", endtime "2:00 pm", endate "21/1/2016" the end date in the next day these error is appear focusing to the code me.timediff=me.timediff1, how can i solve these problem.

i attach some pictures please help
 

Attachments

  • صورة جديدة (35).webp
    صورة جديدة (35).webp
    42.9 KB · Views: 257
  • صورة جديدة (36).webp
    صورة جديدة (36).webp
    74.3 KB · Views: 253
  • صورة جديدة (37).webp
    صورة جديدة (37).webp
    55.4 KB · Views: 402
  • صورة جديدة (38).webp
    صورة جديدة (38).webp
    41.6 KB · Views: 252
Back
Top