Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor not being created
Message
From
10/12/2009 17:33:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01438479
Message ID:
01438509
Views:
56
>they are all real tables. Here's the actual coding:
>
>cSelectStat = "select "+lcfields +;
> " FROM dride "+;
> " left Join dtpprates On dtpprates.ratespk = dride.ratedtppfk "+;
> " left Join dtpp On dtpp.tpppk = dtpprates.tppfk "+;
> " left Join CRSCHOSEN On CRSCHOSEN.tpppk = dtpp.tpppk "+;
>" left Join dpass On dpass.passpk = dride.passfk "+;
>" left Join CLIENT On CLIENT.personid = dpass.personidfk "+;
>" INTO Cursor crsbilling"
>
>&cSelectStat
>
>Ok, will try this your advice. Thanks.

For debugging in such cases, I usually have
strtofile(cSelectStat, "tmp.prg")
suspend
Then while it's suspended, modi comm tmp and see whether it compiles, and if it runs, where's the error. There's a chance something's wrong with your lcFields. This way you'd see it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform