UJC
05-14-2006, 04:32 AM
Hi All.
Kinda' new... pls excuse my ignorance !-)
I have and MS Access DB, i've created a connection & Opened it, and i've created a recordset and opent it aswell - works great.
The "mdb" file has only one table, called "Pearls_Of_Wisdom", and 2 columns. one is the primary key column, also called "Key", and the second is a regular memo data-type column called "Pearl".
by writing a code like such:
Response.Write(DBRS("Key")); // DBRS is the recordset object.
It shows me only cell A0, which is the first cell in the DB.
and if i'd put in (DBRS("Pearl") it would give me A1, which is the on the first row, on the second column...
I know that i can use a loop etc... along with DBRS.MoveNext command n' stuff - but I don't want to write a full table....
Is there a way in which i could write somthing like:
Response.Write(DBRS("Key").x // whereas ".x" would indicate the row number?
So that i could indicate in one "response.write" command a specific cell to show by giving the location of it like (DBRS("column").row... or somthing like that??
Hope i explaind my self as i should have...
sorry for any ignorant mistakes i might have made..
any help would be appreciated!
thanks...
Kinda' new... pls excuse my ignorance !-)
I have and MS Access DB, i've created a connection & Opened it, and i've created a recordset and opent it aswell - works great.
The "mdb" file has only one table, called "Pearls_Of_Wisdom", and 2 columns. one is the primary key column, also called "Key", and the second is a regular memo data-type column called "Pearl".
by writing a code like such:
Response.Write(DBRS("Key")); // DBRS is the recordset object.
It shows me only cell A0, which is the first cell in the DB.
and if i'd put in (DBRS("Pearl") it would give me A1, which is the on the first row, on the second column...
I know that i can use a loop etc... along with DBRS.MoveNext command n' stuff - but I don't want to write a full table....
Is there a way in which i could write somthing like:
Response.Write(DBRS("Key").x // whereas ".x" would indicate the row number?
So that i could indicate in one "response.write" command a specific cell to show by giving the location of it like (DBRS("column").row... or somthing like that??
Hope i explaind my self as i should have...
sorry for any ignorant mistakes i might have made..
any help would be appreciated!
thanks...