Executing commands in Data Environment
Posted on 2002-05-28
I am using Data environment in my project. I added Insert command with parameters. "INSERT INTO EMPLOYEE VALUES( ?, ?, ?, ? )"
To execute this command in my code, I tried the following:
MyDE.InsertEmp "12345", "aaa", "bbb", "ccc"
but it did not work. it always generates an error.
What is the proper way of executing Insert or Delete commands in Data environment?
by the way, i have another question, which is better to use for accessing data in a database, using Data Environment or using ADO connections, and recordset in code?