Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update Sql Command
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01202518
Message ID:
01203644
Views:
20
Just !
VP_date - 1


>>I want for each day put the stock of medicament.
>>
>>
>
>
>>AGENDA.DBF
>>*--- NAME             MEDICAMENT     DATE          CONSOMMATION      STOCK
>>Ex : MILCENT bernhart TEMESTA 2.5    14/03/2007    1                   50 ( Before )
>>MILCENT bernhart TEMESTA 2.5    15/03/2007    1                   49 ( Before )
>>
>>TRAITER.DBF       STOCK ( BEGINNING )
>>IRESIDENTID           50
>
>>
>>FOR 14/03/2007 IF NO MEDICAMENT for 13/03/2007 Take stock Of traiter.dbf ...( 50 ).
>
>Than condition apd.ddate < vp_date is incorrect because it'll pick up all previous record but you want only the latest one before current, right?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform