Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1519
NumField Values
07/03/2007 @ 00:20 by Bob Maske
How do I assign a value from a numfield to a variable?
Thanks,
Bob
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Answer n° 1 -------- 07/03/2007 @ 12:00 by aldweb
visitor
Hello Bob,
Use the FIELD$() function to retrieve the value stored in a NumField or a TextField. Then, use the VAL() function to convert the returned value to a number.
So, you will do something like that:
A$=FIELD$(#1) A=VAL(A$)
Cheers, aldweb
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Answer n° 2 -------- 07/03/2007 @ 17:16 by Bob Maske
visitor
Thanks for the info. I'm sure that I'll have plenty of questions, so I hope that I don't over stay my welcome.
Thanks,
Bob
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky