Results 1 to 3 of 3

Thread: กำจัด newline ออกจาก PHP กับ VB6 ก่อนส่งให้ Crystal Report 8

  1. #1
    Junior Member
    Join Date
    Sep 2007
    Posts
    21


    มีปัญหาในการส่งข้อมูลให้ Crystal Report 8 ครับ
    ข้อมูลที่ส่งไปจะส่งจาก PHP กับ VB6
    ถ้ามีการกด enter ตรงท้ายสุดของ textbox จะ error

    trim แล้ว str replace แล้ว ก็ไม่สำเร็จ
    มีใครเคยเจอปัญหานี้บ้าง มีคำแนะนำมั้ยครับ
    [url]www.komkid.co.cc[/url]

  2. #2
    Junior Member
    Join Date
    Sep 2007
    Posts
    21


    เจอวิธีแล้ว ของ PHP ต้อง 4.1.0 ขึ้นไปนี่เอง

    **Hidden Content: To see this hidden content your post count must be 2 or greater.**
    [url]www.komkid.co.cc[/url]

  3. #3
    Junior Member
    Join Date
    Sep 2007
    Posts
    21


    ของ VB ก็ได้แล้ว ใช้

    Code:
    Replace(str, vbCrLf, " ")
    แต่ต้องเปลี่ยนจากการขึ้นบรรทัดใหม่เป็น เว้นวรรค แทน
    ใครพอจะมีวิธีอื่นมั้ยครับ
    [url]www.komkid.co.cc[/url]

Similar Threads

  1. Replies: 0
    Last Post: 01-10-2008, 09:32 AM
  2. Replies: 0
    Last Post: 10-03-2008, 01:59 PM
  3. vb กะ crystal report
    By Anonymous in forum Visual Basic
    Replies: 2
    Last Post: 16-12-2006, 10:06 PM
  4. jsp กะ crystal report
    By krajeab in forum Java
    Replies: 0
    Last Post: 16-02-2005, 04:37 AM
  5. Replies: 0
    Last Post: 15-09-2004, 03:58 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

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