Click here to Skip to main content
15,349,128 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to retrieve value inserted to variable Pin
dan!sh 6-Dec-19 0:41
professional dan!sh 6-Dec-19 0:41 
AnswerRe: How to retrieve value inserted to variable Pin
Richard Deeming6-Dec-19 1:05
mveRichard Deeming6-Dec-19 1:05 
GeneralRe: How to retrieve value inserted to variable Pin
nrdroque6-Dec-19 3:40
Membernrdroque6-Dec-19 3:40 
GeneralRe: How to retrieve value inserted to variable Pin
Eddy Vluggen6-Dec-19 8:49
professionalEddy Vluggen6-Dec-19 8:49 
QuestionMS Chart is adding extra X axis when doing multiple series. Pin
Member 1435926026-Nov-19 8:31
MemberMember 1435926026-Nov-19 8:31 
QuestionHow to determine specific object from Msg.HWnd 'MESSAGE CLOSED' Pin
mo149225-Nov-19 2:32
Membermo149225-Nov-19 2:32 
AnswerRe: can not find the pin Pin
Richard MacCutchan17-Nov-19 21:17
mveRichard MacCutchan17-Nov-19 21:17 
Questiongroup by name for sum amount Pin
Member 1332257413-Nov-19 19:39
MemberMember 1332257413-Nov-19 19:39 
Need help...

Table Name - cashbook
Field name - pname & amount

Examble

pname amount
Antony 1500
Jose 3000
Antony 3500

need to display in msflexgrid like belo
Antony - 5000
Jose - 3000

below my code is not working....can anybody help me

Rec.open "select from pname,sum(amount) as amt from cashbook group by pname order by pname,var,adopendynamic,adlockoptimist
While rec.eof=false
Pymnt.rows=pymnt.rows+1
Pymnt.textmatrix(pymnt.rows -1,0)=rec!pname
Pymnt.textmatrix(pymnt.rows -1,1)=amt
Rec.movenext
Wend
Rec.close
AnswerRe: group by name for sum amount Pin
Dave Kreskowiak14-Nov-19 2:40
mveDave Kreskowiak14-Nov-19 2:40 
Questioncode project data base Pin
abuahmed20191-Nov-19 4:24
Memberabuahmed20191-Nov-19 4:24 
AnswerRe: code project data base Pin
Dave Kreskowiak1-Nov-19 5:00
mveDave Kreskowiak1-Nov-19 5:00 
QuestionSystem.IO.IOException HResult=0x80131620 When using NetworkStream.Read function Pin
fd975029-Oct-19 22:48
professionalfd975029-Oct-19 22:48 
AnswerRe: System.IO.IOException HResult=0x80131620 When using NetworkStream.Read function Pin
Richard MacCutchan29-Oct-19 23:09
mveRichard MacCutchan29-Oct-19 23:09 
GeneralRe: System.IO.IOException HResult=0x80131620 When using NetworkStream.Read function Pin
fd975029-Oct-19 23:23
professionalfd975029-Oct-19 23:23 
GeneralRe: System.IO.IOException HResult=0x80131620 When using NetworkStream.Read function Pin
fd975030-Oct-19 0:02
professionalfd975030-Oct-19 0:02 
QuestionHow to solve problem with datagrid and tabcontrol(vb.net) Pin
Member 1447080727-Oct-19 22:52
MemberMember 1447080727-Oct-19 22:52 
AnswerRe: How to solve problem with datagrid and tabcontrol(vb.net) Pin
Richard MacCutchan27-Oct-19 23:14
mveRichard MacCutchan27-Oct-19 23:14 
GeneralRe: How to solve problem with datagrid and tabcontrol(vb.net) Pin
Member 1447080730-Oct-19 17:33
MemberMember 1447080730-Oct-19 17:33 
GeneralRe: How to solve problem with datagrid and tabcontrol(vb.net) Pin
Richard MacCutchan30-Oct-19 22:58
mveRichard MacCutchan30-Oct-19 22:58 
QuestionVB Script stopped working on Windows 10 + Office 365 Pro Pin
Member 1463660627-Oct-19 21:29
MemberMember 1463660627-Oct-19 21:29 
AnswerRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
OriginalGriff27-Oct-19 21:33
mveOriginalGriff27-Oct-19 21:33 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
Member 1463660627-Oct-19 21:36
MemberMember 1463660627-Oct-19 21:36 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
OriginalGriff27-Oct-19 21:39
mveOriginalGriff27-Oct-19 21:39 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
Member 1463660627-Oct-19 22:28
MemberMember 1463660627-Oct-19 22:28 
GeneralRe: VB Script stopped working on Windows 10 + Office 365 Pro Pin
OriginalGriff27-Oct-19 22:41
mveOriginalGriff27-Oct-19 22:41 

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.