Generar Codigo Por Letras Segun Criterio
De antemano muchas por cualquier ayuda...
Necesito generar un CODIGO a partir de los 2 ó 3 primeros caracteres de un producto, como por ejemplo: COCA COLA/LIGHT /BOTELLA/PLASTICA / Lts / 2.5 = COCLIBOTPLALT2.5 COCA COLA/NORMAL/BOTELLA/VIDRIO / Lts / 1.0 = COCNORBOVIDLT1.0 FANTA / NORMAL/LATA / LATA / Cc / 350 = FANNOLATLATCC350 por mas que doy vueltas no encuentro como hacer que el programa, al ingresar los criterios genere ese codigo automaticamente.... se entiende??? ante cualquier pregunta adicional estare atento, muchas gracias de antemano PD: Utilizo DELPHI 2010, ZEOS, MYSQL |
A la rapida escribi este codigo, prueba y me cuentas...
Saludos cordiales |
Fijate si te sirve algo asi.
|
Hola.
Un modo que se me ocurre es:
Llamada:
Saludos. |
Hoooooo!!! Se pasaron!!! mil gracias, lo reviso y les cuento como me fue!!! mil gracias nuevamente por la ayuda!!!
|
GRACIAS A TODOS..... ECFISA!!! es justamente lo que necesitava, quedo increible gracias!!!
|
La franja horaria es GMT +2. Ahora son las 17:08:37. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi