Click here to Skip to main content
15,886,019 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: A textbox with squiggly lines in different colours Pin
Expert Coming11-Mar-09 22:33
Expert Coming11-Mar-09 22:33 
GeneralRe: A textbox with squiggly lines in different colours Pin
dan!sh 11-Mar-09 22:53
professional dan!sh 11-Mar-09 22:53 
GeneralRe: A textbox with squiggly lines in different colours Pin
Expert Coming11-Mar-09 23:03
Expert Coming11-Mar-09 23:03 
AnswerRe: A textbox with squiggly lines in different colours Pin
Expert Coming11-Mar-09 22:34
Expert Coming11-Mar-09 22:34 
QuestionCompare data of the last day with the past 4 day’s data Pin
Dobrobit11-Mar-09 18:14
Dobrobit11-Mar-09 18:14 
AnswerRe: Compare data of the last day with the past 4 day’s data Pin
Jumping Jupiter12-Mar-09 7:05
Jumping Jupiter12-Mar-09 7:05 
GeneralRe: Compare data of the last day with the past 4 day’s data Pin
Dobrobit12-Mar-09 11:16
Dobrobit12-Mar-09 11:16 
GeneralRe: Compare data of the last day with the past 4 day’s data Pin
Dobrobit15-Mar-09 21:36
Dobrobit15-Mar-09 21:36 
Re: Compare data of the last day with the past 4 day’s
I use VB 2008 EXPRESS EDITION

I dont have formular as you can see from this
that is why I need VB eihter throuh array or index to get this

Id A B C D E
15 2 4 6 7 8
14 2 6 8 7 2
for example as above,data A in day 15 repeats its value of day 14 and data D in da 15 also repeats its value of day 14. These are 2 data that repeat their values of day 14.Data A and D are 2 data therefore P1 = 2.

Id A B C D E
15 2 4 6 7 8
13 1 4 1 5 8
The same thing above
P2 (day 15 compared with day 13. Data B in day 15 repeats its value of day 13 and data E at day 15 also repeats its value of day 13.This gives 2 data and therefore P2 = 2

Id A B C D E
15 2 4 6 7 8
12 3 3 3 7 2
As above only 1 data (D) at day 15 repeats its value on day 12.Therefore P3 = 1

Id A B C D E
15 2 4 6 7 8
11 5 6 8 4 1
as above no data at day 15 repeats its value at day 11.Therefore
P4 = 0. Day 15 is the last data and is compared with day 14,13,12and 11.The next day will be day 16 and it will be copared with days 15,14,13and 12 while day 17 will be compared with days 16,15,14 and 13 etc.
How do I use codes to get these?
Thanks for your help
GeneralRe: Compare data of the last day with the past 4 day’s data Pin
Jumping Jupiter16-Mar-09 1:43
Jumping Jupiter16-Mar-09 1:43 
QuestionInputbox triggering form_closed event Pin
Sonhospa11-Mar-09 13:48
Sonhospa11-Mar-09 13:48 
AnswerRe: Inputbox triggering form_closed event Pin
Luc Pattyn11-Mar-09 14:16
sitebuilderLuc Pattyn11-Mar-09 14:16 
GeneralRe: Inputbox triggering form_closed event Pin
Sonhospa12-Mar-09 9:26
Sonhospa12-Mar-09 9:26 
GeneralRe: Inputbox triggering form_closed event Pin
Luc Pattyn12-Mar-09 10:33
sitebuilderLuc Pattyn12-Mar-09 10:33 
GeneralRe: Inputbox triggering form_closed event Pin
Sonhospa13-Mar-09 12:21
Sonhospa13-Mar-09 12:21 
GeneralRe: Inputbox triggering form_closed event Pin
Luc Pattyn13-Mar-09 12:30
sitebuilderLuc Pattyn13-Mar-09 12:30 
AnswerRe: Inputbox triggering form_closed event Pin
Dave Kreskowiak12-Mar-09 3:47
mveDave Kreskowiak12-Mar-09 3:47 
GeneralRe: Inputbox triggering form_closed event Pin
Sonhospa12-Mar-09 9:29
Sonhospa12-Mar-09 9:29 
Questionerror propagation [modified] Pin
captainmogo11-Mar-09 9:58
captainmogo11-Mar-09 9:58 
AnswerRe: error propagation Pin
Dave Kreskowiak12-Mar-09 3:46
mveDave Kreskowiak12-Mar-09 3:46 
GeneralRe: error propagation Pin
captainmogo12-Mar-09 4:15
captainmogo12-Mar-09 4:15 
GeneralRe: error propagation Pin
Luc Pattyn12-Mar-09 4:54
sitebuilderLuc Pattyn12-Mar-09 4:54 
GeneralRe: error propagation Pin
captainmogo12-Mar-09 5:03
captainmogo12-Mar-09 5:03 
GeneralRe: error propagation Pin
Luc Pattyn12-Mar-09 5:23
sitebuilderLuc Pattyn12-Mar-09 5:23 
GeneralRe: error propagation Pin
captainmogo12-Mar-09 8:14
captainmogo12-Mar-09 8:14 
QuestionHow to export to word using VB 2008 Pin
Manfred ramirez11-Mar-09 8:45
Manfred ramirez11-Mar-09 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.