I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
I´ve tried your suggestion but it does´nt work.. This is what i´ve tested. the thing is that now i don´t get a error message but nothing is written to the table Labels. If i try to enter a number that i know is not i the table it will say that the number does not exist.....so the connection to the database is okay. Now the only problem is to save it in the table Labels :-)
The code: Private Sub cmdTilføj_Click() Dim sSQL As String If Not IsNull(DLookup("No_", "dbo_vw_THORN_NORGE_AS$Customer", "No_=txtKundenr")) Then sSQL = "INSERT INTO Labels ([Kundenr], [Navn])" & vbCrLf & _ "SELECT [No_], [Name]" & vbCrLf & _ "FROM dbo_vw_THORN_NORGE_AS$Customer WHERE No_ = " & txtKundenr.Value Me.Requery Else MsgBox "Kundenr. " & txtKundenr & " kendes ikke", vbExclamation End If txtKundenr = "" txtKundenr.SetFocus End Sub
Thnaks, drop a line if you still need help when you get your view running
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.