Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 14th, 2005, 06:53 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Autonumber display in form field

Hi

I have a form in my database which uses a query combining 2 tables to display information about a contact. One of the fields in the form displays the ID number of the record from one of the tables involved in the query. This field is the primary key for that table and is an autonumber.

My problem is that where the value in the field is 1000 or above it is displayed as a formula rather than a straight figure - e.g. 1194 is displayed as 1.194E+03. Users do occasionally need to refer to the ID number of the record so this isn't very helpful.

Is there anything I can do to sort this out? I imagine it's something quite simple. I've tried playing around with the format setting for the field on the form but that doesn't seem to do anything.

Thanks
Ian

Reply With Quote
  #2 (permalink)  
Old January 14th, 2005, 06:58 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: , , United Kingdom.
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you tried adjusting the size of the control displaying the field?
Reply With Quote
  #3 (permalink)  
Old January 14th, 2005, 07:11 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

D'oh!

That seems to have done the trick. I don't really understand why the size of the control should be causing it, since the length of the formula in characters is actually greater than the original number it is rendering, but there you go, problem solved anyway.

Thanks
Ian

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine next autonumber field value U.N.C.L.E. SQL Server ASP 2 February 22nd, 2007 04:01 AM
AutoNumber field tulincim Access 5 June 6th, 2006 03:44 PM
Hiding Autonumber Field Brendan Bartley Access 4 November 14th, 2005 11:34 AM
Deriving an Autonumber field paulkholt Pro VB Databases 0 August 20th, 2004 10:51 AM
add an autonumber form field on web page seogreenie Javascript How-To 1 December 13th, 2003 11:52 PM



All times are GMT -4. The time now is 10:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.