Data entry form pre-filled at the start of the print job
Dear Sir or Madam,
currently we use the Bartender software package with the Bartender Designer 2019 R9 / version 11.1 and the license: Edition Enterprise. In the designer, different labels were created, among others, with data entry forms, in which the data can be entered by keyboard input or by scanner with database connection.
Currently the following problem exists:
An employee selects the appropriate label in the Print Station, searches for the suitable data record from the database (predefined fields are automatically filled in by the data from the database), makes further entries in the data input form via keyboard input and then prints out the label. However, the next time a print job is started, either by a new employee or another label, a data record is already preselected here. This can lead to considerable problems in a stress situation. Here, the data entry form should have empty fields in advance and only be filled in by the operator.
As a countermeasure, we tried various actions such as delete form data or reset form data and inserted them at the different events, unfortunately without success. Also, a delete button was inserted in the data entry form to delete the preset records - but here, after pressing the button and selecting the record, the defined fields are no longer filled in automatically.
Is there a Visual Basic script or other solution for this to fix the problem with the pre-filled data entry form?
Thank you very much in advance.
Best regards
Harald Reinl
-
Hello Harald,
Thank you for reaching out to us with your concern. We understand the importance of having a smooth and efficient printing process, especially in high-pressure situations. We apologize for any inconvenience caused by the preselected data records in the data entry form of Bartender Designer.
To address this issue, we recommend implementing a Visual Basic script that can help you achieve the desired functionality of having empty fields in advance, to be filled in by the operator when starting a new print job. With the right script, you can ensure that the data entry form is reset and ready for manual input each time.Here's an example of how you can achieve this using Visual Basic script:
Sub Document_Open()
' This script runs when the document is opened
' It resets the data entry form to have empty fields' Specify the names of the fields in your data entry form
' Replace "Field1", "Field2", etc., with the actual field names
Document.Variables("Field1").Value = ""
Document.Variables("Field2").Value = ""
' Repeat the above line for each field in your form
End Sub
You can add this script to your Bartender Designer document by following these steps:- Open your label design in Bartender Designer.
- Go to "File" > "BarTender Document Options" > "Scripting" tab and then click on "Edit":
- Click on "Procedures for all Events" and paste your code.
- Modify the script accordingly.
- Close the script editor.
By adding this Visual Basic script to your Bartender Designer document, the data entry form should be automatically reset to empty fields whenever the document is opened.
We hope this solution addresses your concerns and improves your printing workflow. If you have any further questions or require additional assistance, please don't hesitate to let us know. We're here to help!
Thank you for choosing Bartender Software, and we appreciate your feedback.
Xabier0 - Open your label design in Bartender Designer.
-
Harald Reinl
★ BarTender Hero ★
Hello Xabier,
thank you for the feedback and your help.
Everything is fine, no problem at all.
I have adjusted and tested the script, unfortunately without success.
Is there anything else that needs to be adjusted in your suggestion or would there be other possibilities for the current problem?
Many thanks in advance.
I wish you still a nice week.
Many greetings
Harald0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires