Hola a todos..
Vereis tengo un problemilla.
necesito transferir de una tabla unos datos a texto, hasta aqui todo bien.
Pero uno de los campos de esa tabla contine numeros, que pueden ser 1, 10,
15, 37, 120.
Bueno para exportarlo no tengo problemas, pero necesito que ese campo a
exportar contenga 3 caracteres.
Me explico, si el numero es 1, necesito que exporte 001, si el numero es 15,
necesito que exporte 015, y si es 120, pues nada.
No os baseis en estos numeros pues son aleatorios, lo que quiero es que
tenga el numero que tenga, siempre se rellenen con CEROS, hasta completar
los 3 espacios.
Alguno sabe como poder hacerlo...
Muchas gracias a todos... 0 3478 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Sergio |
last post by:
Olá pessoal
Estou com um problema num relatório, quando mando imprimir ou
visualizar um determinado relatório com um subrelatório que tem varios
campos entre os quais quant, preço, total, fazendo a soma QUANT*PREÇO
vai me dar o TOTAL.
Em subtotal tenho a expressao =Soma()mas ao puxar esse valor
para um campo no relatório se nao tiver nenhum dado no campo TOTAL
fica assim #Erro .
Como faço para sair um valor 0,00 quando não tem valor em...
|
by: StellaAzzurra |
last post by:
Salve,
premettendo che non sono un esperta di access, vi pongo il mio
problema.
Sto facendo una rubrica con access ed avrei la necessità di fare in
modo che
se ad esempio un mio clienti avesse 5 numeri di telefono dell'ufficio,
questi potessero essere visualizzati tutti su una stessa cella,
ovviamente uno alla volta,
ed avrei pensato al metodo della casella combinata e...qui nasce il
problema.
|
by: Juan |
last post by:
Hola Grupo!
Tengo el siguiente problema.
Quiero desarrollar una aplicación ASP.NET con Visual Studio.NET y resulta
que cuando quiero crear una me aparece el siguiente mensaje
****************************************************************************
****************************************************************
Visual Studio .Net ha detectado que el servidor Web está ejecutando la
versión 1.0 de ASP.NET. La aplicación Web que está...
|
by: dangia |
last post by:
Salve a tutti.
Ho uno script asp per un guestbook che funziona a meraviglia se non che
interpreta le date in formato USA.
Oggi 7 dicembre lo fa diventare 12 luglio.
Capisco molto poco di asp, penso di dover modificare a funzione.
Function ConvDate(passDate)
ConvDate = DatePart("yyyy", passDate) & "-" & DatePart("m", passDate)
& "-" & DatePart("d", passDate) & " "
ConvDate = ConvDate & DatePart("h", passDate) & ":" & DatePart("n",
|
by: teo_teo_teo |
last post by:
ciao,
in un campo "file" di un documento xml ho qualcosa del tipo
..\folder\file.pdf
ovviamente nn posso cambiare il modo in cui il folder e il file sono
visualizzti in quel tag perché il file xml é generato automaticamente
e sarebbe tropppo lungo modificarlo..
ora, devo visualizzare separatamente il file e il folder
sto provando ad usare la seguente istruzione ma senza risultati
decenti..
| |
by: Mizietto |
last post by:
Ciao a tutti, è la prima volta che scrivo su questo ng ma non riesco
ad uscire da questo problema.
Ho un'applicazione realizzata in vb.net framework 1.1 che NON
"scoppia" su Windows 2000 mentre su winXp non da alcun problema.
Premetto che in tutti i pc c'e' installato il framework 1.1
Al momento dell'esecuzione compare il messaggio:
|
by: Ale |
last post by:
Buongiorno a tutti,
mi trovo davanti a un problema, io ho un web services nel quale ho definito
una funzione che lancia un eseguibile sul server con lo scopo di prelevare
dei file da una cartella, elaborarli ed inserirne il risultato in un
database, dopo di che provvede a spostare file di origine in una cartella
storico. Il problema è questo i file non vengono spostati nella cartella di
destinazione " E:/MioApplicativo/Storico File/" ma in...
|
by: ignacionachito |
last post by:
Problema con Membership.ValidateUser al publicar el sitio en
localhost.
Cuando publico mi sitio al localhost, Membership.ValidateUser siempre
devuelve false, pero mientras lo utilizo bajo el visual studio, todo
funciona bien.
He revisado todas las configuraciones, permisos de la base de datos y
nada.
|
by: librosur08 |
last post by:
Como obtener datos del gestor de correos predeterminado y el puerto
SMTP
Tengo una aplicación que envía por correo una tabla convertida en
archivo de texto de delimitación fija y me gustaría que el programa
enviara dicho correo de manera automática. Es decir que el usuario no
intervenga para nada en el proceso, más que lo que debe hacer,
presionar un botón de comando, y el correo sea enviado en un segundo
plano (creo que así se dice)...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |