Skip to content

Problems with connection and verification in Access c# databases #4538

Closed Answered by MaceWindu
Nlech3 asked this question in Q&A
Discussion options

You must be logged in to vote

You have syntax error in your query.

If you format your query it should be obvious that you miss WHERE keyword before query filter:

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MaceWindu
Comment options

Answer selected by MaceWindu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4537 on June 18, 2024 08:38.