I don't call requery because this not important. The problem is:
-Create a table with a Identity field in Sql Server
- Use the sample
- Run with vcx class... fine. Query the id and you can see it
- Compile a DLL, put this on COM+/MTS. Run the sample with the com server, query the id and this is NULL!. Check the Source property and this is blank..
Ok?
The Life is Beautiful!
Programmer in
Delphi, VS.NET
MCP