Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: writing ServerVariables remote info to access 2000 db from form


Message #1 by "Bill Sisemore" <bsisemore@m...> on Tue, 15 Aug 2000 20:49:5
I am writing an asp app that uses a form and gathers both remote user info 

via the ServerVariables string and accepts user input into the form fields 

I specify in the form.  What I have been unable to do is to use the (for 

example) "strFieldName = cStr(Request.Form("fieldname") = FieldName" 

statement to write any info used to gather the remote info collected via 

the ServerVariables command string.  For instance, REMOTE_ADDR or 

LOGON_USER info.  It will display this info when using the <%= 

"FieldName"%> command inside an HTML wrapper, but it will not write it to 

the Access 2000 Database.  All other fields (the user inputs into form 

fields I created) write to the Access 2000 db perfectly.



Any suggestions?

Message #2 by "Ken Schaefer" <ken@a...> on Wed, 16 Aug 2000 18:36:51 +1000
> "strFieldName = cStr(Request.Form("fieldname") = FieldName" 



How about posting some actual code...?



The line above will never work (AFAIK)



Cheers

Ken




  Return to Index