
Error doing update with VB 3.0 and SQL Server 6.5
We have a VisualBasic 3.0 program that contains the following code:
myDs is a Dynaset
myDs.AddNew
---some assignments---
myDs.Update
When run on two Win95 machines (with 32-bit ODBC) it runs fine.
However, when run on a WFW 3.11 machine (with 16-bit ODBC) the line
myDs.Update generates a runtime error:
"Record is deleted."
If we replace myDs.AddNew with myDs.Edit, everything is ok. Only
myDs.AddNew has an error during Update.
Does anyone have any ideas? Do I have to copy certain files to
the rest of the machines?
Any response will be appeciated. Thanks,
Jason.
--
Department of Computer Science / \ Tel (work): +61 9 380 1840
The University of Western Australia *_.-._/ Fax (work): +61 9 380 1089
Nedlands W. Australia 6907 v Tel (home): +61 9 386 8630