Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with using a 'scope'
Message
From
01/03/2005 13:49:38
 
 
To
24/02/2005 22:00:19
General information
Forum:
Visual FoxPro
Category:
FRX2Any
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00990328
Message ID:
00991706
Views:
19
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"
Previous
Reply
Map
View

Click here to load this message in the networking platform