|
|
#1 |
|
Frenzied Member
Join Date: May 05
Location: Kingston, Ontario
Posts: 1,606
![]() ![]() ![]() |
Checking Horizontally and vertically using ADO?
For the record, i am using ADODB, with VBA in MS Access 2002
Current Code: VB Code:
Okay, well the academicpayband can find the values very easily, because it is just going through the file in sequential order, but now I am trying to do supportpayband, in which i need to deal with a database like this VB Code:
Now I need to go through, match the payband, then, match the level, and grab the corresponding value ($##.##) from the table. I have done multiple attempts at this, but it never seems to grab the value I want. Could anyone give me some hints on this? Last edited by kfcSmitty; May 20th, 2005 at 10:21 AM. |
|
|
|
|
|
#2 |
|
Frenzied Member
Join Date: May 05
Location: Kingston, Ontario
Posts: 1,606
![]() ![]() ![]() |
Re: Checking Horizontally and vertically using ADO?
Not to double post or anything, but I fixed my problem (I think, it seems it be working). But the thing is, I dont really know WHY its working... Could someone explain the part I highlighted??
VB Code:
I don't really get why that selects the proper column for me.... |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|