Brad H McCollum (bm******@midsouth.rr.com) writes:
I've designed a very basic SQL Server Stored Procedure that I'm using
via a Visual Basic 6.0 front-end file in retrieving records into a
data entry form.
I can't for the life of me get the records retrieved via the Stored
Procedure to be edited.
I can't even run the stored procedure in MSDE's T-SQL utility and then
edit any of the records shown to me.
Since I don't know how your procedure looks like, I have to guess.
The problem is likelyl to be that ADO is to smart for its own good.
It thinks that each column must be associated with a table, so if you
say:
SELECT a, b + 'j' FROM tbl
The first column will be editable, the second not.
If you get the result set into a temp table and return from that, you
are OK. Nevermind that the temp table dies with the procedure. ADO is
easy to fool.
--
Erland Sommarskog, SQL Server MVP,
so****@algonet.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp