Board index » delphi » How can we update or insert dataset with using Joined Query
G?ktan Elgin
![]() Delphi Developer |
Mon, 07 Apr 2003 03:00:00 GMT
|
G?ktan Elgin
![]() Delphi Developer |
Mon, 07 Apr 2003 03:00:00 GMT
How can we update or insert dataset with using Joined Query
We are using, delphi 50 with update pack 1 and ADO with mdac_type 2 and
MS SQL Server 7 platform. In BDE there is no problem to update or insert in Joined Query logic it is |
David B.
![]() Delphi Developer |
Mon, 07 Apr 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryHi in SQL 7 you just update the Resultset and there you are Joins are not Read only like in paradox Regards David agros...@arava.co.il Quote"G?ktan Elgin" <el...@havelsan.com.tr> wrote in message Quote> We are using, delphi 50 with update pack 1 and ADO with mdac_type 2 and |
G?ktan Elgi
![]() Delphi Developer |
Tue, 08 Apr 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryThanks to your reply; We want to update or insert only one table in the Joined Query DataSet In this situation How can we do that? G?ktan el...@havelsan.com.tr QuoteDavid B.E <agros...@arava.co.il> wrote in message Quote> Hi |
David B.
![]() Delphi Developer |
Sat, 12 Apr 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryRecordSet has a dinamic property called Uniq Table where you can write the table which will be affected if you need more info about it you can email me Regards David agros...@arava.co.il Quote"G?ktan Elgin" <el...@havelsan.com.tr> wrote in message Quote> Thanks to your reply; |
Nick Kilpasi
![]() Delphi Developer |
Sat, 03 May 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryI have the same problem but i can't find the property RecordSet.UniqTable Regards Quote"David B.E" <agros...@arava.co.il> wrote in message Quote> RecordSet has a dinamic property called Uniq Table where you can write the |
Jan Guci
![]() Delphi Developer |
Sat, 03 May 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryTry this: ADOQuery.Recordset.Properties['Unique Table'].Value := 'YourMainTable'; Jan Quote"Nick Kilpasis" <kilpa...@megatv.com> wrote in message Quote> I have the same problem but i can't find |
Nick Kilpasi
![]() Delphi Developer |
Sat, 03 May 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryThanks Jan I try this setting but it diden't work Quote"Jan Gucik" <gu...@atlas.cz> wrote in message Quote> Try this: |
Jan Guci
![]() Delphi Developer |
Sun, 04 May 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryThis must be called immediately after open table. e.g. ADOQuery1.SQL.Text := 'SELECT * FROM MyTable LEFT JOIN MySecondTable ON ... here you can use Delphi database controls for inserting, editing etc. Jan Quote"Nick Kilpasis" <kilpa...@megatv.com> wrote in message Quote> Thanks Jan |
Ali
![]() Delphi Developer |
Mon, 05 May 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryMicrosoft Data Access SDK 2.6 ADO Help "While Unique Table is set, the Delete method affects only the named table. The AddNew, Resync, Update, and UpdateBatch methods affect any appropriate underlying base tables of the Recordset.". How can I make update and insert operations affect only the named unique Quote"Jan Gucik" <gu...@atlas.cz> wrote in message Quote> This must be called immediately after open table. |
Jan Guci
![]() Delphi Developer |
Mon, 05 May 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryFrom MSDN : When the Unique Table ADO property is set, Row Fix-up mode is implemented. Jan Quote"Ali" <aa...@hotmail.com> wrote in message news:3a139491_2@dnews... |
Ali
![]() Delphi Developer |
Sun, 11 May 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QueryHi, Microsoft Data Access SDK 2.6 ADO Help I have tried the statement above and I am sure that what is written is Have you written an application and tested the accuracy of the statement, The platform I have worked is Delphi 5.0 and MS SQL 7.0. Ali Quote"Jan Gucik" <gu...@atlas.cz> wrote in message Quote> From MSDN : |
Jan Guci
![]() Delphi Developer |
Mon, 12 May 2003 03:00:00 GMT
Re:How can we update or insert dataset with using Joined QuerySorry, I didn't try it. I use unique table property only for deleting. In additional,I set another dynamic property 'Resync Command' and my joined queries are up-to-date after Update/Insert statement. Jan. Quote"Ali" <aa...@hotmail.com> wrote in message news:3a1bd58d_2@dnews... |
1. Problem in update , insert with Joined Query DataSet
2. How to do an Update query or a Delete Query or an Insert Query using D3
3. updating record in a join query using ADO and Midas Component
4. Speed problems with updating new value to Query detail dataset (cached updates)
5. ADO, JOINS and UPDATE or INSERT
6. Inserting new records with LEFT JOIN query?
7. Update / Insert / Delete in a dbgrid with a TADOQuery as DataSet
8. TQuery DataSet did not get updated when insert a new record into a DBGrid