I'm running Access 97, and have a query that's set up like:
SELECT R1!ID, R1![Part Number], R1![Quantity], R1![BackOrder], R3![Type] FROM...
I'm doing a join of 3 tables and pulling out the information I need. Now, my question is, what is the syntax to access the fields of each tuple in the recordset? They all are unique names, so I tried rstRecordset![Part Number] for instance, but it gave me an Item Not Found in Collection error. Next I tried rstRecordset!R1![Part Number] but didn't do me much good either.
I got the information out by typing rstRecordset.Fields(1) and everything worked fine for me, but I'm wondering what the syntax is for accessing the fields by name.
SELECT R1!ID, R1![Part Number], R1![Quantity], R1![BackOrder], R3![Type] FROM...
I'm doing a join of 3 tables and pulling out the information I need. Now, my question is, what is the syntax to access the fields of each tuple in the recordset? They all are unique names, so I tried rstRecordset![Part Number] for instance, but it gave me an Item Not Found in Collection error. Next I tried rstRecordset!R1![Part Number] but didn't do me much good either.
I got the information out by typing rstRecordset.Fields(1) and everything worked fine for me, but I'm wondering what the syntax is for accessing the fields by name.