15,903,362 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Nawab Ahmad (Top 57 by date)
Nawab Ahmad
1-Jan-19 23:22pm
View
Thanks for update, above code is working code, please copy and paste to code pen it will work ..
Nawab Ahmad
1-Jan-19 21:34pm
View
map is global variable and initialized at the top,please run the code and then answer.
Nawab Ahmad
5-Jun-18 4:29am
View
What ever i have you can't solve it ..so stay back and allow other to answer.
Nawab Ahmad
17-Jul-17 0:22am
View
No expert to advice me??????
Nawab Ahmad
21-Nov-16 11:12am
View
Easy to say...But that not my requirement.
Nawab Ahmad
21-Nov-16 8:39am
View
datatable table1 is table
table.row[0] is the row
Nawab Ahmad
21-Nov-16 8:38am
View
Yes, I can but i m trying to export 1 million record
Nawab Ahmad
4-Mar-16 1:14am
View
All the buttons and Menu are blocked or removed
Nawab Ahmad
5-Jan-16 22:31pm
View
Because i am getting 2 Lakhs recors
Nawab Ahmad
27-Nov-15 10:06am
View
Example:
foreach(list lc in secondlist)
{
create new list and add the record the value to it
}
so we have to value in secondlist,
so we have to find the matching record from Firstlist and insert into new list,
so we will get two new list because we have to different first column name(NAWA01
NAWA03)
Nawab Ahmad
24-Nov-15 4:59am
View
i want to remove the lats pipe firat and then i want to read the data as a dataset.
Nawab Ahmad
24-Nov-15 4:53am
View
FileInfo table = new FileInfo("C:\\Filename.something");
string strTable = table.OpenText().ReadToEnd();
string rep = strTable.Replace("old char", "new char");
Nawab Ahmad
14-Apr-14 0:23am
View
This code is from there only...
Nawab Ahmad
4-Nov-13 5:03am
View
Hi Soumitra.
Thnx fr ur reply..
but this code works only with IE bcoz u use ActivexObject ..i want code that works with chrome...
Nawab Ahmad
28-Aug-13 3:01am
View
Thanks working after small modification..
update checkinout set emp_id=replace(emp_id,'P000','')
Nawab Ahmad
28-Aug-13 2:41am
View
Hi, thanks fro reply..
But i want modify the data save in same row it self..
so i need query with update..
Nawab Ahmad
26-Aug-13 8:17am
View
i want like
userID Chekin Checkout
------- ----------- ---------------
1 8/19/2013 08:19 8/19/2013 10:19
checkin= sensorID with value I and checkout = sensorID with value o i want I and O value in checkin and checkout column
Nawab Ahmad
26-Aug-13 8:12am
View
yes..
i want like
userID Chekin Checkout
------- ----------- ---------------
1 8/19/2013 08:19 8/19/2013 10:19
checkin= sensorID with value I
and checkout = sensorID with value o
i want I and O value in checkin and checkout column..
Nawab Ahmad
26-Aug-13 3:28am
View
Thanks for reply..
But i just want that checkout should come in the next row of checin
like..
checkin checkout
------ --------
8/19/2013 14:53 8/19/2013 15:53
Nawab Ahmad
26-Aug-13 2:53am
View
I have a primary key called ID....
plz help
Nawab Ahmad
26-Aug-13 2:48am
View
yes i have name ID..
Nawab Ahmad
26-Aug-13 2:16am
View
Msg 1035, Level 15, State 10, Line 4
Incorrect syntax near 'ROW_NUMBER', expected 'OVER'.
Msg 1035, Level 15, State 10, Line 9
Incorrect syntax near 'ROW_NUMBER', expected 'OVER'.
Nawab Ahmad
26-Aug-13 1:19am
View
thank for ur reply..
what i need to modify in this query to makeit work..
INSERT INTO diff(CHECKout ) SELECT checktime from checkinout where sensorid='2'
Nawab Ahmad
26-Aug-13 0:46am
View
checkin checkout
8/19/2013 14:53 NULL
8/19/2013 16:46 NULL
8/19/2013 08:20 8/19/2013 08:50
8/19/2013 12:40 8/19/2013 13:20
NULL 8/19/2013 13:22
NULL 8/19/2013 14:52
NULL 8/19/2013 18:22
NULL 8/19/2013 16:21
NULL 8/19/2013 16:45
NULL 8/19/2013 16:45
NULL NULL
i am executing one query to insert the value from other table in checkin
INSERT INTO diff(CHECKIN ) SELECT checktime from checkinout where sensorid='1'
working fine
but when i m trying to execute the other query to insert the value in checout
INSERT INTO diff(CHECKout ) SELECT checktime from checkinout where sensorid='2'
it can't replace the null value
it is coming like this..
8/19/2013 14:53 NULL
but i want to be like..
8/19/2013 14:53 8/19/2013 8:50
Nawab Ahmad
19-Aug-13 0:40am
View
Hi,
Msg 425, Level 16, State 1, Line 4
Data type int of receiving variable is not equal to the data type nvarchar of column 'empmachineid'.
Nawab Ahmad
13-Aug-13 7:12am
View
Hello,
thanks for your reply...
I want to generate the report of all the employee whose EMPID is present in the canteenTotal..
suppose i have 4 employee
EMPID
----
1
2
3
4
so when i run the query it should effect all the employees and will comw like..
EMPID Name GRAND Emp_Contrii GRAND Comp_Contri GRANDTOTAL
------ ------------ ----------------- ----------------- -----------
BIN0111 1 1234 1548 10047
BIN0112 2
BIN0113 3
BIN0114 4
plz help....
Nawab Ahmad
8-Aug-13 1:48am
View
sSqlQuery = "Select * from canteen where EPMID='" + Text1.Text + "' and canteen.CheckTime>='" & StartDate & "' and Canteen.CheckTime<='" & EndDate & "'"
If rstQuery.State = 1 Then rstQuery.Close
rstQuery.Open sSqlQuery, dBConnTT, adOpenStatic, adLockReadOnly
I wrote this code in vb 6.0 it is showing invalid Column name EMPID..
plz help
Nawab Ahmad
5-Aug-13 23:38pm
View
Msg 207, Level 16, State 1, Line 5
Invalid column name 'Empid'.
Nawab Ahmad
5-Aug-13 4:36am
View
But when i m executing this query it is showing error .......
plz help..
Nawab Ahmad
5-Aug-13 3:35am
View
Hi,
In my emp table i have like this
EmpId fname department
----- ----------- ---------
253 nawab software
123 ahmad programmer
147 xyz production
And in my info Table:
EmpId Fname department
----- ----------- ---------
253
123
so i want to fill the information in info table related to emp table,information of those guys whose id is present in the info table.
Nawab Ahmad
5-Aug-13 1:46am
View
Hi,
Thanks for your reply......
Create table nawab(EmpId Int, CheckTime DateTime, SensorId Int)
Insert into nawab
Select '1234','2010-06-30 07:31',1 Union all
Select '253','2010-06-30 08:31',2 Union all
Select '1234','2010-06-30 18:31',3 union all
Select '253','2010-07-28 6:31',1 union all
Select '1234','2010-07-28 8:31',2 union all
Select '1234','2010-07-29 9:31',1
Select * From nawab t
where not exists (Select t2.EmpId From nawab t2 where t2.SensorId =3 and t2.EmpId=t.EmpId)
plz check this.....
Nawab Ahmad
5-Aug-13 0:07am
View
Hi,
In your query in 5th line you use From EMPID, when i m executing this it shows error.
But when i changed it to Fro Log (my table name) then it is executing......
Nawab Ahmad
3-Aug-13 6:48am
View
it is showing only empid ,if i want see the checktime then waht i have to do...
Nawab Ahmad
3-Aug-13 5:57am
View
Hi,thanks for your reply...
here i am only using one table log but you are using EMPID also like.. FROM EMPID AS LogOut
Nawab Ahmad
3-Aug-13 2:30am
View
Hello..
i have 1 table name EMP contains tow columns ID and Name
and i have other table Info Contain three Columns ID NAME and AGE.
now i have many id in INFO table so want to search and insert Names of that IDs present in INFO table from EMP table......
Nawab Ahmad
3-Aug-13 2:06am
View
Hi,
Yaaa working...
But i want to display the record of full month..so i have to search for every day by day and display..
plz help..
Nawab Ahmad
3-Aug-13 0:57am
View
I have a table Canteen it contain one column Checktime format Datetime where date and time will come and sit after the employee show his card.
Checktime= 6/30/2010 07:31
Now employee will show his card number of time...But i want to fetch checktime record when he first time show his card between 7:00 to 8:00 and 12:00 to 1:00
means i want to show only to time the first checktime value will be the first record between 7 to 8 and first record between 12 to 1.
Nawab Ahmad
2-Aug-13 6:43am
View
the above code is working fine and it is displaying the sum also but in last line
select Null,sum(Emp_Contrii),sum(Comp_Contri),sum(total)
instead of Null i want to display Grand total....
Nawab Ahmad
2-Aug-13 6:04am
View
select EMPID,Emp_Contrii,Comp_Contri,total
from Canteen where EMPID='187'
union all
select Null,sum(Emp_Contrii),sum(Comp_Contri),sum(total)
from Canteen
This query is working fine in place of Null 2nd last line i want to be display as Grand Total..
Nawab Ahmad
2-Aug-13 3:35am
View
Hi,
I am displaying a record in listview of VB 6.0 and the the total of listview items in textbox.
i can able to export the listview item in Excel Sheet but able to export the textbox data in same Excel Sheet.
PLz help..
Nawab Ahmad
1-Aug-13 6:34am
View
yaa..
thanx again it working....
Nawab Ahmad
1-Aug-13 6:22am
View
INSERT INTO Canteen(EMPID,CHECKTIME,CHECKTYPE,VERIFYCODE,SENSORID,LOGID) SELECT * from checkinout where sensorid='4'
i am using this code to fetch data from table where sensorid=4
so what i have to modify if i want to fetch data from two sensorid 3 and 4...
Nawab Ahmad
1-Aug-13 6:20am
View
Thanx....
working perfectly....
Nawab Ahmad
1-Aug-13 6:08am
View
My CHECKTIME value look like this 3/02/2013 7:54
but i want to take only time and insert the value....
Nawab Ahmad
1-Aug-13 6:00am
View
Thanks ..
its working...
but one problem is there....
checktime = DATETIME formate
i have value in checktime= 6/02/2013 7:24
so, if i want to execute this code i have to mention the date also...but i have to do it by checking time only.....
Nawab Ahmad
1-Aug-13 5:37am
View
i don't know to use if condition with sql query......
If u know plz help..
Nawab Ahmad
19-Jul-13 2:11am
View
I have designed the processor(in java) which use to distribute the data between the given period of time and i am calling that servlet using vb 6.0.
Nawab Ahmad
12-Jul-13 3:38am
View
it is not working because u don't specify the timecard column name that is Timeout.
I tried but showing many unwanted errors.
plz help.
Nawab Ahmad
12-Jul-13 2:58am
View
getting this error:
Msg 243, Level 16, State 1, Line 1
Type date is not a defined system type.
Nawab Ahmad
12-Jul-13 2:56am
View
Hi,
Can i run the same code to select the data from MS ACCESS.
Nawab Ahmad
12-Jul-13 2:40am
View
Thanks Arun..
It is working fine..but one problem is there that checktime contain both date and time
'1/19/2012 18:59' so want to take only max time of that day.
I tried with only date but no data will display.
Nawab Ahmad
29-Jun-13 7:11am
View
Hi,
you know how set the time to execute query in vb 6.0.
example : i have writen one query in command1
and i want that command1 automatic execute every day at sharp 9:00 am.
plz reply..
Nawab Ahmad
29-Jun-13 7:08am
View
Hi,
thank but the problem with this code the message is display row by row ..means once the data come from database in sit in the first row of the listview suddenly msg is generated with the first row then wen u click ok the data willl come and sit in secon row of listview ........
Nawab Ahmad
29-Jun-13 6:37am
View
Hi,
Thanks again but still it is printing the items of first column only..
i have the column 1.empid 2.checkindate 3.mechine id
so empid=1,2,3,4,5,........etc
so,it is printing only empid column onlyin msgbox....
and it want msg should be 1 2/02/2013 3
2 5/2/2013 3...etc
Nawab Ahmad
29-Jun-13 6:17am
View
Hi,
this is working but displaying only the first column items....
Nawab Ahmad
29-Jun-13 6:14am
View
Hi,
thnk for ur replly but geting Runtime Error '35600' index out of bound.
Nawab Ahmad
10-Jun-13 5:48am
View
Please send me the code to capture image from webcam and store in sql database
mail id:- nawabjob@gmail.com
Show More