that being said, here is my situation --
i am in the process of creating a "Time Keeper & Attendance Program" we call it TKAP :)
i am working on a screen that has a combo-box that has pay-cycle ending dates in it that are populated by a mysql db table. the dates and the combo-box work great. when the data is changed in the combo-box, my code takes and calls a function that goes and needs to look up the status of an end users time that has been submitted... that information is stored in a table called "statusofhours". what i am checking against is to see if they have already submitted their hours for this pay-cycle which would give me a "SH" in a field, not yet submitted - "NS" and already approved -- "AP"
well to make sure that i am checking the correct information i am using a string called "CheckStatusTable" which has the following information in it:
Expand|Select|Wrap|Line Numbers
- Public CheckStatusTable As String = "select * from `statusofhours` where `username`='" + username + "'"
the problem that i am running into is that when the code executes, the output of the sql statment is:
Expand|Select|Wrap|Line Numbers
- select * from `statusofhours` where `username`="
any and all help would be really appreciated... you can contact me either by:
posting here,
email me (prefered) at: williamgATmalcoproDOTcom,
or IM me (prefered also) at deathsbainATsbcglobalDOTnet (yahoo) or usswilliamgray (AIM)
thanks once again for all your help!!!
Deathsbain -- Have you hugged your undertaker today???