Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with using a 'scope'
Message
De
01/03/2005 13:49:38
Vernon Chambers
New York City Transit
New York, États-Unis
 
 
À
24/02/2005 22:00:19
Information générale
Forum:
Visual FoxPro
Catégorie:
FRX2Any
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
00990328
Message ID:
00991706
Vues:
20
Murad,

Thanks for your help but the example you gave did not work. I typed the expression exactly like you suggested yet my report is still empty. When I browse the dbf using the condition from the command window, it works, therefore the information exists. the code follows below. If there's something I'm doing wrong, please advise.

Thank you for all your help.

Vernon
...
...
...
DO wordout with 'checkout.frx', 'date_ofcall='+'"'+dtos(ctod(thisform.datelist.dispvalue))+'"'

.....
PROCEDURE WORDOUT
LPARAMETERS cFilename, cCondition

...
...
...
...

0.cFORExpression = cCondition
...
...
...
...

return
"Try to use follow code:

o.cFORExpression = 'field=' + '"' + abcd + '"'

or (in a case if field is numerical)

o.cFORExpression = 'field=' + ALLTRIM(STR(abcd))

HTH"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform