No problem!
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
------------------------------
Original Message:
Sent: 10-29-2025 11:00
From: Daryl Judd
Subject: Limiting text field to numbers
Thank you Simon, that does the trick!
------------------------------
Daryl Judd
Sbgtv
Original Message:
Sent: 10-29-2025 05:56
From: Simon Redmile
Subject: Limiting text field to numbers
Dim cleanVal As String
Dim i As Integer
Dim ch As String
cleanVal = ""
For i = 1 To Len(text)
ch = Mid(text, i, 1)
If ch >= "0" And ch <= "9" Then
cleanVal = cleanVal & ch
End If
Next
text = cleanVal
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 08-29-2025 10:55
From: Daryl Judd
Subject: Limiting text field to numbers
In Xpression, is there a way to limit a text field to only accept numbers? I know it can be done with a script, but we were thinking there was a setting somewhere that does that.
------------------------------
Daryl Judd
Sbgtv
------------------------------