access primary key fields

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Improve the forum » Access: Primary key fields formatted differently | forum

Access: Primary key fields formatted differently | forum

· Medium Priority · Version Standard

Nicholas has attended:
Excel Intermediate course
Excel VBA Intro Intermediate course
Excel VBA Advanced course
Access Intermediate course

Access: Primary key fields formatted differently

Hi

I recently attended an intermediate Access course on the 21 April 2016
The question I had which the trainer asked if i could submit via the forum was:
I quite often create reports from read only tables (I work in Bank) and the primary key is a 6 digit customer number. However, in some tables it is formatted as a number but in others to retain the leading zero it is formatted as text. This creates a problem and the way i get around it is to create a query of the text table and reformat the column as a number. ie CNUM: Format([KARTNR]*1,"000000")
This process seems to really slow down the running of the report - is there a better way to do this to improve effciency?
Thank you very much for your time
Nicholas Rowe

 

Training courses

 

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


Server loaded in 0.07 secs.