Join Issues (can not enter data)

G

Guest

I have a query with the follwoing sql code that works. Then the second code
is basicly the same however it does not work.
The first code will let me enter data the second one just beeps at me when I
try to enter data.

SQL Code that works thisjoins 2 tables tblRHUInmtinfo & tblESSLog and lets
you enter data into tblESSLog

SELECT tblRHUInmtinfo.IN_INMNUM, tblRHUInmtinfo.IN_NAME,
tblRHUInmtinfo.IN_RACE, tblRHUInmtinfo.IN_SECTION, tblRHUInmtinfo.BSCB,
tblRHUInmtinfo.SEP, tblESSLog.EXERCISE, tblESSLog.SHOWER, tblESSLog.[YARD #],
tblESSLog.RAZOR, tblESSLog.SCREAM, tblESSLog.MIRROR, tblESSLog.DATE
FROM tblRHUInmtinfo LEFT JOIN tblESSLog ON tblRHUInmtinfo.BSCB =
tblESSLog.BSCB
WHERE (((tblRHUInmtinfo.BSCB) Like "*" & [Enter Pod:] & "*"))
ORDER BY tblRHUInmtinfo.BSCB;


SQL Code that does not work this joins two tables tblInmtinfo &tblInmates
(this one just beeps at me when I try to enter any data into it)

SELECT tblInmtinfo.IN_NAME, tblInmtinfo.IN_INMNUM, tblInmates.Gang,
tblInmates.[Nick Name], tblInmates.Rank, tblInmates.[STG Misconducts],
tblInmates.Comments, tblInmates.Photo, tblInmates.[Tattoo 1],
tblInmates.[Tattoo 2], tblInmates.[Tattoo 3], tblInmates.Files
FROM tblInmates LEFT JOIN tblInmtinfo ON tblInmates.[DOC Number] =
tblInmtinfo.IN_INMNUM
WHERE (((tblInmates.Gang)="215"));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top