Question : Bang vs. Dot in SQL statements

When a query is based on muliple tables, field names can be ambiguous (eg.,if  two tables each have a field named 'Student'). When I run into this situation I've always used [tablename]![fieldname] to resolve the ambiguity. I've discovered, however, that [tablename].[fieldname] also seems to work.

When should I use one instead of the other?

Answer : Bang vs. Dot in SQL statements

"The only time you'd need the Bang is when you refer to a form in a query "
However, dots work.

*Required* Reading  Full discussion here:

http://www.utteraccess.com/forums/showflat.php?Cat=&Board=84&Number=1645019

See posts by EE's Leigh Purvis.

mx
Random Solutions  
 
programming4us programming4us