A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Function of colon between table names when query in design view



 
 
Thread Tools Display Modes
  #1  
Old June 7th, 2010, 07:11 PM posted to microsoft.public.access.queries
Jazz
external usenet poster
 
Posts: 53
Default Function of colon between table names when query in design view

I am looking at a field from a query that is in design view. Inside the
field are two field names from the same table which are separated by a colon.
For example, Old and New are both fields from tblReplace and appear like
this Old:New in design view. I believe the colon concatenates the field Old
and New into a new field when you change the query view to datasheet view.
Am I correct?

Also, in a completely separate question if you are looking at a query in
design view and there is a field in the (Field row, a table in the (Table
row, and Group By in the (Total row what function will the Group By option
perform when you change the query view to datasheet view?

  #2  
Old June 7th, 2010, 08:05 PM posted to microsoft.public.access.queries
John Spencer[_2_]
external usenet poster
 
Posts: 4
Default Function of colon between table names when query in design view

If you are talking about having a field "block" with something in it like
Field: Old: New
that should be assigning an alias "OLD" for the field named NEW and should not
do any concatenating at all.

It will consolidate all the same values into one row. For instance if you had
a table with first names and last names show only the first name and GROUP By
the first names you will see one row for everyone who has the first name JOHN.

If you add the first name field again and set the Total to COUNT you would see
something like

FIrstName CountOfFirstName
JAMES_________8
JEAN__________1
JOHN__________22

If you have multiple fields and group by them, then the group by is done on
the combination of the fields.


Jazz wrote:
I am looking at a field from a query that is in design view. Inside the
field are two field names from the same table which are separated by a colon.
For example, Old and New are both fields from tblReplace and appear like
this Old:New in design view. I believe the colon concatenates the field Old
and New into a new field when you change the query view to datasheet view.
Am I correct?

Also, in a completely separate question if you are looking at a query in
design view and there is a field in the (Field row, a table in the (Table
row, and Group By in the (Total row what function will the Group By option
perform when you change the query view to datasheet view?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.