Solved

Mask for TQRDBText

Posted on 2004-10-05
9
1,121 Views
Last Modified: 2012-05-05
Hi, can someone help me on this

I use Paradox tables ----> field value: 0123456789

When I use QR --> TQRDBText --> output should be: 0123.456.789

I tried to use the mask property, but still on the printout (or preview) I get 0123456789

What am I doing wrong ?

thx
marioway
0
Comment
Question by:marioway
9 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12226677
make this field Calculated and use Format function to do it like this in OnCalcFields event ...
0
 
LVL 11

Expert Comment

by:calinutz
ID: 12226682
You probabely use a wrong mask. What type of mask did you place in the mask property? And what exactly does your number  0123.456.789 represent? Is it a phone number or what?
0
 

Author Comment

by:marioway
ID: 12227652
Hi, the number is a Belgian VAT number (in the database I put it in a field: alfanum  length 11 )
I Used the mask: '____.___.___' without the quotes.

marioway
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 12

Expert Comment

by:esoftbg
ID: 12229146
It does not work with Decimal separator, but
I did a successful examples using Mask property of the TQRDBText:

0###_0##_0##
0###`0##`0##
0###~0##~0##

I probably will work with many different separators
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 12229294
Possible separator:
·
Alt + 0183
0
 

Author Comment

by:marioway
ID: 12235853
Hello, It still does not work.

marioway
0
 
LVL 12

Accepted Solution

by:
esoftbg earned 50 total points
ID: 12236854
download a workink example from:
page:        http://www.geocities.com/esoftbg/
  link:        Q_21156392.zip
0
 

Author Comment

by:marioway
ID: 12237262
Hi, thank you very much esoftbg. It works fine this way.

Marioway
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 12237857
marioway, you are welcome !
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question