Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VARTYPE in ASP
Message
From
16/09/1999 13:36:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
VARTYPE in ASP
Miscellaneous
Thread ID:
00265554
Message ID:
00265554
Views:
49
Sorry, I put tags first time.

Hello Everybody!

I am a beginner in this ASP. This question may not be related to VFP, but any help would be appreciated.

On a daily basis I make a table in foxpro. I then run a web report which uses these tables. In this report I need to have a function similar to TRANS in VFP. So I've decided to write one in VB Script. Here's the hard part, I don't know VB Script very well, maybe it is exists.

The question is how can I determine a TYPE of variable which I am passing to my function from recordset("field").value?

This is what it looks like:

[td align="right"][%=TRANS(RS("Remaining_").Value)%] [/td]

And TRANS is the function I want to write.

My Function looks like this:

Function TRANS(lcVal)
'My future code
End function

How can I determine TYPE of value or convert lcVal to Numeric like VAL() does?
XO4Y BCE 3HATb,YMETb,IMETb!
Next
Reply
Map
View

Click here to load this message in the networking platform