PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WD8] Barcode Control
[WD8] Barcode Control
Débuté par Peter Holemans, 29 juin 2004 12:16 - 1 réponse
Posté le 29 juin 2004 - 12:16
Hi,
I have two fields in a table for maintaining the barcode for an item.
One is Barcode and the other is BarcodeType that stores the type of barcode used in the Barcode field. E.g. BC_EAN13, BC_UPC-A, ...
Now, is there a way to dynamically change the type of barcode of a barcode control on a window or report based on the stored BarcodeType value ? I've looked at the attributes of the barcode control (..type, ..etc) but couldn,'t find any. Am I overlooking something?
Regards,
Peter

http://members.chello.be/cr45693
Posté le 29 juin 2004 - 12:53
Hi Peter,
Normaly when you build a system using barcodes you make a choice of the kind of barcode your system go to use and you don't change it. Why ? because
for ex going from ean-39 to ean-13 or ean-8 is not possible except if you only use numbers and the max barcode length is less or equal to 8 in this case.
So my advice to you is,(if it possible) don't give this possibility to the user because the problems that can be created are more than the advantages.
Regs Henri