Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameterized views
Message
De
29/10/2004 12:51:42
Paul Trimming
Lonely Pilgrim Shareware
Merstham, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Parameterized views
Divers
Thread ID:
00955865
Message ID:
00955865
Vues:
48
Hello,

I am a Foxpro 6 beginner, and I have written a Foxpro report based on a parameterized view. This view compares the alphanumeric parameter to an alphanumeric field ACNO in its base table to select its records.

My problem is that the parameter the report passes to the view can be either in the form of a word (as in "PAUL") or a number (as in "5515"). I have both these examples stored in the field ACNO.

I find that the report will show beautifully when "PAUL" is used as the parameter, but flashes on and off (because the report is empty) when the parameter is "5515". For some reason the view does not like to compare alphanumeric fields to a parameter where the parameter is a number (as far as I can see). I can find no other reason for this event.

How do I get round this?

Thanks,
Trimtro
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform