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  

field no show



 
 
Thread Tools Display Modes
  #1  
Old April 20th, 2010, 03:02 PM posted to microsoft.public.access.queries
seeker
external usenet poster
 
Posts: 133
Default field no show

The following query does not show the ID field. This is imperative because
data change is dependent upon this field showing.

select member_time.id, member_time.date, member_time.timein,
member_time.timeout from member_time where member_time.date = #4/16/2010#

This is written in a access database.

Thanks
  #2  
Old April 20th, 2010, 04:52 PM posted to microsoft.public.access.queries
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default field no show

That's strange. Maybe it's hidden? Try this:

SELECT member_time.id,
member_time.date,
member_time.timein,
member_time.timeout,
member_time.id as TheID
FROM member_time
WHERE member_time.date = #4/16/2010# ;

If that doesn't work, try this:

SELECT member_time.id,
member_time.date,
member_time.timein,
member_time.timeout
FROM member_time
ORDER BY member_time.id desc ;
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

"seeker" wrote:

The following query does not show the ID field. This is imperative because
data change is dependent upon this field showing.

select member_time.id, member_time.date, member_time.timein,
member_time.timeout from member_time where member_time.date = #4/16/2010#

This is written in a access database.

Thanks

  #3  
Old April 20th, 2010, 05:09 PM posted to microsoft.public.access.queries
seeker
external usenet poster
 
Posts: 133
Default field no show

I suspect that it is hidden. How do you unhide a field. I have check the
property sheet of the table and see nothing. Thanks. The queries you shared
showed all fields except the id and TheId fields.

"Jerry Whittle" wrote:

That's strange. Maybe it's hidden? Try this:

SELECT member_time.id,
member_time.date,
member_time.timein,
member_time.timeout,
member_time.id as TheID
FROM member_time
WHERE member_time.date = #4/16/2010# ;

If that doesn't work, try this:

SELECT member_time.id,
member_time.date,
member_time.timein,
member_time.timeout
FROM member_time
ORDER BY member_time.id desc ;
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

"seeker" wrote:

The following query does not show the ID field. This is imperative because
data change is dependent upon this field showing.

select member_time.id, member_time.date, member_time.timein,
member_time.timeout from member_time where member_time.date = #4/16/2010#

This is written in a access database.

Thanks

  #4  
Old April 20th, 2010, 06:06 PM posted to microsoft.public.access.queries
John Spencer
external usenet poster
 
Posts: 7,815
Default field no show

In datasheet view, select FORMAT: Unhide columns.

In Access 2007, you will have to find the equivalent in the Ribbon.

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

seeker wrote:
I suspect that it is hidden. How do you unhide a field. I have check the
property sheet of the table and see nothing. Thanks. The queries you shared
showed all fields except the id and TheId fields.

"Jerry Whittle" wrote:

That's strange. Maybe it's hidden? Try this:

SELECT member_time.id,
member_time.date,
member_time.timein,
member_time.timeout,
member_time.id as TheID
FROM member_time
WHERE member_time.date = #4/16/2010# ;

If that doesn't work, try this:

SELECT member_time.id,
member_time.date,
member_time.timein,
member_time.timeout
FROM member_time
ORDER BY member_time.id desc ;
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

"seeker" wrote:

The following query does not show the ID field. This is imperative because
data change is dependent upon this field showing.

select member_time.id, member_time.date, member_time.timein,
member_time.timeout from member_time where member_time.date = #4/16/2010#

This is written in a access database.

Thanks

  #5  
Old April 20th, 2010, 06:14 PM posted to microsoft.public.access.queries
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default field no show

Seeker -

Is there a column title for the ID field and no data, or is the column title
not even showing?

Did you try putting square brackets around the ID field name (e.g.
member_time.[id])?

Is this in a query def or in code? If it is in code, copy/paste it into a
query (SQL View), and see if that shows it.

It it is in code, can you post the code?

--
Daryl S


"seeker" wrote:

The following query does not show the ID field. This is imperative because
data change is dependent upon this field showing.

select member_time.id, member_time.date, member_time.timein,
member_time.timeout from member_time where member_time.date = #4/16/2010#

This is written in a access database.

Thanks

  #6  
Old April 20th, 2010, 06:27 PM posted to microsoft.public.access.queries
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default field no show

I just tested things and hiding the column in the table doesn't seem to make
a difference. As you ran other queries, I don't think that's it either. You
can try opening the table and the query in datasheet view. Right click on
them and you should see an option for unhiding fields. See if its not checked.

Also try this to see if the missing column shows up with the wildcard:

SELECT *
FROM member_time ;

Are you seeing any data or columns that you don't expect? Could you be using
lookup fields in that table?
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"seeker" wrote:

I suspect that it is hidden. How do you unhide a field. I have check the
property sheet of the table and see nothing. Thanks. The queries you shared
showed all fields except the id and TheId fields.

"Jerry Whittle" wrote:

That's strange. Maybe it's hidden? Try this:

SELECT member_time.id,
member_time.date,
member_time.timein,
member_time.timeout,
member_time.id as TheID
FROM member_time
WHERE member_time.date = #4/16/2010# ;

If that doesn't work, try this:

SELECT member_time.id,
member_time.date,
member_time.timein,
member_time.timeout
FROM member_time
ORDER BY member_time.id desc ;
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

"seeker" wrote:

The following query does not show the ID field. This is imperative because
data change is dependent upon this field showing.

select member_time.id, member_time.date, member_time.timein,
member_time.timeout from member_time where member_time.date = #4/16/2010#

This is written in a access database.

Thanks

 




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 12:05 AM.


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