N
Nitin
I'm using the following code
**********
command.commandtext="Select * from DB where Acc= 'Net Profit'
connection open
i= command.executescalar()
connection close
***********
This code returns zero(i=0)i use the following code it works fine
**********
command.commandtext="Select * from DB where Acc= 'Net Profit'
Msgbox(command.commandtext)
connection open
i= command.executescalar()
connection close
***********
When I use the messagebox it works fine(i=2000).How can i make this code
work without the message box.!!!
ThanX
**********
command.commandtext="Select * from DB where Acc= 'Net Profit'
connection open
i= command.executescalar()
connection close
***********
This code returns zero(i=0)i use the following code it works fine
**********
command.commandtext="Select * from DB where Acc= 'Net Profit'
Msgbox(command.commandtext)
connection open
i= command.executescalar()
connection close
***********
When I use the messagebox it works fine(i=2000).How can i make this code
work without the message box.!!!
ThanX