هل يمكن الاضافة والتعديل على query
#8
السلام عليكم و رحمة الله

حسب ما أراه في الإستعلام هو إستعلام من جدولين كما هو في ADO كذلك في BDE
إقتباس :
If your query uses a SELECT SQL statement, it is sometimes possible to edit the result set. Two conditions must exist in order to edit the result set of a query. The first is that the queries RequestLive property must be set to True. Second, the result set must contains records from a single table, and there must be a one-to-one correspondence between the records in the result set and the queries table. In other words, if the query contains a join between two tables, or makes use of statements such as DISTINCT or SUM, the query cannot be edited (unless the query's CachedUpdates property is set to True. Cached updates will be discussed in detail in a future DBNavigator).
الرابط الأصلي بالنسبة للـ BDE

كود :
[align=center] http://edn.embarcadero.com/article/20564[/align]
أي لا تستخدم المناهج Append /Insert /Edit /Post/Delete إذا كنت تستعلم من أكثر من جدول
أو إستعمال دوال SQL aggregate

بالتوفيق
الرد


الردود في هذا الموضوع
هل يمكن الاضافة والتعديل على query - بواسطة Lam.Abdeldjalil - 14-10-2010, 07:48 PM

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم