View Single Post
  #5 (permalink)  
Old 10-03-2009, 02:04 AM
Maki25 Maki25 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 24
Default

Quote:
Originally Posted by Ariel_Z View Post
Hola Maki,
I can only reply in English.
Hope it helps.
Can you say what results you get from the query? What do you have in the table?
Could you post some source code so I can check?
Hi friend
thanx for you help
Sorry for my english i don't write correctly and speak bad very much

I would like translate to basic4ppc this aplication, now are in visual basic6. I created all forms and shows, but my problem is a sql sentences. I connect to db, with command.executetable I get into the table all information of db
, but i need get this information on the combobox or on the textbox, but i don't now.

this is the sentence on visual basic6

do

Productos.movefirst

if Productos.recordset("Type")="Drink" then
text2.text=data1.recordset("ID")
text3.text=data1.recordset("Type")
text4.text=data1.recordset("name") 'etc...
combo1.additem=data1.recorset("Price")&"€" 'for example with combobox
end if
Productos.Movenext
loop until Productos.EOF=true


result on visual basic6:
appears on text2=001
appears on text3= drink
appears on text4= Cola
Appears oc combo1(0)= 55€



regards Maki
Reply With Quote