Grady
>>>---------------
>>>I have changed the code and triple checked. I have it exactly as instructed. However, there is a slight difference. I have a selection of options behind command buttons. Instead of a textbox to fill in, the user just clicks. So far I have not had success. Is there something besides
>>>
>>>myfile.crimedate = date()
>>>
>>>that should go behind the button
>>>
>>>Also, I added a textbox to the form anyway. It remains disabled and the date is not being written to the date field.
>>
>>myfile.crimedate = date() will NOT change the data in the file!! You must use
>>Replace crimedate with date() in myfile
>>By the way, if you have for instance a textbox bound to a field, changing textbox.value will change te data in the field, but I will never rely on that.
>------------------
>I added a next and previous button to the details form. They don't work, so somehow the table alias isn't getting to the details form even though there is code to make it happen. I removed the alias code and nothing changed.
>poo
I'd be more comfortable if we could deal with one problem at a time. Did the replace crimedate with date() in myfile work from your command button.
The next and previous buttons would have to have SKIP 1 in Crime and SKIP -1 in Crime - with the requisite checks for EOF() etc.
If the form worked so far, great. If in the init of the second form you are creating the table, there should be no records to skip, though.