R RB Smissaert Well-Known Member Licensed User Longtime User Aug 15, 2024 #1 Noticed that if I want to produce an empty string from a simple text field I can't do that. Putting an empty field will just be ignored and it keeps the old text as it was before. I think this is fine if the text field is set as required, but not otherwise. The answer seems to be to comment out as below in Sub CommitChanges in PreferencesDialog.bas: Code: Copy If Value = "" Then If Required Then GoToItem(i) Return False 'Else 'Continue End If End If Am I overlooking some other way to produce an empty string? RBS
Noticed that if I want to produce an empty string from a simple text field I can't do that. Putting an empty field will just be ignored and it keeps the old text as it was before. I think this is fine if the text field is set as required, but not otherwise. The answer seems to be to comment out as below in Sub CommitChanges in PreferencesDialog.bas: Code: Copy If Value = "" Then If Required Then GoToItem(i) Return False 'Else 'Continue End If End If Am I overlooking some other way to produce an empty string? RBS