I don't know how to use the fail result returned from finddata.exe
I want to go to one of two sets of menus depending on whether the person belongs to fhg or fho and if the person isn't found then I want them to try again.
Ideally, I would like someone to enter as many digits of the last name as necessary to uniquely identify someone. Is that possible?
Assuming it isn't, I'm using a fixed length of 4 letters
So the letters of last name are translated into digits
AAAA belongs to fhg
DDDD belongs to fho
I've got a text file that looks like this
2222,fhg
3333,fho
3333,fhg
4444,fho
And an OGM that calls the plug in finddata.exe
finddata will return in a variable called type either fhg or fho
then I go to OGM %type% which will be either the OGM fhg or OGM fho
So far so good, but how do I use the result=fail
to play a messsage that says not found and then goes back to the ogm that asks them t enter the name?