Assign description to Query Object Properties (1 Viewer)

trab

Registered User.
Local time
Today, 04:54
Joined
Feb 10, 2014
Messages
19
When you right-click on a query in the navigation pane, you can go about changing the query's object properties. How can you modify the same using VBA?
 

trab

Registered User.
Local time
Today, 04:54
Joined
Feb 10, 2014
Messages
19
Thanks Jdraw,

Following the tektips link, this can this be done then by appending a new property to the query definition(?), and assigning the new description to it.
Presumably, I can update the new property as and when(?).

I'm writing a large number of SQL queries in VBA, on the basis of differing hospital patient types and varying date intervals, and assigning the SQL strings to a query, but I wanted to update the query "description" as well, so I can keep track in the navigation pane of which queries do what.

Must admit with my little knowledge, I thought it would still be a doddle.
 

isladogs

MVP / VIP
Local time
Today, 04:54
Joined
Jan 14, 2017
Messages
18,216
No it's not a doddle as I mentioned previously.
Yes you can edit the property value as often as you like after its bee created.
However IMHO, It's one of those things where it's easier just to use the property sheet
 

Users who are viewing this thread

Top Bottom