Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VARTYPE in ASP
Message
De
16/09/1999 13:36:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
VARTYPE in ASP
Divers
Thread ID:
00265554
Message ID:
00265554
Vues:
48
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform