Recent content by the_black_code

  1. T

    using FlexArray or any such control

    Yea... This has been left unanswered for a good 5 years. Such a hard question :banghead:
  2. T

    using FlexArray or any such control

    Hi mrashid, Please find the attached file is the CHM developer guide for FlexArray control. Please note that FlexArray is no longer belong to Microsoft, as it's for VideoSoft. Thanks.
  3. T

    Working hours calculator

    Hi, I solved the problem :cool: . Here is the solution: Public Function TimeDiffCal(ByVal StartingTime As Date, ByVal FinishingTime As Date) As Date Dim Hours As Integer, Minutes As Integer, Seconds As Integer, TotalSeconds As Integer TotalSeconds = DateDiff("s", InTime, OutTime...
  4. T

    Working hours calculator

    Hi GalaxiomAtHome, I know all of that, but (in code) can you solve this? Thanks. A
  5. T

    Working hours calculator

    Hi GalaxiomAtHome, No, again it gives a wrong answer. Look what it gives when I tried it: ?TimeDiffCal1("11:45:00","17:00:00") 11:45:00
  6. T

    Working hours calculator

    Could you please tell me how to do the arithmetical subtraction? Thanks. A
  7. T

    Working hours calculator

    Hi GalaxiomAtHome, Many thanks for helping me with this, but I want it to be as a time calcuation function to be used in other place in the code. Do you have a working replacement to the above function? Thanks and I realy appreciating your help. A
  8. T

    Working hours calculator

    Hi GalaxiomAtHome, Is it OK to use CDate([fieldname]) Thanks. A
  9. T

    Working hours calculator

    It returns: ?DateDiff("n", #08/04/2011 11:45:00#, #08/04/2011 17:00:00#) 315
  10. T

    Why doesn't this work?

    You can replace with this: If IsNull(Me.TXT_Test.Value) OR IsEmpty(Me.TXT_Test.Value) Then A
  11. T

    Working hours calculator

    Hi GalaxiomAtHome, Thanks for your reply, here is the code directley from the Immediate window in the Access VB Edittor: ?DateDiff("h","08/04/2011 11:45:00","08/04/2011 17:00:00") 6 ?DateDiff("n","08/04/2011 11:45:00","08/04/2011 17:00:00") 315 ?DateDiff("s","08/04/2011...
  12. T

    Working hours calculator

    Hi GalaxiomAtHome, Thanks for your reply, but I did try the DateDiff function, and it gives a wrong values... for example: for (IN: 11:45:00) and (OUT: 17:00:00) example: Hours = DateDiff("h","11:45:00","17:00:00") 'YES, It returns 6 Minutes = DateDiff("n","11:45:00","17:00:00") 'It returns...
  13. T

    Working hours calculator

    Dear All, I am currentley working on a function that can calculate the deferance between two gevin times and return the result :D. My code is as follow: Public Function TimeDiffCal(ByVal StartingTime As Date, ByVal FinishingTime As Date) As Date Dim BTime As Variant, ETime As Variant...
  14. T

    using FlexArray or any such control

    Hi prodigy, Sorry for my late reply, coz I just joined to the forum recentley. Using of MS FlexArray control or VideoSoft FlexArray Control in Access VBA is the same when you use it in the normal MS VB6. So, if you know how to use it in VB6, you can use it in Access VBA. Don't wary about...
Back
Top Bottom