>>Speaking of records , when I open the form the label1 shows the caption of the first record as I have set its caption property to this.value :
>>
>>commandbutton::click
>>thisform.label1.caption=(thisform.film1.value)
>>dodefault()
>>
>>But when I click the Next Command Button , the value of the film1 text box changes but the label caption still shows the first record. But when I click it again , the label caption changes to the 2nd
>>Record value , but the record pointer has moved to the 3rd record. How can I simultaneously display the label caption with the film1 text box value?
>
>I do not understand the code you posted above. What method is this code located in? If it is in the Next button's click method, I think you need:
>
>DoDefault() && presumably to skip to the next record + refresh the form
>ThisForm.Label1.Caption = ThisForm.Film1.Value
Refreshing the form doesn't help.
Actually the scope resolution operator is there because of the wizard vcr class I am using in the form.The above code is in the next , prior , top as well as bottom buttons of the vcr class.
Any other suggestions?
Zaraq
Teachers open the door, but you must enter by yourself.