Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FIND RECORD ADO RECORDSET

Status
Not open for further replies.

99Chuck99

Programmer
Dec 11, 2003
67
0
0
US
NEED SOME HELP. I HAVE A DATA ACCESS PAGE THAT I'M TRING TO FIND A RECORD AFTER REQUERY PAGE. I HAVE PUT SOME MSGBOX TO SEE IF THE PARAMETERS ARE THERE. MUST HAVE A SYNTEX PROBLEM IN MY FIND STATEMENT. ANY HELP WOULD BE APPREICIATED.


MSODSC.CurrentSection.DataPage.Requery
msgbox MSODSC.DataPages(0).Recordset.RecordCount
msgbox MSODSC.DataPages(0).Recordset.Fields.Count
msgbox MSODSC.DataPages(0).Recordset.Fields("DOCUMENT NUMBER").Value
msgbox MSODSC.DataPages(0).Recordset.Fields("DOCUMENT NUMBER").Name
MSODSC.DataPages(0).Recordset.Find([DOCUMENT NUMBER] = H6085)
 
try

MSODSC.DataPages(0).Recordset.Find("[DOCUMENT NUMBER] = H6085")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top