Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help me in Coding
Message
From
23/02/2000 21:45:16
 
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00334584
Message ID:
00336501
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform