duplicate dates different times

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dhoward
    New Member
    • Aug 2007
    • 18

    duplicate dates different times

    I'm having a certain situation. On my application, if a user has the choice to apply for the same permit more than once but on different times. Now the first application would be 100.00 but any application after that would 50.00. I'm having a problem setting that code up. What i was thinking on line was this....


    Case "Close Proximate"
    NumDays = DateDiff("d", CDate(strtodayd ate), CDate(strdispla ydate))
    If NumDays < 10 Then
    strAmount = 200
    Else
    strAmount = 100
    End If

    If intCount <>= 0 (is a duplicate)
    (but right here i need a code that says something like if they have the same date but different times) then
    strAmount = 50
    Case Else

    I'm not sure how to write that. Can I get some help please
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    What version of VB are you using?

    Comment

    Working...