Redefining a Query

vb6.0 , MS access , Query Colombo, Sri Lanka
  • 11 years ago

    I am using Ms access as my database. Is there any way to get the total number of records having similar fields (2 fields, in this case), from the same file (table) into a variable. i.e if 5 records in the file are all having two fields which are the same, how can I write a code to count the number of records having these two fields and then put it in a variable.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“I invented the term Object-Oriented, and I can tell you I did not have C++ in mind.” - Alan Kay