F
FTL
Hi
I am working in Access VBA and have made a SQL sentence to get a the name of
a salesman given his number.
But... I cant figure out how to run this SQL.... any suggestions?
Dim vSelgerNr As Integer, vSelgerNavn, vSqlSelger As String
vSelgerNr = Selgernummer.Value <- Gets the
salesmans number from the form vSqlSelger = "SELECT
tbl_90_Selgere.Selgernavn
FROM tbl_90_Selgere
WHERE tbl_90_Selgere.Selgernr = " & vVårRefNr
vSelgerNavn= ???????????
I am working in Access VBA and have made a SQL sentence to get a the name of
a salesman given his number.
But... I cant figure out how to run this SQL.... any suggestions?
Dim vSelgerNr As Integer, vSelgerNavn, vSqlSelger As String
vSelgerNr = Selgernummer.Value <- Gets the
salesmans number from the form vSqlSelger = "SELECT
tbl_90_Selgere.Selgernavn
FROM tbl_90_Selgere
WHERE tbl_90_Selgere.Selgernr = " & vVårRefNr
vSelgerNavn= ???????????