>>I have created a form using the form wizard (single table form)
>>When I open the form and click the add button the data on the screen does not refresh
>>so that the form is empty. If I click on the next or prev button then click on add however, the screen does clear properly.
>
>Do you have ThisForm.Refresh() in your Add method?
Yes, I have thisform.refresh() in the add method. As i indicated above the add button works fine except when I have just
opened the form and have not yet used prev or next button. I tried copying the code from the prev button into the top of
the add button to no avail.
this is the code in the add button
APPEND BLANK
THISFORM.SetAll("Enabled",.T.)
THISFORM.AGCYNAME1.ENABLED=.F.
THISFORM.POLPRE1.SETFOCUS
THISFORM.Refresh
Nick
Nick Berryman
Computer Automation Technologies
Kennesaw, Georgia
678-445-9278