Microsoft
Software
Hardware
Network
Question : MS Access Trim function
I get sales data from one of my accounts in the form of an Excel spreadsheet. As a rule I get 25,000 records per week. The problem I have is that some of data in the same field (MFRNO) has a space before the number, causing problems when creating queries. If you look at record 64 in the attached Accesss DB you will an empty space before the data MFRNO field. The data in record 63 is properly justified as is other data in the MFRNO field is fine.
I have a atached a small Access DB with a table called Trim. Can I use the trim function on selected records in the same field so all my data is properly justified.
Attachments:
Trim.accdb
(440 KB)
(File Type Details)
DB to use trim function
Answer : MS Access Trim function
Here you go. There are two queries, one that trim and one that shows original next to trim so you can see the differences
Trim.accdb
(488 KB)
(File Type Details)
DB With Queries
Random Solutions
how to delete partial contents of a cell?
copy a defined user profile when user logs on domain for first time. Giving identical initial profile at logon. Each user can then modify this profile as required. over time keeping settings
Calculated variable on server...
Terminal Services lock down question
Way to force data in Excel into the format I want?
In Sent Items, how can I tell if a message was sent with Read Receipt Requested
Remote Desktop Services on Windows 2008 Foundation Server
Firewall & Windows Security Center
Validation of viewstate MAC failed? How I fix it?
printmig.exe aborting early