I have an ACCESS project, which has a LOT of Forms/subForms. Often there will be user prompts, and this would be typical.
Code:
gsMsgText = "You have assigned 0-10v control to a fixture that may potentially be used for EM purposes." _
& vbCrLf & "Certain jurisdictions require the fixture to comply with UL924" _
& vbCrLf _
& vbCrLf & "Do you want to add a UL924 requirement?"
gsMsgTitle = "UL924"
gsMsgResponse = MsgBox(gsMsgText, vbYesNo + vbDefaultButton2 + vbQuestion, gsMsgTitle)
My Q. is:
Is this an OK way of handling the info, or should the actual "texts" be stored in a table and the code be revised to lookup the text (rather than it being hard-coded)?
Which is better practice?