Consultor Eletrônico



Kbase P9366: Ask At Run Time prompt with leading wildcard returns Contains string error.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/29/2010
Status: Unverified

SYMPTOM(s):

Ask At Run Time prompt with leading wildcard returns Contains string error:

Contains string cannot begin with an asterisk, but may be used as a trailing wildcard, for example "sales*".

Using GUI Results.

FACT(s) (Environment):

Windows NT
Progress 9.1D

CAUSE:

Bug# OE00081878

FIX:

Don't use an Ask At Run Time Prompt with a leading wildcard with GUI Results.

The behaviour can be seen with the following steps:
Tested with 91D on NT.

1. Start GUI Results.
2. Query > New Report
3. Select Customer table, Name field.
4. Data > Selection
5. Select Name
6. Check "Ask At Run Time"
7. Select Matches
8. Enter your question
9. Go back to main Results screen and Preview the report.
10. At prompt try "*"

Step 10 returns the message: "Contains string cannot begin with an asterisk, but may be used as a trailing wildcard, for example "sales*". This is Bug# 20020923-010.

11. Select Cancel from the Ask At Run Time prompt, and Results returns all the records. This is also a bug: Bug#19950303-043.