SMART SCRIPTS FOR HIBSOFT LABEL ENTERPRISE SAMPLE TEMPLATES Some sample templates with common scripting functions – fields performaning functions can be cut and pasted to your own templates (some include a procedure that must be cut and pasted to the CUST_FUNCTIONS section of your database. Download and import the scripts via LabelEnt Designer (NB: Scripts may need modyfying to suit your requirements – consult Hibiscus PLC IT support for assistance). Some Date Functions Current date, Validated input date, Date from offset (ie. calculated expiry date) User based Address and Logo Selecting an address and logo based on the logged in user Validate No. of IOD/CLP Symbols Counts the number of symbols required by the product and displays an error if exceeds number of symbols provided on template. Container Numbering With options for start from, increment by, copies each, etc. Depot Addresses Simple Depot address example. Depot Addresses (Advanced) Advanced (configureable) Depot address example. Dynamic Address and Logo Choosiing an address and logo from a text-box when template is loaded/reloaded. Dynamic Language selection Choosing language from a text-box when template is loaded/reloaded. External Image Displaying an externally stored image on a template (fixed/dynamic). Listbox (Cus Funcs) List box based on a CUST_FUNCTIONS (centrally stored) procedure and table (deprecated – use Cus Table version). Listbox (Cus Table) List box based on a CUST_FUNCTIONS (centrally stored) procedure and CUSTAB_{name} table (useful if required on multiple templates). Listbox (Template) Template embedded list box procedure. Nested Listboxes First listbox selected calls up second related listbox. Company Main Logo Displaying a centrally stored company logo. PPE symbols. Displaying PPE symbols and captions. Printer Functions List available printers/Pre-select a named printer. tid/sid Example Reading the internal Template and/or Substance id. Validated Input (Cus Funcs). Validated input based on a CUST_FUNCTIONS (centrally stored) procedure – validates length and format (inc. mixed format ie. 2 aplha-3numeric etc.) Validated Input (Template). Template based validated input – validates length and format (inc. mixed format ie. 2 aplha-3numeric etc.). Check PH/RS Wildcards. Tests to see if any PH or RS phrases required by the substance have any uncompleted wild-cards (tests in user defined languages). Persistent Config Variable How to store a persistent variable as a config setting (ie. last value will be remembered between sessions). Update Substance Data Item Updating a substance data field from a template (ie. to store last Batch No. for substance etc). LQ Diamond Adding an LQ diamond to your template (example to cut and paste). Incremental Barcode Configurable script to produce incrementally numbered barcodes. English PRODUCTS INFORMATION ABOUT US BLOG CONTACT SUPPORT BUY LABELS NOW