Solved

Mask for TQRDBText

Posted on 2004-10-05
9
1,127 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tidtcpserver connection lost handle 2 109
Firemonkey webbrowser scrollbars ? 1 57
enhance the following code 3 42
Delphi Seattle StructureView color 1 21
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

763 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