How to limit the characters in input field in crystal report -


i using crystal report 2008, have report , has input field called "departure_no".

in input field can type maximum of 4 departure_no (eg: 2345,234,2345,23456), if exceeds limit(more 4 numbers-can count 3 commas(,)), input field should not allow type further.

is there way achieve formula or else crystal report??

thanks in advance!!

priya

try below

use alerts show message: showing on database field

go report--> alert --> create or modify alert

when window opened provide following:

  1. required name
  2. required message
  3. condtion when alert need displayed

you can give condition

if length(databasefield)> 4   //you need 4 chars hence condition true else false 

click ok.

now message

let me know of looking different


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -