After I compile this, I get the error - C:\JavaPrograms\Face.java:8: illegal escape character
System.out.println(" | \- |");
^
public class Face
{
public static void main(String[] args)
{
System.out.println("//////")...
I am trying to upload a file from excel into a SQL 2000 database. The users will save the form into .csv format then upload the file. What is the easiest way to go about doing this ? If possible I would like to avoid using third party upload utilities. I am looking to construct this myself...
I have the combo box populated with the last names of the customers in the database. How do I get the text boxes on the form to fill with the customer data from the database when the lastname in selected in the combobox.
I have a table called Customer, with an attribute called CustomerLastName. How do I populate the combo box with the last names from the database into the combo box.
Here is the full code. Can you explain what needs to be fixed in real plain english. Thanks Very much!! I am sorry I am really a beginner and everything I have right now is becuase of books and really helpful people like you people on this board...
Dim adoRecordset As Recordset
Private Sub cmdAdd_Click()
On Error GoTo ErrLabel
adoRecordset.Update
txtCustomerLastName.Text = ""
txtCustomerFirstName.Text = ""
Exit Sub
ErrLabel:
MsgBox Err.Description, vbInformation
End Sub
Private...
I am trying to add this record to the database and get this error. Object Variable or With Block Variable not set.
Private Sub cmdAdd_Click()
On Error GoTo ErrLabel
adoRecordset.AddNew
txtCustomerLastName.Text = ""
txtCustomerFirstName.Text = ""...
I am still getting one more error. At the (adoRecordset.OpenRecordset) vb is telling me that method or data member not found. How can I fix this.
Private Sub Form_Load()
Dim Treespraying As ADODB.Connection
Dim adoRecordset As ADODB.Recordset
Set Treespraying = New...
I input the code that omega36 gave me but I am still getting one more error. At the adoRecordset.OpenRecordset vb is telling me that method or data member not found. How can I fix this.
when I try and connect to this database I get the same error everytime. Invalid use of a New Key Word for the "New Connection" How can I correct this?
Private Sub Form_Load()
Dim Treespraying As Connection
Set Treespraying = New Connection
Treespraying.Open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.