Hi Nitin, I hope this will help you
LoginProperty lp; ODBCConnection odbc; Connection connection; Statement statement; ResultSet resultSet ; lp = new LoginProperty(); lp.setDSN("AxDSN"); odbc = new OdbcConnection(lp); statement = odbc.createStatement(); resultSet = statement.executeQuery("exec TestSp"); while(resultSet.next()) { print resultSet.getString(1); } pause; Regards Mohit --- Varden Morris <[EMAIL PROTECTED]> wrote: > I think it should be possible to do it the same way > as in 3.0. Have a look at the Statement class. There > is no documentation for this class in 4.0 so if you > have access to a 3.0 install you can take a look at > the documentation. > > Regards, > > Varden Morris > > 85 Saddleland Close N.E. > Calgary, Alberta T3J 5J5 > Canada > > (403) 366-8434 (H) > (403) 615-1604 (C) > [EMAIL PROTECTED] > > > > > > ----- Original Message ---- > From: nitinmathur_jpr <[EMAIL PROTECTED]> > To: Axapta-Knowledge-Village@yahoogroups.com > Sent: Friday, March 16, 2007 6:11:14 AM > Subject: [Axapta-Knowledge-Village] How to call > Stored Procedure From Axapta 4.0 > > Hello Friends > > Can Any one tell me > > How to call Stored Procedure From Axapta 4.0????? > > Nitin > > > > > > > ____________________________________________________________________________________ > Get your own web address. > Have a HUGE year through Yahoo! Small Business. > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL > > [Non-text portions of this message have been > removed] > > Regards Mohit Rajvanshy ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097