General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only