L
lado
Hello,
I have an Access table called Products which
contains text field Description.
When I use Data Adapter Configuration Wizard to generate
the SQL statements for that table it says that it couldn't
generate UPDATE and DELETE statements.
The following is a code snippet for SELECT statement (after
using Query Builder and after adding RTrim):
SELECT IDProduct, RTrim(Description) AS Description
FROM Products
However, if I don't use RTrim, the UPDATE and DELETE
statements will be generated.
Besides that, if I write manually UPDATE and DELETE
statements and connect the dataset (after filling) to the
datagrid, then the fields in the datagrid which were
RTrimmed will be readonly?
Does anybody have any ideas what is going wrong?
I have an Access table called Products which
contains text field Description.
When I use Data Adapter Configuration Wizard to generate
the SQL statements for that table it says that it couldn't
generate UPDATE and DELETE statements.
The following is a code snippet for SELECT statement (after
using Query Builder and after adding RTrim):
SELECT IDProduct, RTrim(Description) AS Description
FROM Products
However, if I don't use RTrim, the UPDATE and DELETE
statements will be generated.
Besides that, if I write manually UPDATE and DELETE
statements and connect the dataset (after filling) to the
datagrid, then the fields in the datagrid which were
RTrimmed will be readonly?
Does anybody have any ideas what is going wrong?