Access Halp
Posted: May 27th, 2010, 12:19
OK, so im building an Access database for something at werk. It doesnt have to be overly pretty, as im going to be the only one using it, its not "official" in any way.
Ive hit a bit of a problem though. My brain seems to have forcibly ejected all knowledge I ever had about databases. I cant remember large amounts of how the fuck this works. Im getting to grips with most of the basics again, but I cant for the life of me remember how to deal with this one problem.
Ive got two tables of data. One is full of information about devices, the other is full of information about engineer calls for those devices. All the devices have serial numbers and all the engineer calls have the serial number of the device they are against. All good so far. The trouble is, some of the serial numbers start with letters, and in the engineer table these letters are replaced with 0's. The resulting thing is still unique, but obviously doesnt match up any more. How the fuck do I make a query that takes information about, say, the devices location and match it up with the engineer calls, when the serial numbers are not *exactly* the same? Im buggered if I can remember.
Ive hit a bit of a problem though. My brain seems to have forcibly ejected all knowledge I ever had about databases. I cant remember large amounts of how the fuck this works. Im getting to grips with most of the basics again, but I cant for the life of me remember how to deal with this one problem.
Ive got two tables of data. One is full of information about devices, the other is full of information about engineer calls for those devices. All the devices have serial numbers and all the engineer calls have the serial number of the device they are against. All good so far. The trouble is, some of the serial numbers start with letters, and in the engineer table these letters are replaced with 0's. The resulting thing is still unique, but obviously doesnt match up any more. How the fuck do I make a query that takes information about, say, the devices location and match it up with the engineer calls, when the serial numbers are not *exactly* the same? Im buggered if I can remember.