Delphi XE 15.0.3953.35171
sDAC 6.1.6
1. Set ReadOnly property of TMSQuery to true
2. Set UpdatingTable property of TMSQuery to valid table name (a do it from automatically generated list).
3. When query is opened the error is occured:
Code: Select all
Exception class EDatabaseError with message 'Wrong UpdatingTable value - table dbo.Tpermits is unknown'.
Code: Select all
select
p.FGUID
,p.PermitGroup
,p.FSN
,p.FStartDate
,p.FExpiryDate
,p.FGetDate
,p.FMultiUse
,p.Vehicle
,p.FDiscardingDate
,p.FComments
,p.AlreadyUsed
,p.PermitType
from
VPermits p