Is it possible to
1) Find out which users are currently in the database ( which is on a shared drive)
2) Display a message to everyone at 315 pm each day to exit the database
3) Log users out after a certain amount of inactivity ?
I do not know if this is even possible in ms access vba
Thanks.
fixed..
If IsNull(txtDescription.Value) Or _
Len(Nz(txtDescription.Value, vbNullString)) = 0 Or _
Len(txtDescription.Value & vbNullString) = 0 Then
'IsNullOrEmpty = True
MsgBox "Description is empty"
Exit Sub
Else
IsNullOrEmpty = False
MsgBox "Description is not empty"
End If
fixed..
If IsNull(txtDescription.Value) Or _
Len(Nz(txtDescription.Value, vbNullString)) = 0 Or _
Len(txtDescription.Value & vbNullString) = 0 Then
'IsNullOrEmpty = True
MsgBox "Description is empty"
Exit Sub
Else
IsNullOrEmpty = False
MsgBox "Description is not empty"
End If
Hello everyone
I was looking to validate that all the text boxes were populated on the ms access form. The code should be able to detect if the value was entered and then deleted too .
Any ideas ? I have tried using "" , " " (space between quotes),Null etc.
No luck so far.
Thanks for your...
This fixed it . Than you for your help Gasman and CJ London.
strSQL = "UPDATE [BR-DETAILS] SET CostCentre = '" & Me.txtCostCentre & "' , AssetName = '" & Me.txtAsset & "' WHERE ([BR-DETAILS].ID) = " & Me.List248.Column(21) & " "
Can I modify this to update it based on an auto number field ?
This is what I tried .
strSQL = "UPDATE [BR-DETAILS] SET CostCentre = '" & Me.txtCostCentre & "' , AssetName = '" & Me.txtAsset & "' WHERE ID = ' " & Me.List248.Column(21) & " ' "
CurrentDb.Execute strSQL, dbFailOnError
Get a...