Results 1 to 6 of 6
  1. #1
    tylerpickering is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2014
    Posts
    22

    Can't Choose Field Properties on Query Fields

    Hi guys--



    I'm pulling in data from a table and rearranging it (and a few other things) with my query. I want to make sure the output table is in the correct format (ex. currency, short date, etc).

    I assume this is done by right clicking the field in the query and clicking properties, then selecting the correct format. I am able to do this for my first field, although it only gives date options. The other fields' field properties just show blanks and I cannot select them from a drop down.

    Any ideas on what I'm doing wrong?

    Thanks--attached is a screen shot!


    Click image for larger version. 

Name:	query.JPG 
Views:	3 
Size:	84.3 KB 
ID:	16031

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    If the field is text type then no format options are presented. Options are offered for numeric fields (a date/time field is really a type of number data). You should see options for both of the date fields.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    tylerpickering is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2014
    Posts
    22
    Okay, that makes sense. One of the date fields gives me options, the second date field does not. Does it make a difference that quite a few of the 2nd date field are missing (but inputted as "---")? Maybe that changes it to a text field; is there a way to change it?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Why would a date field show "---". Either it is a text field in table or it is a field created by an expression in query.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    tylerpickering is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2014
    Posts
    22
    Sorry, I didn't explain very well...my original data that's being pulled in from Excel has the "---" for dates that were not entered, it's not something that is pulled in by excel. Do I need to create a query that gets rid of these in order to create a proper date field?

    Thanks!

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    That or figure out why the import is populating with "---". Do you have to do this import periodically?

    Could do a Find/Replace on the field to remove the "---" text. Then hopefully will be able to convert the field to date/time type.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Combo box to choose fields
    By Ruegen in forum Forms
    Replies: 2
    Last Post: 12-04-2013, 05:46 PM
  2. Replies: 2
    Last Post: 02-15-2012, 04:04 PM
  3. Replies: 2
    Last Post: 10-07-2011, 08:13 PM
  4. Choose whether to display empty fields in a report
    By exoticdisease in forum Access
    Replies: 1
    Last Post: 08-18-2010, 09:12 AM
  5. Replies: 1
    Last Post: 07-24-2010, 07:46 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums