[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Mask for TQRDBText

Posted on 2004-10-05
9
Medium Priority
?
1,149 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
Technology Partners: 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 200 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

Technology Partners: 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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

831 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