Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
Private Sub cmd1_Click()
Dim rs As adodb.Recordset
Set rs = New adodb.Recordset
With rs
.ActiveConnection = "D:\Datenbank\Autovision.mdb"
.LockType = adoptimistic
.CursorType = adOpenDynamic
.CursorLocation = adUseClient
.Open "Select * from tab_name"
End With
'Set DataGrid1.Source = rs.Source
End Sub
strCon = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Administrator;Data Source=D:\Datenbank\Autovision.mdb;Persist Security Info=False"
...activeConnection = strCon ...
versuchs mal mit:
set DataGrid1.RecordSet = rs
Private Sub cmd1_Click()
Dim rs As adodb.Recordset
Set rs = New adodb.Recordset
strCon = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Administrator;Data Source=D:\Datenbank\Autovision.mdb;Persist Security Info=False"
With rs
.ActiveConnection = strCon
.LockType = adoptimistic
.CursorType = adOpenDynamic
.CursorLocation = adUseClient
.Open "Select * from tab_name"
End With
Set DataGrid1.Recordset = rs
End Sub
.ActiveConnection = strCon
Private Sub cmd1_Click()
Dim rs As adodb.Recordset
Set rs = New adodb.Recordset
strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Datenbank\Autovision.mdb;Mode=ReadWrite;Persist Security Info=False"
With rs
.ActiveConnection = strCon
.LockType = adLockOptimistic
.CursorType = adOpenDynamic
.CursorLocation = adUseClient
.Open "Select * from tab_coachingabende"
End With
'MsgBox ("" & rs.GetString)
Set DataGrid1.DataSource = rs
End Sub
Dim fld as Field
rs.movefirst
while not rs.eof
for each fld in rs.fields
msgbox fld.name & ": " & fld.value
next fld
rs.movenext
wend
Flexgrid1.TextMatrix(Zeile,Spalte) = Wert
Bsp.:
Zeile 4, Spalte 7 ---> "hallo"
Flexgrid1.TextMatrix(4,7) = "Hallo"
Private Sub cmd1_Click()
Dim rs As adodb.Recordset
Set rs = New adodb.Recordset
strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\Datenbank\Autovision.mdb;Mode=ReadWrite;Persist Security Info=False"
With rs
.ActiveConnection = strCon
.LockType = adLockOptimistic
.CursorType = adOpenDynamic
.CursorLocation = adUseClient
.Open "SELECT tab_Name.[Namen-Nr], tab_Name.Name, tab_Name.Vorname, tab_Gründer.[geplante Idee] FROM tab_Gründer INNER JOIN tab_Name ON tab_Gründer.[Gründer-Nr] = tab_Name.[Gründer-Nr]WHERE (((tab_Gründer.[geplante Idee]) Is Not Null));"
End With
Set DataGrid1.DataSource = rs
End Sub
Private Sub Command1_Click()
End
End Sub
Private Sub DataGrid1_DblClick()
x = DataGrid1....???
frmMain.Hide
frmName.Show
End Sub