Hi Eric,
In my VB Project I am trying the following code which gives me
an error
Dim Rs As New ADODB.Recordset
Dim Str As String
Str = "Select * From Table1; Select * From Tabel2"
With Rs
.CursorLocation = adUseClient
.LockType = adLockPessimistic
.Open
End With
At the open line it gives me an error "Charachters found after
Select Statement"
Pls. help and show me a eg.
Also Can I add a RichTextBox at runtime with the following method
Private rtfRichTxtBox As RichTextBox
Set rtfRichTxtBox=Form.Controls.Add("VB.RichTextBox","rtfRichTxtBox")
It gives me an error looking for a object I don't rember the
name of the object. So, how should I proceed in this case.
And one more thing is there any command like @ R,C Say "Hello" as
we have in FoxPro which is very useful in printing.i.e. How should
I print at the particular position a String/Value using Report
Writer in VB 6.0
Amol
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement