Creating a calendar apt

I am trying to create a calendar apt. through another form’s fields but it is not copying. Any ideas on what is wrong???

Subject: Creating a calendar apt.

try this: temp=uidoc.FieldGetText( “From_Day” )

temp2=uidoc.FieldGetText( “From_Hour” )

temp3=uidoc.FieldGetText( “To_Day” )

temp4=uidoc.FieldGetText( “To_Hour” )

calentry.StartDate = uidoc.document.Getitemvalue(“From_Day”)

calentry.StartTime = uidoc.document.Getitemvalue( “From_Hour” )

calentry.EndDate = uidoc.document.Getitemvalue( “To_Day” )

calentry.EndTime = uidoc.document.Getitemvalue( “To_Hour” )

Subject: RE: Creating a calendar apt.

Thanks but I just tried this and getitemvalue did not appear to work. I am just beginning with lotusscript and this has me puzzled.