Home End User

How to change to prompt for AutoSearch values

edited April 2003 in End User
Using the AutoSerach feature, the user is prompted to enter a criteria
value. However, in the dialog the name of the variable is used, wich is not
user friendly. Is it possible to change the text for the prompted variable?
Using the SQL statement it would be nice to be able to change the alias, but
this does not seem to be possible.

Any ideas?

Bernd

Comments

  • edited April 2003
    One approach is to use the Data Dictionary component. Run the Auto Join demo
    in the main End User demo directory for an example. Double click the
    dictionary at design time to run the Data Dictionary builder.

    Another way to do it without the dictionary is to use the
    Report.BeforeAutosearchDialogCreate event, you can set the autosearch field
    field alias. Use RAP in the end user context.

    Report.AutosearchFields[0].FieldAlias := 'Aliased Company Name';

    --
    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited April 2003
    > Another way to do it without the dictionary is to use the
    field

    Yep - that?s what I looked for.

    Thanks,

    Bernd
This discussion has been closed.