Jun 11, 2004 #1 Nicos67 Programmer Apr 28, 2004 52 GB Hi All, Having probs mking this expression work in an unbound text bx on a subform to work out DateDiff in days between 2 dates on form. Error message states I have too many brackets. Any ideas =(Int((DateDiff('d',[Date_of_Admission],[Date_of_Discharge])) Nicos
Hi All, Having probs mking this expression work in an unbound text bx on a subform to work out DateDiff in days between 2 dates on form. Error message states I have too many brackets. Any ideas =(Int((DateDiff('d',[Date_of_Admission],[Date_of_Discharge])) Nicos
Jun 11, 2004 #2 nberryman Instructor Jun 1, 2002 556 GB ( before Int and (( before Datediff =Int(DateDiff('d',[Date_of_Admission],[Date_of_Discharge])) Doesn't =[Date_of_Admission]- [Date_of_Discharge] give the correct value? Neil Berryman IT Trainer neil_berryman@btopenworld.com Upvote 0 Downvote
( before Int and (( before Datediff =Int(DateDiff('d',[Date_of_Admission],[Date_of_Discharge])) Doesn't =[Date_of_Admission]- [Date_of_Discharge] give the correct value? Neil Berryman IT Trainer neil_berryman@btopenworld.com
Jun 11, 2004 Thread starter #3 Nicos67 Programmer Apr 28, 2004 52 GB Thanks Thanks for tip Neil - much appreciated Nicos Upvote 0 Downvote