By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,813 Members | 2,269 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,813 IT Pros & Developers. It's quick & easy.

getting totals

lee123
100+
P: 556
hello, again

ive have been wondering how you can get a total from a datagrid either in a textbox or a label on the form. somewhere

lee123
Jan 23 '08 #1
Share this Question
Share on Google+
3 Replies


daniel aristidou
100+
P: 491
how you can get a total from a datagrid either in a textbox or a label on the form.
Are you using vb6 or later?
You can use SQl to do this i believe....
Jan 23 '08 #2

lee123
100+
P: 556
hey daniel,

yes i am using vb6 si how can i use SQL for this i have only used it i think once or tried to anyway but never got it to work. and where do i put this SQL behind the form or textbox or label.

lee123
Jan 23 '08 #3

debasisdas
Expert 5K+
P: 8,127
hey daniel,

yes i am using vb6 si how can i use SQL for this i have only used it i think once or tried to anyway but never got it to work. and where do i put this SQL behind the form or textbox or label.

lee123
you need to dynamicalls frame 2 queries .

one for populating the grid and the other for the total.
Jan 23 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.