Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9e634331
Kaydet (Commit)
9e634331
authored
Ara 28, 2016
tarafından
Jean-Pierre Ledure
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Access2Base - Improve precision of query typing
Change-Id: I6c5246809cb533a2c69978008ea996392e2fbe6a
üst
e2a1e222
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
DataDef.xba
wizards/source/access2base/DataDef.xba
+4
-2
No files found.
wizards/source/access2base/DataDef.xba
Dosyayı görüntüle @
9e634331
...
...
@@ -490,10 +490,12 @@ Dim sSql As String, sVerb As String, iType As Integer
_PropertyGet = Query.Command
Case UCase(
"
Type
"
)
iType = 0
sSql = Trim(UCase(Query.Command))
sSql =
Utils._
Trim(UCase(Query.Command))
sVerb = Split(sSql,
"
"
)(0)
If sVerb =
"
SELECT
"
Then iType = iType + dbQSelect
If sVerb =
"
SELECT
"
And InStr(sSql,
"
INTO
"
)
>
0 Then iType = iType + dbQMakeTable
If sVerb =
"
SELECT
"
And InStr(sSql,
"
INTO
"
)
>
0 _
Or sVerb =
"
CREATE
"
And InStr(sSql,
"
TABLE
"
)
>
0 _
Then iType = iType + dbQMakeTable
If sVerb =
"
SELECT
"
And InStr(sSql,
"
UNION
"
)
>
0 Then iType = iType + dbQSetOperation
If Not Query.EscapeProcessing Then iType = iType + dbQSQLPassThrough
If sVerb =
"
INSERT
"
Then iType = iType + dbQAppend
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment