Crookshanks
Technical User
Goodmorning,
I am working on an application using DAO. Now I want to user some SQL statements in my code, but I am not sure what the best way is to do so. I just need a start ...
For example I want to do the following:
I have a table where I want to count how many times the string "Liq" occurs in a certain Field. It is of course a bit 'stupid' to read all the lines and using a counting variable.
Q: Hoe do I use SQL in Visual Basic for the Query above (and give the result to a variable?)
Hope that anyone can help me started using SQL. Some good links with basic (easy) info would be helpfull too.
Thanks in Advance,
I am working on an application using DAO. Now I want to user some SQL statements in my code, but I am not sure what the best way is to do so. I just need a start ...
For example I want to do the following:
I have a table where I want to count how many times the string "Liq" occurs in a certain Field. It is of course a bit 'stupid' to read all the lines and using a counting variable.
Q: Hoe do I use SQL in Visual Basic for the Query above (and give the result to a variable?)
Hope that anyone can help me started using SQL. Some good links with basic (easy) info would be helpfull too.
Thanks in Advance,