-
For a student project I need to create an application with an Access database, but I don't know anything about databases. Can anyone explain what the problem is? private void button1_Click(object sender, EventArgs e)
} |
Beta Was this translation helpful? Give feedback.
Answered by
MaceWindu
Jun 18, 2024
Replies: 1 comment 1 reply
-
You have syntax error in your query. If you format your query it should be obvious that you miss SELECT 1-3
FROM Table1
WHERE -- missing part
ФИО = @ФИО AND Адрес = @Адрес AND Номер_Договора = @Номер_Договора AND Телефон = @Телефон Check Access reference here https://learn.microsoft.com/en-us/office/client-developer/access/desktop-database-reference/select-statement-microsoft-access-sql |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MaceWindu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have syntax error in your query.
If you format your query it should be obvious that you miss
WHERE
keyword before query filter:Check Access reference here https://learn.microsoft.com/en-us/office/client-developer/access/desktop-database-reference/select-statement-microsoft-access-sql