DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   VB6 and MS Access Problem (http://www.daniweb.com/forums/thread83026.html)

xwings Jul 9th, 2007 1:31 am
VB6 and MS Access Problem
 
I just learn how to do a programming with vb6, and i have few problem that i need to get some advise and idea from experts here.

Ok I successfully captured a data from a notepad text, and my access database data filed is look like this;

Schedule sku size inseam total
112206 92221 32 32 40
112206 92221 32 32 12
112205 92221 40 32 8

I decided to make an output to the text format (Notepad) also; I already made the layout of my output suppose to look like this;

Schedule# SKU Inseam/Size 32 33 34 35 36 37 38 40 42 44 Total
112206 92221 30
112206 92221 32 52
112206 92221 32

Schedule# SKU Inseam/Size 32 33 34 35 36 37 38 40 42 44 Total
112205 92221 30
112205 92221 32 8
112205 92221 32

my question is how can I add the “total” if the “schedule”, “sku” , “size” and Inseam” are same? Thanks

guru511 Jul 10th, 2007 12:27 am
How can i access data from MS Access using VB6 (I need the connection code)
 
[How can i access data from MS Access using VB6 (I need the connection code) can u plz tell me the code for accessing tables in MS Access using Visual Basic 6. my access tables are in a server not in my local computer..... plz let me know the code

QVeen72 Jul 10th, 2007 10:28 am
Re: VB6 and MS Access Problem
 
Hi,

In ur original Text file, if all the parameters are "Sequential", then u can keep a Running Total and print the Total If Parameters of Next line Changes, and then Re-Set the Total

REgards
Veena


All times are GMT -4. The time now is 10:27 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC