LaRetta,
My apologies for being brief. I shouldn't code and do "chores" concurrently.
What I am trying to do is:
- prompt the user via Custom Dialog box, (s)he has the option to enter either:
a known ID (numeric, indexed key)
or
enter the last name of the family (or a portion - from my previous topics/postings).
- If the ID is opted for entry I want to ensure it is a valid integer (this post).
- If it is blank I search via last name.
- else I drop out with a dialog "please enter some criteria"
Thus I have gleaned that validation will not fire within a Custom Dialog.
Since I don't expect that both values will be entered, the "join" option is unattractive.
set field [substitute(Abs(g_Search_Family ID) , ".","")]
Appears to work BUT
I need to include a test to trap for an input of all alphas.
Based upon my testing (ID = qwerty, It would fall through the code and give undesirable results.
Let me play with my new found knowledge.
But to quote my *new* governor "I'll Be Back!"
Is there an easy way to copy code snippets from FM scripts?
This is tedious...
- fmMike