Click here to Skip to main content
15,892,161 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Display status of SQL query in VBA Pin
Member 124051989-May-16 8:59
Member 124051989-May-16 8:59 
GeneralRe: Display status of SQL query in VBA Pin
Patrice T9-May-16 9:41
mvePatrice T9-May-16 9:41 
GeneralRe: Display status of SQL query in VBA Pin
Member 124051989-May-16 9:53
Member 124051989-May-16 9:53 
GeneralRe: Display status of SQL query in VBA Pin
Patrice T9-May-16 10:31
mvePatrice T9-May-16 10:31 
GeneralRe: Display status of SQL query in VBA Pin
Member 124051989-May-16 13:00
Member 124051989-May-16 13:00 
AnswerRe: Display status of SQL query in VBA Pin
Patrice T9-May-16 16:21
mvePatrice T9-May-16 16:21 
GeneralRe: Display status of SQL query in VBA Pin
Member 124051989-May-16 10:05
Member 124051989-May-16 10:05 
AnswerRe: Display status of SQL query in VBA Pin
Mycroft Holmes9-May-16 14:25
professionalMycroft Holmes9-May-16 14:25 
Break you application into a number of components.
ExtrcLoadTransform (ELT)
Load the data from your text file into a database (I prefer SQL server). You need to change the way the user inputs the data (append may not be the best way to go forward).

Your target table should be an exact match to the excel source file. Don't try and format or type the data, take it in as varchar.

Transform the loaded data into your working table doing any validation and data typing in the transform.

Now you can use SQL to query the data as required - this not becomes trivial and speed will not be an issue. You may need to tune the indexes but SQL Server supplies a tool for that as well.

As you get more familiar with TSQL you will find that you can probably output the data in the exact format you require (although pivot is excellent in Excel).

Good luck
Never underestimate the power of human stupidity
RAH

GeneralRe: Display status of SQL query in VBA Pin
Member 1240519811-May-16 3:27
Member 1240519811-May-16 3:27 
QuestionInfoi needed on Cbutton from(SSDiver2112) Pin
Member 124895254-May-16 10:06
Member 124895254-May-16 10:06 
AnswerRe: Infoi needed on Cbutton from(SSDiver2112) Pin
Dave Kreskowiak4-May-16 10:09
mveDave Kreskowiak4-May-16 10:09 
SuggestionRe: Infoi needed on Cbutton from(SSDiver2112) Pin
Sascha Lefèvre4-May-16 10:20
professionalSascha Lefèvre4-May-16 10:20 
QuestionError in web automation using OpenQA.Selenium for Google chrome Pin
srikrishnathanthri3-May-16 1:10
srikrishnathanthri3-May-16 1:10 
QuestionRe: Error in web automation using OpenQA.Selenium for Google chrome Pin
Eddy Vluggen4-May-16 2:56
professionalEddy Vluggen4-May-16 2:56 
AnswerRe: Error in web automation using OpenQA.Selenium for Google chrome Pin
srikrishnathanthri4-May-16 3:18
srikrishnathanthri4-May-16 3:18 
GeneralRe: Error in web automation using OpenQA.Selenium for Google chrome Pin
Eddy Vluggen4-May-16 3:32
professionalEddy Vluggen4-May-16 3:32 
GeneralRe: Error in web automation using OpenQA.Selenium for Google chrome Pin
srikrishnathanthri4-May-16 19:09
srikrishnathanthri4-May-16 19:09 
GeneralRe: Error in web automation using OpenQA.Selenium for Google chrome Pin
Eddy Vluggen4-May-16 20:58
professionalEddy Vluggen4-May-16 20:58 
QuestionVisual Basic - Mouseover in debug mode Pin
Member 124982982-May-16 8:06
Member 124982982-May-16 8:06 
Questionadd in in word 2007 AND 2013 Pin
JR21230-Apr-16 7:39
JR21230-Apr-16 7:39 
QuestionContinuous data string to Access using vb 2010. Pin
Gus11328-Apr-16 22:37
Gus11328-Apr-16 22:37 
AnswerRe: Continuous data string to Access using vb 2010. Pin
Eddy Vluggen28-Apr-16 23:38
professionalEddy Vluggen28-Apr-16 23:38 
GeneralRe: Continuous data string to Access using vb 2010. Pin
Gus11329-Apr-16 1:13
Gus11329-Apr-16 1:13 
GeneralRe: Continuous data string to Access using vb 2010. Pin
Eddy Vluggen29-Apr-16 2:13
professionalEddy Vluggen29-Apr-16 2:13 
GeneralRe: Continuous data string to Access using vb 2010. Pin
Dave Kreskowiak29-Apr-16 2:54
mveDave Kreskowiak29-Apr-16 2:54 

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.