Saltar al contenido principal

Búsqueda

Búsqueda

Locked form field?

Comentarios

1 comentario

  • Avatar
    Peter Thane

    I dont think there is a way you can do this directly but you could rig something up to help to achieve this. 

    To make it simpler to implement (ie without the need for any VB etc) I would suggest allowing the admin to enter the number of days value rather than pick a date. This is how I set this up:

    I added onto the label (these should be dragged off the side of the printable area) two additional Named fields, one called OffsetValue and the other LoginID. The date field itself is set to offset by X number of minus days based on the value of the OffsetValue field. 

    On a Data Entry form add in an input for the users to enter a LoginID value. This should be an ID that only the admins know and should always be the same. 

    Then add a second Data Entry form that only shows when the LoginID is the correct value (I set mine to 9999) and add onto this a Input box, with a default value of zero that is linked to the OffsetValue field. 

    At print time you would see this:

    If you do not enter the correct login then the label prints, but if you do you then see this

     

    You could possibly make the login check more sophisticated and use a VB routine to check a series of IDs but you would then have to maintain this if there are any changes to be made

    0

Iniciar sesión para dejar un comentario.