I have been attempting to change the value of a date field on a form by using On Key Label Assignments.<br><br>In the Got Focus event I have the following:<br><br>ON KEY LABEL LEFTARROW myDate.value = myDate.value - 1<br>ON KEY LABEL RIGHTARROW myDate.value = myDate.value + 1<br>ON KEY LABEL UPARROW myDate.value = myDate.value + 7<br>ON KEY LABEL DNARROW myDate.value = myDate.value - 7<br>ON KEY LABEL PGUP myDate.value = GOMONTH(myDate.value, 1)<br>ON KEY LABEL PGDN myDate.value = GOMONTH(myDate.value, -1)<br>ON KEY LABEL HOME myDate.value = DATE()<br><br><br>In the Lost Focus event I clear the assignments with.<br>ON KEY LABEL LEFTARROW<br>ON KEY LABEL RIGHTARROW<br>ON KEY LABEL UPARROW<br>ON KEY LABEL DNARROW<br>ON KEY LABEL PGUP<br>ON KEY LABEL PGDN<br>ON KEY LABEL HOME<br><br>I run the form and attempt to modify the date and generate an error "Object myDate not found"<br><br>I have tried every method of referencing (This, ThisFormset etc.) that I know of but VP6.0 doesn't like any of them.<br><br>I suspect there is there a better way to accomplish my task -- the optimum would be to have a calendar drop down.<br><br>Any suggestions will be appreciated.