Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yet another BUG: Marcos in view definition not supported
Message
De
14/02/2003 13:50:54
Walter Meester
HoogkarspelPays-Bas
 
 
À
14/02/2003 13:07:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00753139
Message ID:
00753362
Vues:
48
Hi bob,

Please read the reply of Jim,

It's all about defining a view with a flexible where clause you can change at runtime without changing the view definition.

Walter,


>Try to put the line:
>
>cWhere = ".t." before your create.
>
>>This is getting depressing. Since the 10 day's or so ive been working with VFP 8 this is the 5th bug I had to report. I wonder what MS definition of stable they use when they say it's the most stable version. It does not crash more often than VFP7 allright, but the other bugs are pretty irritating.
>>
>>In VFP you can write a SQL VIEW definition with a macro in the where clause like
>>
>>
>>CREATE SQL VIEW MyView AS ;
>>     SELECT * FROM MyTable WHERE &?cWhere
>>
>>
>>which enables you to define a flexible whereclause in runtime by just filling the cWhere variable.
>>
>>However in VFP8 the view cannot be created either in code or the view designer. It would give a nice Syntax Error. The only workarround I found is to create the view in VFP.
>>
>>To the VFP team: If you're going to fix this please make it also possible for remote views to use this strategy....
>>
>>I beginning to wonder if I should start a new thread: The 100 bugs in VFP8
>>
>>Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform