Hello everybody, my self is Imtiyaz, i made a small
database programm for challan in MS Access, but i am facing
one problem in it...
if u have seen any challan, it has few boxes like, crore,
lacks, thousands, hundred, ten.....and when you put a
figure like 20536, at that time in that boxis TWENTY will
wrote in "thousand" box FIVE will be in "hundred" box and
THIREE will be in "ten" box......
so, in sort i need to know that how can i do module for
this that it appears automatically in perticular
boxs...thanks

Answer Posted / darsh

Hi Imtiyaz,
use divison to devide the number by 10,100 the quotent will
give you the number for the box so for 20536 divide by
10000 you get 2 for 10000 , then when divide 0536 by 1000
will give 0 for 1000, 536 by 100 will give 5 for 100 and so
on..
you need to use the length to deside where to start
deviding otherwise 0 in the bozes of lacks and crosre even
if the number is in thousands.

Hope this helps.

Enjoy
DG

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What objects are present in the table msysobjects of microsoft access database?

468


What is the difference between form and report in ms access?

517


What is the difference between access and excel?

412


Is ms access hard to learn?

397


How do you change data in access?

430






Is microsoft access important?

497


Is ms access still used?

461


How do I use excel as a access database?

429


Is microsoft access used anymore?

429


The long and short date option in ms access does not show 4 digit years. How would you achieve the mm/dd/yyyy format?

432


Is microsoft access part of office?

448


What is the difference between microsoft access and excel?

403


What is msaccess exe?

438


Would you like to easily automate your MS Access database through menu driven selections?

475


Explain about creating a report tool by using the report tool and report wizard?

521