T
Tony Toews [MVP]
David W. Fenton said:While there may be little difference between a query or table as a
data source when using a form or report wizard, there surely *is* a
difference between two objects of similar name and function. Say you
had a query that aliased some fields and had some calculated fields
for a single base table. To me, the easiest thing to do is to have
tblMyTable and qryMyTable. But you'd have to put that information in
the verbose part of the name itself.
Sure, but I would name such a query to do with it's functionality or the name of the
form or report it's used on. One such example would be Overdue Items. Now that's
based on other queries and is a Union query so that's a bad example.
In SQL Server, I often have the table linked, but also will link a
view on the same table that does certain things (in one legacy app,
the base tables names have been updated to be correct, but the app
hasn't been updated yet, so I use a view with the fields aliased for
compatibility with the old application objects). One I call
tblMyTable and the other vblMyTable. Yes, sort of silly, but it lets
me know that one is the view of the table and the other is the table
itself.
You would probably name it something like MyTable and MyTableView.
Quite likely but I'd have to think about it.
I'm sure you're happy with your approach and would hate mind. And
vice versa.
<chuckle> Absolutely.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/