2,951 Posted Topics

Member Avatar for Charanya R
Member Avatar for aldeene
Member Avatar for jovillanuev

those are not characters but strings on data. On what basic / logic you want the output ? Is the format always same for all the records ?

Member Avatar for jovillanuev
0
115
Member Avatar for shushi
Member Avatar for coolsasuke
Member Avatar for Majestics

What is the target field type ? Why you need to convert current_timestamp using to_timestamp ? Why not use current_timestamp of systimestamp directly.

Member Avatar for debasisdas
0
152
Member Avatar for amrita111
Member Avatar for Netcode
0
92
Member Avatar for kheijhei

From your code i am not sure what are you inserting into the picture field ? Since you are using [B]Me.Picture_box1.Text[/B], i do not understand how that will store the picture in database.

Member Avatar for Netcode
0
159
Member Avatar for kheijhei
Member Avatar for shivya jain

try this. [CODE]j = Convert.ToInt32(txtstaff_id.text.ToString())[/CODE] also change [CODE]select staff_id from staff [/CODE] to [CODE]select max(staff_id) from staff[/CODE]

Member Avatar for lolafuertes
0
272
Member Avatar for kylelendo
Member Avatar for Arkrothe
Member Avatar for TIP.Synergy
Member Avatar for montjoile
Member Avatar for shivya jain
Member Avatar for khentz
Member Avatar for XEN0
0
84
Member Avatar for stephen lowry

Instead of doing that from another system and trying to synch the changes on target system. Create the changes as a script and apply the same on target system directly.

Member Avatar for debasisdas
0
157
Member Avatar for samsnov
Member Avatar for davidaldrich
Member Avatar for Ehtesham Siddiq
Member Avatar for Pravin Rajput

What exactly you want to encrypt and decrypt in the database ? Data in particular fields or the entire database ?

Member Avatar for debasisdas
0
46
Member Avatar for naveedqadri
Member Avatar for Derpâ„¢
Member Avatar for axxxpua
Member Avatar for mitchney

you need to format the dates properly before passing the same into the database.

Member Avatar for mitchney
0
128
Member Avatar for chabo
Member Avatar for king_saqib

You need to read [URL="http://support.microsoft.com/kb/158140"]this[/URL] and [URL="http://www.vb6.us/tutorials/playsound-api"]this[/URL].

Member Avatar for SpiritualMadMan
0
83
Member Avatar for WeekendWarrior
Member Avatar for jovillanuev

You need to join both the tables based on ItemNumber or Ponumber or both based on your database structure.

Member Avatar for jovillanuev
0
151
Member Avatar for hatebin

you need to use [CODE]SELECT price into product_price FROM product WHERE produc_id=777;[/CODE] and then check the value of the variable [B]product_price[/B] in a IF...END IF block.

Member Avatar for hatebin
0
716
Member Avatar for rlaknar

try the sample code [code=oracle]select * from branch minus select * from branch where rownum < (select count(*) from branch)[/code]

Member Avatar for arshadshabbir
1
5K
Member Avatar for jhoey4736

else if you want to run the program without installation (in the same system) ,you can simple compile an EXE from file menu---->Make exe.

Member Avatar for opspl_programme
0
173
Member Avatar for divyakprabh

Try this. [CODE]select EmployeeID, sum(TransactionAmount) as TotalAmount from employee where EmployeeID IN ('E123','E234') group by EmployeeID;[/CODE]

Member Avatar for arshadshabbir
0
417
Member Avatar for MarkGia
Member Avatar for MarkGia
0
496
Member Avatar for Vaikkundhnaair
Member Avatar for lolsn0r
Member Avatar for codeorder
0
183
Member Avatar for klenne

Your question has nothing to do with VB.net application. The business logic needs to be implemented entirely at database level.

Member Avatar for klenne
0
722
Member Avatar for Jake.20
Member Avatar for king_saqib

[CODE]if val(text1.text) <> "0" or val(text1.text) <> "" then c = val(text1.text) * 1 + c end if[/CODE]

Member Avatar for Deepak Shitole
0
73
Member Avatar for jigarsangoi
Member Avatar for debasisdas
0
132
Member Avatar for Roy&Carmi
Member Avatar for miss_indie

are you getting any error with the code ? check for your DB field type and the data that you are passing in the SQL.

Member Avatar for nkotbox
0
150
Member Avatar for king_saqib

The simplest thing to do is to check system date on start up. suppose you want for 30 days from today ---say 25_sep-2011. in the start up check if the date is less than the above date. if it is more display an error message. for a better and full …

Member Avatar for WaltP
0
256
Member Avatar for toydiaz

Please find more details [URL="http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html"]here[/URL] and [URL="http://www.quest.com/sql-navigator/"]here[/URL].

Member Avatar for toydiaz
0
464
Member Avatar for king_saqib
Member Avatar for LearnVB2010
Member Avatar for arvin2006

please try to use the sample code to store picture. this sample code uses ADO for database connection [code=vb] Dim CN As New ADODB.Connection Dim RS As ADODB.Recordset Dim DataFile As Integer, Fl As Long, Chunks As Integer Dim Fragment As Integer, Chunk() As Byte, i As Integer, FileName As …

Member Avatar for emond
0
3K
Member Avatar for king_saqib
Member Avatar for gdawkins
Member Avatar for gdawkins
0
128
Member Avatar for king_saqib

Another approach (using database). If using oracle as database, compile [URL="http://bytes.com/topic/oracle/insights/771381-sending-mail-using-utl_smtp"]this[/URL] procedure in database. Call the same from VB 6.0 using ADO like [URL="http://bytes.com/topic/visual-basic/insights/739076-executing-oracle-stored-procedures-type-parameter"]this[/URL]. The second link is a sample only, to show how to call a oracle stored procedure from VB 6.0..

Member Avatar for debasisdas
0
300

The End.