Results 1 to 12 of 12

Thread: Due Date

  1. #1

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901

    Due Date

    I have to make a program void after 90 day.. and warn at
    85..
    I have code... but need help with captions?

    Any help appreciated..
    Thnks

    VB Code:
    1. Private Sub Form_Load()
    2.  
    3. Dim DueDate As Date
    4.     DueDate = "6/15/2002"
    5. Dim WarningDdate As Date
    6.     WarningDdate = "6/10/2002"
    7.    
    8.         If WarningDdate < Date Then
    9.        
    10.             If DueDate < Date Then
    11.                 MsgBox "Outdated Pricing. Please update...", vbCritical
    12.             Else
    13.             Dim days As Integer
    14.                 days = DueDate - Date
    15.        
    16.                 MsgBox "Pricing in effect for " & days & " days", vbInformation
    17.             End If
    18.         End If
    19. End Sub
    20.  
    21.  
    22. Seahag

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Due Date

    VB Code:
    1. Private Sub Form_Load()
    2.  
    3. Dim DueDate As Date
    4.     DueDate = "6/15/2002"
    5. Dim WarningDdate As Date
    6.     WarningDdate = "6/10/2002"
    7.    
    8.         If WarningDdate < Date Then
    9.        
    10.             If DueDate < Date Then
    11.                 MsgBox "Listen cheapo time to fork over some more loot.. unless you got this awesome app hacked off morpheus or something.. in which case im gonna find u and kick ur a$$!!!...", vbCritical
    12.             Else
    13.             Dim days As Integer
    14.                 days = DueDate - Date
    15.        
    16.                 MsgBox "Your still safe for " & days & " more days", vbInformation
    17.             End If
    18.         End If
    19. End Sub
    20.  
    21.  
    22. Seahag

  3. #3

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    very funny

    Your on the right trak...
    This is for internal usage... so its got to be a little
    more tact

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    Originally posted by SeaHag
    very funny

    Your on the right trak...
    This is for internal usage... so its got to be a little
    more tact
    if it is for internal use.. then why must they pay for it??

    man i wish i could charge the users here for usin my apps

    BTW I think you captions are fine..
    maybe change
    "Outdated Pricing. Please update..."
    Outdated Pricing just doesn't sound exactly right to me..
    Maybe something like
    "Program License has expired. Please update..."

    SOMETHING like that.. probably not exactly that

  5. #5

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    this is a company catalog.

    Our distribution offices (listen to this)
    dont like to sell out ouw equipment.. ga.!
    They say looking through a bunch of binders was too clumsy..

    So i came up with a pricing catalog..

    I will look at your suggestions.
    thnks..
    (me english aint so good)

  6. #6
    Addicted Member
    Join Date
    Apr 2002
    Posts
    235
    Oh, are you just looking for grammatically correct language? You can say "The prices are outdated. Please update them immediately." and "Prices are in effect for xx more days."

  7. #7

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    thnks all...

    heres what someone suggested here.
    VB Code:
    1. Dim DueDate As Date
    2.     DueDate = "6/18/2002"
    3. Dim WarningDdate As Date
    4.     WarningDdate = "6/11/2002"
    5.    
    6.         If WarningDdate < Date Then
    7.        
    8.             If DueDate <= Date Then
    9.                 MsgBox "Pricing has expired.  Program aborting...", vbCritical
    10.                 End
    11.             Else
    12.             Dim days As Integer
    13.                 days = DueDate - Date
    14.                 MsgBox "Pricing valid for another " & days & " days", vbInformation
    15.             End If
    16.         End If


    ??

  8. #8
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    how come when the prices expire you app becomes no good?? can't you update the prices somehow so your app will always be good?

  9. #9
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Originally posted by kleinma
    how come when the prices expire you app becomes no good?? can't you update the prices somehow so your app will always be good?
    I agree. You should include an admin module that would allow someone to update the prices...either manually, or thru import of data, from say a textfile...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  10. #10

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    200+ computers.
    Our cost fluctuate.. for example.
    Galvanized steel 2 weeks ago was 45cents/lb
    now theres terrifs.. 85cents/lb.

    50000lbs .. diference is 20,000 bucks.
    WOW..
    We just want to force them to update the pricing
    regularly..

    We will issue updates every 70 days or so.

  11. #11

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901

    Re: Well

    Originally posted by James Stanich


    I agree. You should include an admin module that would allow someone to update the prices...either manually, or thru import of data, from say a textfile...
    Ya.. thats me.... heheh.
    I do the costing... (better hope i got it right)
    I am using access. I will make a updater.. to replace the database via email....
    Eekkk.. (my job is on the line.. . i said "Sure i can do it")

  12. #12
    Addicted Member
    Join Date
    Apr 2002
    Posts
    235
    I'd still suggest that when the price expires, the message says something about them needing to update the prices. Yeah, you kind of expext people to realize that, but instructing the user about what to do is important. It makes it more user friendly, IMO, anyway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width