Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql curiosity
Message
From
18/03/2010 12:49:18
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01455308
Message ID:
01455464
Views:
38
Thanks for bothering with it. I have tried separating them and it worked but I still dont know why it doesnt work with the original one.
>>I just tried to put the code snippet in question in a separate prg and it worked,(but the original did not).
>>
>
>Try separating each piece as a separate function - would be easier to debug. Also, as I said, if you're using dates for your parameters, give them the appropriate names. lcDate is confusing as it assumes variable of a character type. You don't have to use the lType prefix, but if you do, use it correctly in case someone else is going to look at this code later.
>
>
>>>I'd suggest that if you have cut this piece of code that works out of a larger routine that isn't working you must be setting something that causes that in that larger routine.
>>>
>>>Why dont you put the code back and then start removing the selects you have before the problem one and keep testing it till it stops working.
>>>
Previous
Reply
Map
View

Click here to load this message in the networking platform