跳至主內容

搜尋

搜尋

Accept Empty Value For Filter Textbox Using Vb Script

評論

3 條評論

  • Avatar
    Ian Cummings
    版主

    What sort of operator are you using with your query?

     

    I would recommend you update to SR4 as a matter of course: http://www.seagullscientific.com/label-software/fixes_101.aspx

    0
  • Avatar
    Legacy Poster

    Hi Ian C,

     

    Thanks for the reply.

     

    For filtering, i use query prompt in database Bartender.

     

    I'm using query as below,

     

    ($Sheet1.PartNumber = ?QueryPrompt1)

     

    This will pop up an entry form to let me enter the part number and will filter the records.

     

    If the users left it blank, it will show all the records. (Currently, an error message will definately show up when leave it blank)

     

    I think vb script can help me on it. Would need advice on it.

     

    Thanks. 

    0
  • Avatar
    Ian Cummings
    版主

    Have you tried using the "Begins with" operator, and teamed that up with the "Select at print time" record selection dialog.  This is normally a good configuration for the sort of behaviour you want.

    0

登入寫評論。