Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if only numbers in field
Message
From
12/03/2010 13:33:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01454194
Message ID:
01454198
Views:
66
>hi all,
>
>we have a field in an application that the cusotmer has started using for multiple things and they wish to continue using it that way. initially they may enter some text (20 char field) like COVER COONFIRMED but later they want to enter a PO number that they must supply to their customer to get paid. this PO number if abotu 10 chars long and is comprised of just numbers. they want to ensure that i don't allow them to create an invoice without their being only numbers in this field. I was thinking about going through every character in the field to make sure it is numeric, is there an easier way of doing this?
>
>~M

Hi,
Naomi has answered the question but I have a more general one. AFAIK a purchase order number is usually supplied by the buyer and, in my experience, is just as likely to have alphabetic content as not. Is your client going to dictate the format of the P.O number?

Update: Oh - I misread. I see your client is the buyer.....
Previous
Reply
Map
View

Click here to load this message in the networking platform