Results 1 to 2 of 2

Thread: A maskedbox problem

  1. #1

    Thread Starter
    Hyperactive Member parkes's Avatar
    Join Date
    Jan 1999
    Location
    Unitied Kingdom
    Posts
    303

    Unhappy

    I'm having a problem with the MaskEdBox and I just cannot get the thing sorted. I've got it linked to a field which is set as a date field, now it all works fine till I try and put a mask to it, then I get all kinds of bound error message, anyone know how to sort this.

    It displays the data when there is no mask. The data is stored as dd/mm/yy and displayed as dd/mmm/yyyy, which works fine, but I want people to enter a date as dd/mm/yy

    Help!!!
    Thanks in advance for any help provided.

    VB 6 Enterprise Edition SP4
    ADO, SQL 7/2000, ASP and some JavaScript


    >> Life goes on, but for how long? <<
    If you can smile when things go wrong, you have someone in mind to blame

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    looks to me like you need 2 masks
    and a toggle between input and output.

    If reading the file
    mskMYMASK = "11/2222/33"
    or
    when accepting input
    myMASK = "11/22/33"


    else
    two boxes, one visible on display and not on input
    and vice versa.

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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