Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 10th, 2003, 02:44 PM
JamesR JamesR is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 3 JamesR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
a quick question...

I know I'm doing something wrong because I'm gettin the error message "The expression is typed incorrectly, or is too complex to be evaluated...".

Basically, its an example of a stock control system and the guide I'm using says to construct the appropriate database tables and link them. The finished relationships should look like this

Stock
ItemID
Quantity
Description



(one to many)



OrderLines
OrderNo
ItemID
Quantity



(one to many)



Orders
OrderNo
Date
posted



What I need to know concerns each primary key (in bold here). I need to know what format each is, Autonumber or text.

Its probably very simple but Ive tried and failed too many times!

Thanks,
James

Reply With Quote
  #2  
Old December 10th, 2003, 03:57 PM
Beagles Beagles is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 70 Beagles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 52 m 24 sec
Reputation Power: 5
Are the primary keys generated numbers or are they actual numbers that may be input and don't have to be entered in sequence (which is what Autonumber would do)?

If it is the latter why not define them as a number?

If they are alphanumeric, however, you would have to define them as text (non-numeric).

Hope that helped some.

B

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > a quick question...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT