Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems summing values in one field between 2 dates
Message
From
04/03/2000 13:23:22
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00341684
Message ID:
00341702
Views:
36
Now how do i put the results into another text box somthing like this but it gives me a syntex error
local setdate1 setdate2
setdate1 = thisform.text1.value
setdate2 = thisform.text3.value

SELECT SUM(Inv.soldprice);
FROM pawn!Inv;
WHERE Inv.solddate BETWEEN setdate1 AND setdate2 ;
into thisform.text2.value <<< this probably not right.

Kelly
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform