Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Fired with '_' character of join string... (6.0)

    I have this first line it work correct:
    objConn.Execute "CREATE TABLE Employees(EmployeeNo VARCHAR(6) NOT NULL,DateHired DATETIME NULL,FirstName VARCHAR(20) NULL,MI CHAR(1) NULL,LastName VARCHAR(20) NOT NULL,)"

    Now inested to use a very big long line of code how to use the "_" to write this code to make it visible withouit use the cursor to scrollbar in my vb editor, i am very very fired with this edit, peraphs i can associate the character "&" and "_", help :

    objConn.Execute "CREATE TABLE Employees("
    EmployeeNo CHAR(6) NOT NULL,
    DateHired DATETIME NULL,
    FirstName VARCHAR(20) NULL,
    MI CHAR(1) NULL,
    LastName VARCHAR(20) NOT NULL,
    Address VARCHAR(40) NULL,
    City VARCHAR(32) NULL,
    State CHAR(2) NULL,
    ZIPCode VARCHAR(12) NULL,
    Country VARCHAR(30) NULL,
    Salary MONEY NULL,
    HomePhone VARCHAR(16) NULL,
    EmailAddress VARCHAR(40) NULL,
    MaritalStatus BIT NULL)"

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Fired with '_' character of join string... (6.0)

    Like this:
    <code>
    objConn.Execute "CREATE TABLE Employees(" & _
    "EmployeeNo CHAR(6) NOT NULL, " & _
    ...
    ...
    "EmailAddress VARCHAR(40) NULL, " & _
    "MaritalStatus BIT NULL)"</code>

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Fired with '_' character of join string... (6.

    SURE I LIKE! <img src=/S/artist.gif border=0 alt=artist width=34 height=29>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •