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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO - vbScript limiting records in the recordset

Status
Not open for further replies.
Mar 25, 2003
34
GB
I've created an ADO connection within DTS using vbScript ... can I limit the number of records returned?

I've tried using MaxRecords but it doesn't like it!

If Not isNull(recSQL(5).Value) then
connDW.MaxRecords = recSQL(5).Value
End IF

connDW.Open = "DSN=" & recSQL(2).value & ";Uid=*******;Pwd=******;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top