I have a link table created that links to a .csv file.
I can't get the SS#'s in one of the fields of the link table to show the first number of the SS#'s if the first number is 0.
It is important that the 0's are there, as I have several update queries that depend on this format.
any ideas?
I have the following event procedure:
Private Sub Form_AfterUpdate()
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
DoCmd.SetWarnings False
If [TYPE] <> "CHEST X-RAY" Then DoCmd.OpenQuery "UPDATE - TB DUE DATE"
DoCmd.SetWarnings True
End Sub
For the life of me, I cannot figure...
Can anyone please help me re-write this code more efficiently?
Private Sub RESULTS_AfterUpdate()
DoCmd.RunSQL "UPDATE [EMPLOYEE HEALTH] SET [EMPLOYEE HEALTH].[TB DUE DATE] = " & _
"IIf([TB DUE DATE] > DMax(""[DATE]"", ""EH - TB"", ""[ID]=" & Me![id] & """) Or [TB DUE DATE] Is Null, " & _...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.