![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a table with two columns of data: LA and VALUE. *The column is sorted by VALUE, in ascending order. I have a recordset that counts the number of records in the table and stores this as a variable (TotalRecords). *I have another variable that calculates the record that is 1/4 of the way down (Quart1 = TotalRecords / 4) I now need to be able to select the VALUE from the table where the record number = QUART1 and store this value as another variable (for use in reports, queries and a table later on). Is this possible or is there a better way to do this? *I havent got a sort id in the table - is this the only way to do it? *If so, is there a better way to add a a sort id to a table automatically using VBA code? Many thanks Laura |
#3
| |||
| |||
|
|
Hi, I have a table with two columns of data: LA and VALUE. The column is sorted by VALUE, in ascending order. I have a recordset that counts the number of records in the table and stores this as a variable (TotalRecords). I have another variable that calculates the record that is 1/4 of the way down (Quart1 = TotalRecords / 4) I now need to be able to select the VALUE from the table where the record number = QUART1 and store this value as another variable (for use in reports, queries and a table later on). Is this possible or is there a better way to do this? I havent got a sort id in the table - is this the only way to do it? If so, is there a better way to add a a sort id to a table automatically using VBA code? Many thanks Laura |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Thansk for the links James, but the first one doesnt have an answer on it? * This is what I need to do! |
![]() |
| Thread Tools | |
| Display Modes | |
| |