User Profile

Collapse

Profile Sidebar

Collapse
azizrasul
azizrasul
Last Activity: Sep 27 '07, 04:23 PM
Joined: Jun 25 '07
Location: UK
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • azizrasul
    started a topic Validation Rule Problem

    Validation Rule Problem

    I'm dealing with a Hospital No. in a table which follows the format that the first character is an uppercase letter and the remaining six characters have to be numbers e.g T123456, G564398, etc.

    What would the validation rule look like in the table design view for this field to achieve this?
    See more | Go to post

  • azizrasul
    replied to Removing a Carriage Return
    It didn't work, unfortunately.
    See more | Go to post

    Leave a comment:


  • azizrasul
    replied to Removing a Carriage Return
    I will try that tomorrow. Just a point here, in that there will be a carriage return for each record. It's just the LAST carriage return that I'm trying to get rid of. I'll try your suggestion and see how it goes.
    See more | Go to post

    Leave a comment:


  • azizrasul
    replied to Removing a Carriage Return
    Tried that, but made no difference. I don't think the Len function includes the vbCrLf in it's length evaluation.
    See more | Go to post

    Leave a comment:


  • azizrasul
    started a topic Removing a Carriage Return

    Removing a Carriage Return

    I have a text file with x number of lines. When opening the file, I have an extra blank line which I presume is a carriage return,

    How do I
    1. ensure I don't have a blank line when I write to the file or
    2. get rid of the extra line afterwards

    Here's the code I've used for the data write: -

    Code:
    Private Sub Command0_Click()
    
        Dim rst As DAO.Recordset
    
        Set rst
    ...
    See more | Go to post
No activity results to display
Show More
Working...