Hi,
I am coming across an issue in a sub form in an Access 2007 adp file. Before anyone says "why are you using an adp" - i inherited it. Anyway, when i try to add a new item in the sub form, which is being displayed in a datasheet style i get the error "Microsoft Office Access can't find the object 'Select * FROM * WHERE.... ( i have replaced the table names etc here with the *.
* You misspelled the object name. Check for missing underscores (_) or other punctuation, and make sure you didn't enter leading spaces.
*You tried to open a linked table, but the file containing the table isn't on the path you specified. Use the linked table manager to Update the link and point to the correct path.
Steps i have taken thus far to try to resolve this are;
1. Removed extended properties from the SQL tables and columns.
2. Re-Linked the tables as suggested in them message above.
3. Created a new sub form and used this instead in the adp.
4. Recreated a new copy of the adp in the event it was corrupted.
5. Tried the Compact and Repair function.
6. Checked the SQL which is being displayed in the above message for any erroneous chars etc.
None of these has so far worked. However if i insert a entry manually in SQL using SQL and then view this in the adp - I am able to update these values without any problems. I am really struggling to get to the bottom of this, does anyone have any further possible suggestions - other than rewriting this something other than an adp?
I am coming across an issue in a sub form in an Access 2007 adp file. Before anyone says "why are you using an adp" - i inherited it. Anyway, when i try to add a new item in the sub form, which is being displayed in a datasheet style i get the error "Microsoft Office Access can't find the object 'Select * FROM * WHERE.... ( i have replaced the table names etc here with the *.
* You misspelled the object name. Check for missing underscores (_) or other punctuation, and make sure you didn't enter leading spaces.
*You tried to open a linked table, but the file containing the table isn't on the path you specified. Use the linked table manager to Update the link and point to the correct path.
Steps i have taken thus far to try to resolve this are;
1. Removed extended properties from the SQL tables and columns.
2. Re-Linked the tables as suggested in them message above.
3. Created a new sub form and used this instead in the adp.
4. Recreated a new copy of the adp in the event it was corrupted.
5. Tried the Compact and Repair function.
6. Checked the SQL which is being displayed in the above message for any erroneous chars etc.
None of these has so far worked. However if i insert a entry manually in SQL using SQL and then view this in the adp - I am able to update these values without any problems. I am really struggling to get to the bottom of this, does anyone have any further possible suggestions - other than rewriting this something other than an adp?