Click here to Skip to main content
15,888,521 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Add unsubscribe link to header of the mail sent from outlook Pin
Richard Deeming12-May-16 3:12
mveRichard Deeming12-May-16 3:12 
GeneralRe: Add unsubscribe link to header of the mail sent from outlook Pin
srikrishnathanthri12-May-16 3:23
srikrishnathanthri12-May-16 3:23 
QuestionSaving data with data-bound Form Controls Pin
Raabi Anony11-May-16 16:31
Raabi Anony11-May-16 16:31 
AnswerRe: Saving data with data-bound Form Controls Pin
Dave Kreskowiak12-May-16 1:15
mveDave Kreskowiak12-May-16 1:15 
GeneralRe: Saving data with data-bound Form Controls Pin
Raabi Anony12-May-16 16:48
Raabi Anony12-May-16 16:48 
QuestionThe ADO.NET provider with invariant name 'System.Data.SqlLite.EF6' is either not registered in the machine or application config file, Pin
jkirkerx10-May-16 14:16
professionaljkirkerx10-May-16 14:16 
Answer[100% Solved], How to get SQLite to work with vb.net and EF6 using the NuGet Package System.Data.SQLite (x86/x64) Pin
jkirkerx11-May-16 9:54
professionaljkirkerx11-May-16 9:54 
QuestionHow we can get last 12 months using current month using sql Pin
MANISHA SONAWANE9-May-16 20:39
MANISHA SONAWANE9-May-16 20:39 
How we can get last 12 months using current month with we select departmentTitle and ReadingDate(Apr 2016) from table
and also add sum of meterreading using departmentTitle and ReadingDate.

My Query is:
SELECT CONVERT(varchar(3), ReadingDate, 100) AS XText,SUM(MeterReading) AS DataText,MonthlyTarget AS YText FROM tblReadings WHERE ReadingDate =apr 2016 AND DepartmentTitle=ADS GROUP BY CONVERT(varchar(3), ReadingDate, 100), MONTH(ReadingDate),MonthlyTarget ORDER BY MONTH(ReadingDate)

Required output is:
[Month from date] [Sum of meterreading]
[Apr] [12000]
[Mar] [16000]
[Feb] [20000]
[Jan] [18000]
AnswerRe: How we can get last 12 months using current month using sql Pin
Mycroft Holmes9-May-16 21:37
professionalMycroft Holmes9-May-16 21:37 
GeneralRe: How we can get last 12 months using current month using sql Pin
MANISHA SONAWANE10-May-16 0:02
MANISHA SONAWANE10-May-16 0:02 
GeneralRe: How we can get last 12 months using current month using sql Pin
Mycroft Holmes10-May-16 0:12
professionalMycroft Holmes10-May-16 0:12 
AnswerRe: How we can get last 12 months using current month using sql Pin
CHill6010-May-16 22:22
mveCHill6010-May-16 22:22 
SuggestionRe: How we can get last 12 months using current month using sql Pin
Richard Deeming11-May-16 1:23
mveRichard Deeming11-May-16 1:23 
GeneralRe: How we can get last 12 months using current month using sql Pin
CHill6011-May-16 2:08
mveCHill6011-May-16 2:08 
GeneralRe: How we can get last 12 months using current month using sql Pin
Mycroft Holmes11-May-16 2:51
professionalMycroft Holmes11-May-16 2:51 
GeneralWe want only required Month and Year instead of complete date in where condition using sql Pin
MANISHA SONAWANE16-May-16 0:05
MANISHA SONAWANE16-May-16 0:05 
QuestionDisplay status of SQL query in VBA Pin
Member 124051985-May-16 4:57
Member 124051985-May-16 4:57 
AnswerRe: Display status of SQL query in VBA Pin
Dave Kreskowiak5-May-16 12:25
mveDave Kreskowiak5-May-16 12:25 
AnswerRe: Display status of SQL query in VBA Pin
Mycroft Holmes8-May-16 14:21
professionalMycroft Holmes8-May-16 14:21 
GeneralRe: Display status of SQL query in VBA Pin
Member 124051989-May-16 4:39
Member 124051989-May-16 4:39 
GeneralRe: Display status of SQL query in VBA Pin
Dave Kreskowiak9-May-16 4:50
mveDave Kreskowiak9-May-16 4:50 
AnswerRe: Display status of SQL query in VBA Pin
Sascha Lefèvre9-May-16 5:28
professionalSascha Lefèvre9-May-16 5:28 
AnswerRe: Display status of SQL query in VBA Pin
Patrice T9-May-16 5:42
mvePatrice T9-May-16 5:42 
GeneralRe: Display status of SQL query in VBA Pin
Member 124051989-May-16 8:52
Member 124051989-May-16 8:52 
GeneralRe: Display status of SQL query in VBA Pin
Member 124051989-May-16 8:59
Member 124051989-May-16 8:59 

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.