Click here to Skip to main content
14,271,663 members

Comments by Anamul Hoque (Top 5 by date)

Anamul Hoque 13-Dec-10 0:13am View
   
Deleted
Thanks for replay
But I have called CommitTrans and RollbackTrans correctly. My code sample is like Db_SQL.BeginTrans If Len(lblSerialNo.Caption) > 1 Then Db_SQL.Execute strSql ''excute a store-procedure for insert data into mastertable For i = 1 To dataGrid.rows - 1 Db_SQL.Execute strSql ''excute a store-procedure for insert data into detailstable Next Db_SQL.CommitTrans Else Dim adorstTemp As New ADODB.Recordset adorstTemp.CursorLocation = adUseClient adorstTemp.Open "select Slno from tblSLno",Db_SQL, adOpenStatic, adLockOptimistic, adCmdText mlngServiceSlno = CLng(adorstTemp("Slno ")) + 1 Db_SQL.Execute strSql ''Update data by StoreProcedure For i = 1 To dataGrid.rows - 1 Db_SQL.Execute strSql ''excute a store-procedure for insert data into detailstable Next If Condition true then Db_SQL.Execute strSql end if adorstTemp("Slno") = mlngServiceSlno adorstTemp.Update adorstTemp.Close Db_SQL.CommitTrans End if Have any problem this code
Anamul Hoque 1-Dec-10 6:40am View
   
Yes I am using RAW printing method.
Anamul Hoque 1-Dec-10 5:14am View
   
It does not work. Have not any changes in printing.
Anamul Hoque 1-Dec-10 5:13am View
   
Deleted
Yes I want to print text like bold. How can i do it. please help me
Anamul Hoque 1-Dec-10 4:09am View
   
Deleted
you are not correct. Because i have got a answer in google like

If you are sending raw data to the printer, then the data you send must include the commands that are required to set the font size, or condensed/normal mode, etc. You need to consult the technical reference manual for your printer and determine what the required character sequences are. For instance, to set condensed mode might require a character sequence such as Chr(15). The exact code to use depends on the make and model of the printer. but i am not understant it.