Directory path can't be used as default text (OpenInsight 64-bit)
At 23 FEB 2020 03:19:46PM Dave Sigafoos wrote:
Create a simple non-data bound form with edit line
put \simplesearch\data\document for the default text …
Below in the form designer it says
PSTV 08:invalid value "\simplesearch\data\resumes" passed to the iconv method in PS_TYPEINFO_TYPEVALUES procedure.
I would expect that any data would be usable in the default … there is no processing done other than what is default to the form process. If this is run the form posts and error "Error loading program" and the program freezes …
It just comes to me that it might need to be entered with quotes. I used the 'entry prompt' and would expect it to put any necessary quotes there. Worst case the window/system should protect itself from freezing. I will try the quotes
At 24 FEB 2020 08:29AM Carl Pates wrote:
Hi Dave,
Even in previous versions of OI literal values needed to be put in quotes (by you), though I agree that a failure should be handled better if you don't (it assumes what you've passed is a function name if you don't specify a literal value and it's not a recognized token)
For the next version I'll tighten up the validation and make it more user-friendly.
Thanks
At 24 FEB 2020 11:36AM Dave Sigafoos wrote:
yeah .. it is sad that you have to spend time protecting the code from users like me :smile:
Thanks