C
Cipher via AccessMonster.com
First I would like to know..."where do we obtain a descriptions of the
Programming Function in ABA for Access. I have eleven books (11) and they all
dissagree on syntax and functionality of these Functions.
Second:
I have generated some TestCode to see if I can retrieve records from a Table..
..here it is:
Code:--------Start
Record_Number = 1
Flow_Time_Minutes = 0
Volume_Total = 0
Injection_Pressure_AVG = 0
Set rs = New ADODB.Recordset
StrOne = "SELECT InjDateStart FROM Inject_Cycle " & "WHERE ID=" &
Record_Number
rs.Open StrOne, CurrentProject.Connection, adOpenForwardOnly,
adLockReadOnly
Do While Record_Number = 1
Debug.Print rs!CasingAVG
rs.MoveNext
Loop
rs.Close
Set rs = Nothing
Code:-------STOP
Here I am forceing the While to be true so that I retrieve records. All of
the spelling is correct and all variables are Dimensioned.
I get a Run-Time error 3265..."Item cannot be found in the collection
corresponding to the requested name or ordinal"
None of my books (11) say anything about Debug or Print. Can somebody advise
on the correct syntax for ADO.
Programming Function in ABA for Access. I have eleven books (11) and they all
dissagree on syntax and functionality of these Functions.
Second:
I have generated some TestCode to see if I can retrieve records from a Table..
..here it is:
Code:--------Start
Record_Number = 1
Flow_Time_Minutes = 0
Volume_Total = 0
Injection_Pressure_AVG = 0
Set rs = New ADODB.Recordset
StrOne = "SELECT InjDateStart FROM Inject_Cycle " & "WHERE ID=" &
Record_Number
rs.Open StrOne, CurrentProject.Connection, adOpenForwardOnly,
adLockReadOnly
Do While Record_Number = 1
Debug.Print rs!CasingAVG
rs.MoveNext
Loop
rs.Close
Set rs = Nothing
Code:-------STOP
Here I am forceing the While to be true so that I retrieve records. All of
the spelling is correct and all variables are Dimensioned.
I get a Run-Time error 3265..."Item cannot be found in the collection
corresponding to the requested name or ordinal"
None of my books (11) say anything about Debug or Print. Can somebody advise
on the correct syntax for ADO.