J
Jean-Paul
Hi,
Until now, to get a specific record I wrote folliwing code:
Dim db As Database
Dim TB As Recordset
Dim SQL As String
Set db = CurrentDb()
SQL = "SELECT Setup.omschrijving, Setup.detail FROM Setup WHERE
Setup.omschrijving='gebruiker';"
Set TB = db.OpenRecordset(SQL)
MP_Setup.gebruiker = TB!detail
This works perfectly but I'm sure there must be a simpler way....
Can somebody explain a better way?
Thanks
Until now, to get a specific record I wrote folliwing code:
Dim db As Database
Dim TB As Recordset
Dim SQL As String
Set db = CurrentDb()
SQL = "SELECT Setup.omschrijving, Setup.detail FROM Setup WHERE
Setup.omschrijving='gebruiker';"
Set TB = db.OpenRecordset(SQL)
MP_Setup.gebruiker = TB!detail
This works perfectly but I'm sure there must be a simpler way....
Can somebody explain a better way?
Thanks