Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing variable to Local View
Message
From
17/09/2002 11:16:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Passing variable to Local View
Miscellaneous
Thread ID:
00701291
Message ID:
00701291
Views:
61
Hi,
I have a local view with syntax,
SELECT Suspense.policyno, Suspense.claim, Suspense.drftamt,;
Suspense.dduedate, Suspense.claimname, Suspense.dol, Suspense.ssn,;
Suspense.adjustor, Suspense.clmoffice, Suspense.ntlogin,;
Suspense.controlnum, Suspense.susp_code, Suspense.den_code,;
Suspense.accepted, Suspense.denied;
FROM suspense;
WHERE Suspense.clmoffice IN (?clmlist)

where clmlist is variable.

It seems that when I pass "001","007","008" as the clmlist variable, the local view only returns records that have clmoffice="001" (or whatever I pass in before the first comma).

I also tried creating the view dynamically at run-time, but can't get the local view to refresh the data in a grid.

Would be VERY GRATEFUL for any tips...
THANKS!

Suzi Taylor
Next
Reply
Map
View

Click here to load this message in the networking platform