stringvar x := {table.field};
numbervar cnt := 0;
numbervar i := 0;
stringvar y := "";
for i := 1 to len(x) do(
if not isnumeric(x) then
cnt := cnt + 1
);
if len(x) = 0 then
y := "Blank" else
if numerictext(x) then
y := "Numeric Only" else
if cnt := len(x) then
y := "Alpha Only" else
y := "Mixed Alpha and Numeric";
y
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.