
Originally Posted by
anoob
Hello all, I just had a quick couple questions about AutoNumber fields...
1. In order to us the Primary Key AutoNumber field "Client ID" as a Foreign Key in another field - does the FK have to be set to the type "number"?
Yes - it must be Long integer
2. Does the FK name/title have to be the same, in this example "Client ID", or could they hypothetically be different? FK "Related ID From Clients"
No
3. If you format the data in the PK AutoNumber field as such:
"Client-0001", "Client-0002" etc.
Is it misleading because under the formatting the number in the table is just "1", "2", and so on? Would this screw up a search for one of the formatted IDs?
Yes it is misleading - not sure about the search question
4. Is it bad practice to name tables or other rows or whatever with spaces in the name? Should "My Row" be "MyRow" or "My_Row"?
Yes - it will cause tears before bedtime at some stage (as will odd characters like # etc.)
Many thanks - I'm new to this so I appreciate the guided help. I've read so many random Google searches the past week my brain is just toast...