Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I base a textbox on an SQL statement?
Message
From
30/10/2000 20:23:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How do I base a textbox on an SQL statement?
Miscellaneous
Thread ID:
00436179
Message ID:
00436179
Views:
49
Hi. I have a form with a grid. The grid shows products. I want to add a column to show the average days in the warehouse. My warehouse data contains a date so I want the SQL to be:
select cpartno, avg(date()-indate) as avgdays from whcuinvbin group by 1 having cpartno = THISFORM.THISGRID.COLUMN1.txtPart.Value

I do not want to change this grid to be based on a view, because of the way I need the whole thing to operate. I think I could fool foxpro by creating a combobox but can I do this with a textbox?

Thanks for the help

Sandi
Next
Reply
Map
View

Click here to load this message in the networking platform