D
drunkenfighter
Hi,
I have a pretty serious problem which is completely repeatable:
Resizing a subdatasheet column that is based on a query, and saving the
query when closing the datasheet erases the query definition (seemingly
only if the query is defined in SQL mode). Meaning the query definition
turns into "SELECT ;"
I've seen this problem on many forums with no answers.
Here's how to repeat.
Create two tables:
Item (Id, Name)
Part (Id, Name, ItemId)
and a query:
PartOrdered defined in SQL as: "SELECT Id, Name, ItemId FROM Part ORDER
BY Name"
Put some data in Item, then Insert->Subdatasheet and choose the query
"PartOrdered". Expand the subdatasheet and resize one of the columns
then close the window and save changes. Then try and open PartOrdered.
The error message (Error 3066) "Query must have at least one
destination field." pops up and the SQL for the query is now "SELECT ;"
The problem occurs for me on any query defined as SQL rather than in
the design mode. This seems pretty serious to me, how to fix it? I'm
using Access 2002 SP3.
Hopefully someone tries this or knows how to solve the problem!
Thanks in advance!
/tim
I have a pretty serious problem which is completely repeatable:
Resizing a subdatasheet column that is based on a query, and saving the
query when closing the datasheet erases the query definition (seemingly
only if the query is defined in SQL mode). Meaning the query definition
turns into "SELECT ;"
I've seen this problem on many forums with no answers.
Here's how to repeat.
Create two tables:
Item (Id, Name)
Part (Id, Name, ItemId)
and a query:
PartOrdered defined in SQL as: "SELECT Id, Name, ItemId FROM Part ORDER
BY Name"
Put some data in Item, then Insert->Subdatasheet and choose the query
"PartOrdered". Expand the subdatasheet and resize one of the columns
then close the window and save changes. Then try and open PartOrdered.
The error message (Error 3066) "Query must have at least one
destination field." pops up and the SQL for the query is now "SELECT ;"
The problem occurs for me on any query defined as SQL rather than in
the design mode. This seems pretty serious to me, how to fix it? I'm
using Access 2002 SP3.
Hopefully someone tries this or knows how to solve the problem!
Thanks in advance!
/tim