0

Ho un problema nel creare un campo di testo che deve contenere i dati di testo di più campi in automatico. Faccio un esempio Ho i campi 'Ingrediente', 'Fornitore', 'data arrivo merce' e 'DDT' questi dati devono essere presenti tutti nel campo "text" che mi serve per creare un Qr code

"questo è il codice per il Qr code e funziona se io metto i dati a mano nel campo 'text', ma non riesco a generare il testo aggregato di più campi proprio nel campo 'text'

 

if Barcode then Barcode := null end;
if Type < 6 then
importFile(this, "http://www.barcodes4.me/barcode/" + text(Type) + "/" + urlEncode(Text) + ".png?width=600&height=200" + if 'Show Text' then
"&IsTextDrawn=1&TextSize=10"
end, urlEncode(Text) + ".png")
else
if Type = 7 then
importFile(this, "https://ean.loresoft.de/interface/ean-barcode?num=" + urlEncode(Text) + "&size=3&height=150&outputFormat=100&height=100", urlEncode(Text) + ".png")
else
importFile(this, "https://api.qrserver.com/v1/create-qr-code/?size=450x450&data=" + urlEncode(Text), urlEncode(Text) + ".png")
end
end;
Barcode := urlEncode(Text) + ".png"

Reply

null

Content aside

  • 3 yrs agoLast active
  • 655Views