CDS, Query and Access
- From: rino.leboffe@xxxxxxxxx
- Date: 22 Jun 2006 03:34:30 -0700
Hello to all,
I have the following configuration:
CDS --> Provider --> TADOQuery
with db Access.
Through a DataSource I visualize the data on one DBGrid.
I have given the possibility to the customer to insert,
to modify, to cancel the data directly from the grid,
using methods POST and DELETE of the CDS.
But problems are several:
1. to the ApplyUpdate if there is an error of the type:
Duplicate Primary key, Relationship record etc etc...
comes to me then communicated the error and the program is not resumed,
and must be only reset from the IDE (Run --> Program Reset).
2. in modification many times give the error to me: "record not
found...."
even if on the provider I have set up like method of Update =
upWhereKeyOnly
and to the creation of the several one fields key
ProviderFlags = [pfInUpdate, pfInKey]
Someone gives one hand to me?
Thanks in advance
Rino
p.s sorry for my English
.
- Follow-Ups:
- Re: CDS, Query and Access
- From: Riki Wiki
- Re: CDS, Query and Access
- Prev by Date: Re: Simulating VB Nothing variant in Delphi
- Next by Date: Re: Connect over internet
- Previous by thread: Simulating VB Nothing variant in Delphi
- Next by thread: Re: CDS, Query and Access
- Index(es):
Relevant Pages
|