M
mackjoe
Guest
I am trying to count the rows in a couple of tables in Access. I am then going to use these numbers to set up a nested loop through to go through Table A row-by-row, a total of X times, where X is the number of rows in Table B, and compare data in a certain field (string) in Table A with that stored in a variable in Table B, and populate an integer field in Table A based on the similarity/difference.
I have it set up as an OnClick event. Does anyone know how I can count the rows of the tables (hypothetically named "tblChannel" and "tblProduct"), and then parse through a tblProduct row by row? Can you parse through an Access table like an array (If tblProduct(i).Channel = strChannel Then ), where i is the row number?
I have programming experience (C, Java), but not in VB.
Any assistance would be greatly appreciated...
I have it set up as an OnClick event. Does anyone know how I can count the rows of the tables (hypothetically named "tblChannel" and "tblProduct"), and then parse through a tblProduct row by row? Can you parse through an Access table like an array (If tblProduct(i).Channel = strChannel Then ), where i is the row number?
I have programming experience (C, Java), but not in VB.
Any assistance would be greatly appreciated...