Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property Error
Message
From
23/10/1998 09:13:40
 
 
To
23/10/1998 09:06:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00149713
Message ID:
00149801
Views:
23
>>Im having a little problem. I've created a new property in a form and called it OLDRECORD. in a Find button click event I have coded the following:
>>
>>thisform.oldrecord.value=recno()
>>ON key label enter keyboard chr(23)
>>ON key label rightmouse keyboard chr(23)
>>BROWSE nomodify noappend
>>ON key label enter
>>ON key label rightmouse
>>IF lastkey() =27
>> GO(thisform.oldrecord)
>>ENDIF
>>thisform.show
>>thisform.buttons
>>
>>when I run the form I get an error "UNKNOWN Member OLDRECORD"
>>I run it in the debuger and it blows out at the first line of the click method what am i doing wrong? Please Help
>>
>>Bill
>
>I think that the first line should read ThisForm.OldRecord = RECNO().

Correct, and in addition to that, is it really necessary with Thisform.Show() later on? I mean the form won't go anywhere, will it now?
Danijel
Previous
Reply
Map
View

Click here to load this message in the networking platform