Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object TABLE1 is not found?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00515293
Message ID:
00515414
Views:
11
>Why do I get this error?
>
>My Form Init code:
>USE table1
>SELECT table1
>SCATTER NAME table1 MEMO
>
>On the form itself I have numerous textboxes with ControlSource set to
>m.table1.fieldname with "m.table1." preceding each fieldname in each textbox as a reference back to the table1 table.
>
>I thought SCATTER table1 MEMO would automatically create an object with the same name as my table?
>
>Help please. I must be close. I get the error "Object table1 is not found." several times when I run the app and it starts to display the form.
>
>Thanks so much.

Creating an object with the same name as your table is legal, but I think it would make it more confusing to a maintenance programmer picking up your code later on.

You might try creating a Form Property to hold the object so that it will retain visibility.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform