Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mit VB: Daten aus Tabelle lesen/beschreiben

Empfohlene Antworten

Veröffentlicht

Hallo

Umgebung: Access 2000 auf Win ME

Wie kann ich Visual Basic auf eine Tabelle ("tbl_Waren") zugreifen....

einen neuen Datensatz in dieser Tabelle erzeugen....

denn Inhalt der ersten Spalte ("WarenID" ein Autowert + Primäschlüssel) in eine Variable (Public warendummy) schreiben....

und die zweite Spalte ("Waretyp") in der Tabelle ("tbl_Waren") mit dem Inhalt einer anderen Variablen ("typdummy") beschreiben.

Hatte diese Frage hier schon gestellt aber die vorgeschlagene Variante hat nicht funktioniert.

Hier der Link:

http://www.fachinformatiker-world.de/forums/showthread.php?s=&threadid=42150&werbeid=18

mh dann solltest du schonmal keinen neuen thread aufmachen...

hast du eigentlich schonmal was von ADO gehört und weißt du was ein VB buch ist? :rolleyes:

hi,

datensaetze in tabellen einfuegen mittels sql:

insert into tab_name values('wert_spalte1', 'wert_spalte2', ...)
werte mit ado auslesen:
dim rs as adodb.recordset

dim swert as string


set rs = dbconnection.execute("select spalte1 from tab_name")

if (not rs is nothing) then

    while (not rs.eof)

        ' so werden strings ausgelesen

        swert = trim(rs.fields.item("spalte1").value & "")

        ' eventuelles casten in numerische datentypen

    wend

    call rs.close

    set rs = nothing

end if

wer lesen kann, ist klar im vorteil ;):) (z. b. buecher...)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.