Hello,

I am having problem in calling Stored Procedure second time while remaining on the Entry Form. I have attached a word file having screen shots and code snippet

Thanks

I suspect that it has to do with you never destroying the Command object. You've already added parameters to it once, and next time through you add even more parameters, thus the error.

Will Command.Dispose() work? or something else has to be done? after disposing the command object the problem is still there :(

Will need to see more of your code. You have too many globals to tell everything that is happening.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.