Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fatal Error C0000005 and Edit boxes
Message
From
06/06/2000 12:52:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Fatal Error C0000005 and Edit boxes
Miscellaneous
Thread ID:
00377352
Message ID:
00377352
Views:
49
I get a fatal error under the following circumstances:

- edit box bound to a view (memo field) on a page form on a form. If I click into the edit box and edit, no problem. If I fire up the form and go to page 2 of the form (thus not "entering" the edit box field at all on page one) and then try to reference the contents of the edit box on page 1 via.

lcSomeVar = THISFORM.pgfDEForms.Page1.edtComments.Value

it bombs out because somehow "value" does not seem to be around. If I go into the edit box before going to page 2, and then go to page 2 and run the above code, it seems to find the value.

It seems that the edit box control is not "binding" properly to the view field. This is also evidenced by the fact that often, we I got back to page 1, the edit box is "blanked out" ie. no text until I put the cursor into the control and then the actual text "pops" back into the control.

A side question: I assume that if I want to dig out the edit box control's contents for use elsewhere, I reference the ".value" property. Correct?

Albert Gostick
Next
Reply
Map
View

Click here to load this message in the networking platform