Nov 5, 2002 #1 seidel Programmer Oct 23, 2002 10 MX hello! I need count records selected after make this command sql = "SELECT * FROM table Where ID = " + cstr(idinput) how count selected records? vbscript thanks
hello! I need count records selected after make this command sql = "SELECT * FROM table Where ID = " + cstr(idinput) how count selected records? vbscript thanks
Nov 5, 2002 #2 rtshort IS-IT--Management Feb 28, 2001 878 US Use the RecordSet.RecordCount function. Count = rs.RecordCount Rob Just my $.02. Upvote 0 Downvote
Nov 5, 2002 Thread starter #3 seidel Programmer Oct 23, 2002 10 MX Many thansk fo ryour advice but .recordcount count ALL records in my database.... not count selected records.... example: my database have 100 records when make a sql call I selected 45(example) records, how count this records? thanks Upvote 0 Downvote
Many thansk fo ryour advice but .recordcount count ALL records in my database.... not count selected records.... example: my database have 100 records when make a sql call I selected 45(example) records, how count this records? thanks
Nov 6, 2002 #4 fleckingerre Programmer Oct 21, 2002 22 DE Hi! Perform another Query and read out the value: sql = "SELECT COUNT(*) FROM table Where ID = " + cstr(idinput) Greetings Remo Upvote 0 Downvote
Hi! Perform another Query and read out the value: sql = "SELECT COUNT(*) FROM table Where ID = " + cstr(idinput) Greetings Remo
Nov 6, 2002 Thread starter #5 seidel Programmer Oct 23, 2002 10 MX Many thanks! for your advice! Upvote 0 Downvote
Nov 6, 2002 Thread starter #6 seidel Programmer Oct 23, 2002 10 MX Many thanks for your help to my question! i solved!, opne my database in the correct form and these methos run ok! thanks again! Upvote 0 Downvote
Many thanks for your help to my question! i solved!, opne my database in the correct form and these methos run ok! thanks again!