Click here to Skip to main content
15,895,423 members
Home / Discussions / Database
   

Database

 
QuestionPlease help totally lost on syntax Pin
MeterMan24-Mar-06 4:09
MeterMan24-Mar-06 4:09 
AnswerRe: Please help totally lost on syntax Pin
Michael Potter24-Mar-06 4:21
Michael Potter24-Mar-06 4:21 
GeneralRe: Please help totally lost on syntax Pin
MeterMan24-Mar-06 4:36
MeterMan24-Mar-06 4:36 
GeneralRe: Please help totally lost on syntax Pin
Michael Potter24-Mar-06 4:50
Michael Potter24-Mar-06 4:50 
GeneralRe: Please help totally lost on syntax Pin
MeterMan24-Mar-06 4:43
MeterMan24-Mar-06 4:43 
GeneralRe: Please help totally lost on syntax Pin
Michael Potter24-Mar-06 4:52
Michael Potter24-Mar-06 4:52 
GeneralRe: Please help totally lost on syntax Pin
MeterMan24-Mar-06 6:25
MeterMan24-Mar-06 6:25 
GeneralRe: Please help totally lost on syntax Pin
Michael Potter24-Mar-06 8:39
Michael Potter24-Mar-06 8:39 
Access syntax is very different from SQL. The join syntax is really nasty when mulitple joins are involved. I used to write code that converted between the two but, that was many years ago. I think you can modify your original WHERE clause like this:

SELECT
    ExpenseReport.tboxBeginDate, 
    BeginDates.tboxBeginDate 
FROM
    BeginDates.tboxBeginDate 
LEFT JOIN ON 
    ExpenseReport.tboxBeginDate 
WHERE
    BeginDates.tboxBeginDate == ExpenseReport.tboxBeginDate AND
    ExpenseReport.tboxBeginDate IS NULL


The 'IS NULL' is what I am not sure about. Create a new query and paste this into the SQL view of the query and see if it resolves correctly by going back to the design view. I can't remember how null is resolved in Access. It might be ISNULL([Field Name]) or something like that.

Do remember the following, when NULL is directly compared with a defined value:
BeginDats.tboxBeginDate != ExpenseReport.tboxBeginDate

Your result will be NULL not TRUE as you expected. That is why you would never get the correct result.

-- modified at 14:48 Friday 24th March, 2006
GeneralRe: Please help totally lost on syntax Pin
MeterMan25-Mar-06 12:43
MeterMan25-Mar-06 12:43 
QuestionDelete Procedure Pin
shapper24-Mar-06 3:28
shapper24-Mar-06 3:28 
AnswerRe: Delete Procedure Pin
Michael Potter24-Mar-06 4:10
Michael Potter24-Mar-06 4:10 
QuestionSQL Server over Virtual Private Network Pin
StyleGuide24-Mar-06 0:08
StyleGuide24-Mar-06 0:08 
AnswerRe: SQL Server over Virtual Private Network Pin
Luis Alonso Ramos24-Mar-06 5:45
Luis Alonso Ramos24-Mar-06 5:45 
GeneralRe: SQL Server over Virtual Private Network Pin
StyleGuide26-Mar-06 6:21
StyleGuide26-Mar-06 6:21 
GeneralRe: SQL Server over Virtual Private Network Pin
Luis Alonso Ramos26-Mar-06 17:47
Luis Alonso Ramos26-Mar-06 17:47 
QuestionLogin ID and Password Pin
mrkeivan23-Mar-06 11:00
mrkeivan23-Mar-06 11:00 
AnswerRe: Login ID and Password Pin
Krisky23-Mar-06 17:39
Krisky23-Mar-06 17:39 
AnswerHEY i did what you said Pin
mrkeivan23-Mar-06 23:21
mrkeivan23-Mar-06 23:21 
AnswerRe: Login ID and Password Pin
Michael Potter24-Mar-06 4:36
Michael Potter24-Mar-06 4:36 
AnswerRe: Login ID and Password Pin
Luis Alonso Ramos26-Mar-06 17:49
Luis Alonso Ramos26-Mar-06 17:49 
QuestionVisio Pin
devfendar23-Mar-06 7:43
devfendar23-Mar-06 7:43 
QuestionQuery the MaxLocksPerFile Count. Pin
beatle1123-Mar-06 3:45
beatle1123-Mar-06 3:45 
QuestionTransfer sql server database to ms access in vb 6.0... Pin
swirldan23-Mar-06 1:04
swirldan23-Mar-06 1:04 
Questionwhat is wrong in this code Pin
mm31022-Mar-06 23:03
mm31022-Mar-06 23:03 
AnswerRe: what is wrong in this code Pin
albCode22-Mar-06 23:31
albCode22-Mar-06 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.