Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complicated Query
Message
From
14/05/2008 10:49:44
 
 
To
14/05/2008 07:17:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01316576
Message ID:
01316989
Views:
13
>Dear Stefan
>
>I refer to second last line
>
>WHERE LEFT(NVL(T1.code,''),3) = '140' ;
>
>
>I do not want to use actual code reference becuase codes may be differ.
>
>Please help again

You're welcome.

In your first message you wrote
> amount1 is price of Fruit items, strarts with 3201
> amount1 is price of Vegetable items, strarts with 3202

Since all people, fruits and vegetables are in the same table, do you have an particular code content for people, too?
If it is not "code Like '140%'", would
	WHERE T1.credit = 0 ;
work for you?


hth
-Stefan
Previous
Reply
Map
View

Click here to load this message in the networking platform