Connecting Tech Pros Worldwide Help | Site Map

how to update a record in oracle(sql) using frontend as visualbasic6.0

Newbie
 
Join Date: Oct 2009
Posts: 1
#1: 4 Weeks Ago
i used RDO connection to connect oracle as backend and visualbasic as frontend.
i prepared inventory system. For updating a record of item 'sales' i need a command. it should not add new record,but it has to update(modify) the old record
Newbie
 
Join Date: Oct 2009
Posts: 28
#2: 4 Weeks Ago

re: how to update a record in oracle(sql) using frontend as visualbasic6.0


Look at the update method of SQL syntax. (Found in Visual Studio 6.0 help files for Fox Pro, Access, SQL Server help files, and many places on the web)...

Expand|Select|Wrap|Line Numbers
  1. strSQL = "UPDATE tablename SET fieldname1 = newvalue1, fieldname2=newvalue2 WHERE somefield=somevalue"
  2.  


Good Luck
Reply