try without spaces in "DSN = QT_Flight32" On Thu, Jul 7, 2011 at 9:21 AM, Tirumalesh A <[email protected]>wrote:
> I already check that both r same brother > > > On Thu, Jul 7, 2011 at 6:29 PM, Sreedhar <[email protected]> wrote: > >> Go to ODBC services & setup the DSN with the same name... Then run it >> >> Sent from my iPhone >> >> On Jul 7, 2011, at 8:35 AM, Tirumalesh <[email protected]> >> wrote: >> >> > >> > Dim cn,rs >> > Set cn = CreateObject ("ADODB.Connection") >> > Set rs = CreateObject ("ADODB.Recordset") >> > cn.Open "DSN = QT_Flight32" >> > rs.Open "select * from employee ", cn >> > >> > While rs.EOF <>True >> > print rs("I_name")&" "& rs("f_name") >> > rs.MoveNext >> > Wend >> > >> > rs.Close >> > cn.Close >> > >> > it through Error >> > The test run cannot continue due to an unrecoverable error. >> > >> > [Microsoft][ODBC Driver Manager] Data source name not found and no >> > default driver specified >> > >> > Line (1): "". >> > >> > -- >> > You received this message because you are subscribed to the Google >> > "QTP - HP Quick Test Professional - Automated Software Testing" >> > group. >> > To post to this group, send email to [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > For more options, visit this group at >> > http://groups.google.com/group/MercuryQTP?hl=en >> >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> > > > > -- > Best Regards > Tirumalesh > 9902724656 > > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
