Thanks Charlie,<br>
I thought it would be something like that.<br>
If I might stretch a friendship a little further; is there a 'howto' on
the Gambas DB Functions that a programmer newbie like me can follow?
I've Googled and looked on the Gambas site but I couldn't find anything.<br>
<br>
Thanks again.<br>
<br>
John<br><br><div><span class="gmail_quote">On Thu, 8 Dec 2005 11:07:32 00100, <b class="gmail_sendername">Charlie Reinl</b> <<a href="mailto:na2492@...9...">na2492@...9...</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>Hi,<br>><br>>DIM res AS Result<br>>DIM sql AS String<br>><br>>IF textbox1.Text <> "" THEN<br>>sql = "insert into table (column1) values ('" & textbox1.Text & "')"
<br>>res = conn.Exec(sql)<br>>END IF<br>><br>>will move the data from one textbox into one column.<br>><br>>How do you move data from a number of textboxes (all named tbXxxxx) into<br>>adjacent columns of the same table, please?
<br>><br>>TIA<br>><br>>John<br>><br>Salut,<br><br>"insert into table (column1,column2,..) values ('" & textbox1.Text & "','"<br>& textbox1.Text & "','" &..& "')"
<br><br>But you can use also the Gambas DB Functions, which are provided for that.<br><br>Amicalment<br>Charlie<br>* Gesendet mit / Sent by: FEN-Webmail * <a href="http://www.fen-net.de">http://www.fen-net.de</a> *<br><br>
<br>-------------------------------------------------------<br>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files<br>for problems? Stop! Download the new AJAX search engine that makes<br>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
<br><a href="http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click">http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click</a><br>_______________________________________________<br>Gambas-user mailing list
<br><a href="mailto:Gambas-user@lists.sourceforge.net">Gambas-user@...1048...sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gambas-user">https://lists.sourceforge.net/lists/listinfo/gambas-user</a>
<br></blockquote></div><br>