FreshCoder
Registered User.
- Local time
- Today, 12:42
- Joined
- Sep 22, 2018
- Messages
- 33
Hi!
I need help with some code. Im making a medical record and need to extract what`s between <example>TEXT</example> and put it in text boxes.
I need help with some code. Im making a medical record and need to extract what`s between <example>TEXT</example> and put it in text boxes.
Code:
Option Compare Database
Option Explicit
Private Sub txtJournal_AfterUpdate()
Dim i As String
Dim txtJournal As String
For i = 1 To Len(txtJournal)
If Mid(txtJournal, i, 1) = "<diagnose>" Then
ElseIf Mid(txtJournal, i, 1) = "</diagnose>" Then
Next i
If Mid(txtJournal, i, 1) = "<resept>" Then
ElseIf Mid(txtJournal, i, 1) = "</resept>" Then
End If
End Sub