473,508 Members | 2,008 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Duda en campo importe en euros

Hola, tengo una duda.
tengo una base de datos de facturacion, y en el formulario de facturas, al
meter el importe en euros, tengo que teclear 135,50 es decir 6 pulsaciones.

Lo que me gustaria es ahorrarme la "," y escribir 13550 y que el
automaticamente me pusiera la coma entre los dos 5.

Alguno sabe como hacerlo...

Gracias..
Nov 12 '05 #1
2 2004
Jorge,

Para que Access sepa cual es la parte entera y cual la decimal tienes
que entrar la coma.

Lo que puedes hacer (para que el Usuario lo vea bien) es dividir el
importe introducido por 100 en el evento "Al Salir" y así se verá con
la coma.

Pero, en previsión de que "algún" usuario le guste entrar la coma
tendrás que comprobar, primero, si la coma ya existe para no dividir.

Saludos.

Angel.

"Jorge Gallardo" <jo***********@eb4enn.com> wrote in message news:<c1**********@nsnmrro2-gest.nuria.telefonica-data.net>...
Hola, tengo una duda.
tengo una base de datos de facturacion, y en el formulario de facturas, al
meter el importe en euros, tengo que teclear 135,50 es decir 6 pulsaciones.

Lo que me gustaria es ahorrarme la "," y escribir 13550 y que el
automaticamente me pusiera la coma entre los dos 5.

Alguno sabe como hacerlo...

Gracias..

Nov 12 '05 #2
Muchas gracias..
Lo hare asi..
"Angel Mazo" <an********@vodafone.es> escribió en el mensaje
news:e2**************************@posting.google.c om...
Jorge,

Para que Access sepa cual es la parte entera y cual la decimal tienes
que entrar la coma.

Lo que puedes hacer (para que el Usuario lo vea bien) es dividir el
importe introducido por 100 en el evento "Al Salir" y así se verá con
la coma.

Pero, en previsión de que "algún" usuario le guste entrar la coma
tendrás que comprobar, primero, si la coma ya existe para no dividir.

Saludos.

Angel.

"Jorge Gallardo" <jo***********@eb4enn.com> wrote in message

news:<c1**********@nsnmrro2-gest.nuria.telefonica-data.net>...
Hola, tengo una duda.
tengo una base de datos de facturacion, y en el formulario de facturas, al meter el importe en euros, tengo que teclear 135,50 es decir 6 pulsaciones.
Lo que me gustaria es ahorrarme la "," y escribir 13550 y que el
automaticamente me pusiera la coma entre los dos 5.

Alguno sabe como hacerlo...

Gracias..

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1521
by: El | last post by:
with CDRoms, books, licence, ..... Where ? : south of BELGIUM elcrac@yahoo.com
1
3915
by: Davide | last post by:
Perche' non riesco ad inserire immagini opiu' grandi di 1Mb in un campo LONGBLOB? Ha forse il limite di 1Mb il campo LONGBLOB? Se si, posso modificare tale limite? Per le immagini inferiori a...
5
31872
by: Gema | last post by:
Hola a todos, Tengo un problema, no se me ocurre como solucionarlo. Utilizo SQL Server 2000. Tengo una tabla (tblRespu) en la que quiero insertar tres valores: el primero procede de una...
0
1075
by: mick.smith1964 | last post by:
I have a report which is sometimes exported into Excel using the following code: DoCmd.RunCommand acCmdOutputToExcel This works fine if the default "Currency" format is used in the text boxes,...
1
4048
by: g.magliozzi | last post by:
Ciao a tutti, dopo aver copiato dei record tramite una query di accodamento su una tabello ho la necessità di modificare un campo (che risulta vuoto) su tutti i records spostati. Come posso...
1
8196
by: Neolo | last post by:
Hola, necesito ayuda. Tengo un formulario en access 2003 y necesito hacer que al elegir en un combo la provincia me salga la lista de los municipios de esa provincia, los cuales tengo...
0
1032
by: Marta López | last post by:
50 EUROS DE REGALO PARA TI!!! http://www.laruleta.com/user/f8f5eaa2/ INGRESA A MI SITIO, REGISTRATE Y GANA 50 EUROS EN 5 MINUTOS!!! ES UNA GRAN OPORTUNIDAD, Y TU ERES DE LOS PRIMEROS EN...
1
1659
by: hicksmcb | last post by:
I've got a txtbox that returns a pounds(sterling) value for number of nights * price per night. How do i convert it from pounds to euros If txtNights.TextLength > 0 And txtPrice.TextLength > 0...
0
7227
marktang
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,...
0
7331
Oralloy
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,...
0
7391
jinu1996
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...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5633
agi2029
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,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1564
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 ...
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.