Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RaffiqEddy

    How to create dynamic organization/pyramid chart, help pls!

    I used php & mysql The data are from mysql, I hope someone can help me how to do this chart with that combination Am I in wrong forum?
  2. RaffiqEddy

    How to create dynamic organization/pyramid chart, help pls!

    Hello Expert! Can anyone guide me how to create dynamic organization / pyramid chart which look like this: http://www.elagenda.com/pyramid.bmp I found similar sample http://www.tek-tips.com/viewthread.cfm?qid=316739 -- the sample format is from right to left, furthermore it has no line...
  3. RaffiqEddy

    How to format this data into tabular/pivot format

    Hello Expert! I need help to I translate this data... Table "LeaveDetail" StaffNo | StartDate | EndDate | LeaveType | 1 | 23/04/2006 | 26/04/2006 | AL | 2 | 24/04/2006 | 25/04/2006 | MC | 3 | 26/04/2006 | 27/04/2006 | EL | 1 | 30/04/2006 |...
  4. RaffiqEddy

    To filter data Table1 based on Table2, help Please!

    Thanks [medal]PHV[medal], It Works! I Hope to contribute more STAR to you for the excellent guide.. TwoOdd & Pampers – Thanks for the idea, it's good but I have to skip your suggestion. Take care, Regards.
  5. RaffiqEddy

    To filter data Table1 based on Table2, help Please!

    Hello Expert! I want to filter out Public Holiday from Employee’s attendance table. Take note: Public Holiday differ from state to state I’ve created 2 tables for this, they are as following: 1. PublicHoliday 2. EmpAttendance Table “PublicHoliday” contain information as following: No State...
  6. RaffiqEddy

    How to format this leave detail data into tabular report format

    Thanks dhookom, It Works! Hope I can contribute more STAR for you for the excellent guide.. BTW, sorry for the inconsistency Take care, Regards.
  7. RaffiqEddy

    How to format this leave detail data into tabular report format

    dhookom, Here the result... I've to change the column header to "Day" intead of "Month" and I've create tblDay which contain from day 1 --> 31 So now the query look like this... TRANSFORM First(nLeaveTypeNo) AS FirstOfLeaveType SELECT LeaveDetail.nEmpNo FROM tblDays, LeaveDetail WHERE...
  8. RaffiqEddy

    How to format this leave detail data into tabular report format

    Hello, Expert! I need help on how do I translate this data... Table "LeaveDetail" StaffNo | StartDate | EndDate | LeaveType | 1 | 01/11/2005 | 04/11/2005 | AL | 2 | 02/11/2005 | 03/11/2005 | MC | 3 | 04/11/2005 | 05/11/2005 | EL | 1 |...
  9. RaffiqEddy

    Downgrade Delete Statement From 4.0 -> 3.32, Help Pls!

    Oh well, I knew this will come... BTW, a star for both of you, excellent helper... Take care, Regards.
  10. RaffiqEddy

    Downgrade Delete Statement From 4.0 -> 3.32, Help Pls!

    DELETE Table1 FROM Table1,Table2 WHERE Table1.StatusId = Table2.StatusId AND Table1.ApproveById = Table2.ApproveById AND Table1.EmpNo = Table2.EmpNo #1064 - You have an error in your SQL syntax near 'Table1 FROM Table1, Table2 WHERE Table1.StatusId' at line 1 DELETE FROM Table1 USING...
  11. RaffiqEddy

    Downgrade Delete Statement From 4.0 -> 3.32, Help Pls!

    I have tried that, but still not working... I also do as following but still not working.. DELETE FROM Table1 USING Table1,Table2 WHERE Table1.StatusId = Table2.StatusId AND Table1.ApproveById = Table2.ApproveById AND Table1.EmpNo = Table2.EmpNo Anyone have other solution?? TIA
  12. RaffiqEddy

    Downgrade Delete Statement From 4.0 -> 3.32, Help Pls!

    Hi, I want to delete all data from Table1 based on data from Table2. So do as following: DELETE Table1 FROM Table1 INNER JOIN Table2 ON Table1.StatusId = Table2.StatusId AND Table1.ApproveById = Table2.ApproveById AND Table1.EmpNo = Table2.EmpNo Using MySQL 4.0 on my PC it works perfectly...
  13. RaffiqEddy

    Problem with Hidden Field Contain Quotes, Help Please!

    Hi DRJ478, thank u very much, the solution given is exactly what I want, u make my day! -- A star for you... Dear unborn, thank you, appreciate your time & efforts Take care, Regards.
  14. RaffiqEddy

    Problem with Hidden Field Contain Quotes, Help Please!

    Sorry unborn, the problem NOT solve.. [sadeyes]
  15. RaffiqEddy

    Problem with Hidden Field Contain Quotes, Help Please!

    Dear PHP Experts, I have problem with hidden field contains quotes. This is what I key-in in the text box: " ~ ! @ # $ % ^ & * ( ) _ + ` - = | } { [ ] : ; ' ? > < , . / \ As u can see it’s all special characters. To confirm what user has keyed-in, I display it and I stored it as a hidden...
  16. RaffiqEddy

    Downgrade to non-sub query, but how to change this mysql statement??

    r937, Again, thank you for the solution... Another star for you! Take care, Regards.
  17. RaffiqEddy

    Downgrade to non-sub query, but how to change this mysql statement??

    r937, Thank you for the solution, it help a lot! Can I ask another question about the same subject?? How to convert this sub query?? This query has 2 processes:- 1) Categories “nTotalDay” with a new field name, based on “nLeaveTypeNo” 2) SUM the new fields SELECT nEmpNo, tYear...
  18. RaffiqEddy

    Downgrade to non-sub query, but how to change this mysql statement??

    Dear MySql Expert, I've to downgrade my mysql statement from sub query(mysql 4x) --to-> non-sub query(mysql 3.32) I manage to changed below sub-query --> non subquery... Sub-query ========= $qsLeaveSUM = "SELECT * FROM LeaveSum WHERE (nEmpNo = $EmpNo) AND...
  19. RaffiqEddy

    Auto Calculate Total DAYS for leave, help please!

    Hi TonyGroves, Thank you very much, as u suggested, I think I should use PHP code instead. BTW, FYI, the code produced an error when used with MySQL 3.23. An additional knowledge to me! Regards. Ps: A star for you too..

Part and Inventory Search

Back
Top