Home » U++ Library support » U++ SQL » sql + editstring
Re: sql + editstring [message #33083 is a reply to message #32347] |
Wed, 06 July 2011 10:33   |
|
spotted an error in the code!
begnur wrote on Tue, 10 May 2011 17:48 | how to pass WString from EditString to Sql and from Sql To EditString
for example (below exmaples are only for demonstration I need how to do this. and again characters are non ascii
EditString editstr
String s = editstr->GetString()
// s contains "þþþýýçç" , database contains p,q,r where p,q,r as string
Sql sql
sql * Select(p).From(databse).Where(q = s)
// clearing s string
s.Clear();
while(sql.Fetch())
s.Append(sql[p]);
editstr->SetString(s);
|
In line
sql * Select(p).From(databse).Where(q = s)
Must be
sql * Select(p).From(databse).Where(q == s)
SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
|
|
|
 |
|
sql + editstring
By: begnur on Tue, 10 May 2011 15:48
|
 |
|
Re: sql + editstring
By: Didier on Tue, 10 May 2011 20:16
|
 |
|
Re: sql + editstring
By: forlano on Wed, 06 July 2011 10:06
|
 |
|
Re: sql + editstring
By: jibe on Tue, 06 December 2011 15:10
|
 |
|
Re: sql + editstring
By: BioBytes on Tue, 06 December 2011 19:18
|
 |
|
Re: sql + editstring
|
 |
|
Re: sql + editstring
By: begnur on Mon, 26 September 2011 21:33
|
 |
|
Re: sql + editstring
By: jibe on Thu, 08 December 2011 16:21
|
 |
|
Re: sql + editstring
By: forlano on Thu, 08 December 2011 18:31
|
 |
|
Re: sql + editstring
By: begnur on Fri, 09 December 2011 13:46
|
 |
|
Re: sql + editstring
By: BioBytes on Fri, 09 December 2011 21:17
|
 |
|
Re: sql + editstring
By: jibe on Fri, 09 December 2011 23:42
|
Goto Forum:
Current Time: Thu Aug 28 23:13:42 CEST 2025
Total time taken to generate the page: 0.07400 seconds
|