Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Convert String to SqlVal[SOLVED]
Convert String to SqlVal[SOLVED] [message #1927] Mon, 27 March 2006 19:47 Go to next message
Justin is currently offline  Justin
Messages: 57
Registered: March 2006
Location: Orange County California
Member
How would I convert a string to a SqlVal? The reason I ask this, is the fact that I can do this:

SqlVal name;

name = "Justin";





however, I cannot do this:

SqlVal name;

name = form.edtName; //edit string input

[Updated on: Mon, 27 March 2006 21:23]

Report message to a moderator

Re: Convert String to SqlVal [message #1928 is a reply to message #1927] Mon, 27 March 2006 21:09 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Justin wrote on Mon, 27 March 2006 12:47

How would I convert a string to a SqlVal? The reason I ask this, is the fact that I can do this:

SqlVal name;

name = "Justin";





however, I cannot do this:

SqlVal name;

name = form.edtName; //edit string input




Try

name = ~form.edtName;

Mirek
Re: Convert String to SqlVal [message #1929 is a reply to message #1928] Mon, 27 March 2006 21:23 Go to previous message
Justin is currently offline  Justin
Messages: 57
Registered: March 2006
Location: Orange County California
Member
You are awesome Mirek! Thanks
Previous Topic: SqlCtrl, TctrlLib - empty Doctypes dependancy [BUG?]
Next Topic: SQL_mySQL reference problems
Goto Forum:
  


Current Time: Fri Apr 19 04:07:33 CEST 2024

Total time taken to generate the page: 3.03099 seconds