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
eb61c7f9
Kaydet (Commit)
eb61c7f9
authored
Kas 29, 2015
tarafından
Jean-Pierre Ledure
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Access2Base - OpenQuery for action queries
Change-Id: I6691c01e8a078b14ca753c916c950c958953671f
üst
89f8bc63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
DoCmd.xba
wizards/source/access2base/DoCmd.xba
+9
-1
No files found.
wizards/source/access2base/DoCmd.xba
Dosyayı görüntüle @
eb61c7f9
...
...
@@ -2086,7 +2086,7 @@ Dim oDatabase As Object
If oDatabase._DbConnect
<>
DBCONNECTBASE Then Goto Error_NotApplicable
Dim sObjects() As String, sObjectName As String, oController As Object, oObject As Object
Dim i As Integer, bFound As Boolean, lComponent As Long
Dim i As Integer, bFound As Boolean, lComponent As Long
, oQuery As Object
'
Check existence of object and find its exact (case-sensitive) name
Select Case psObjectType
...
...
@@ -2110,12 +2110,20 @@ Dim i As Integer, bFound As Boolean, lComponent As Long
Next i
If Not bFound Then Goto Trace_NotFound
If psObjectType =
"
Query
"
Then
'
Processing for action query
Set oQuery = Application._CurrentDb().QueryDefs(pvObjectName)
If oQuery.pType
<>
dbQSelect Then
_OpenObject = oQuery.Execute()
GoTo Exit_Function
End If
End If
Set oController = oDatabase.Document.CurrentController
Set oObject = oController.loadComponent(lComponent, sObjectName, ( pvView = acViewDesign ))
_OpenObject = True
Exit_Function:
Set oObject = Nothing
Set oQuery = Nothing
Set oController = Nothing
Exit Function
Error_Function:
...
...
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