User Tag List

Results 1 to 2 of 2

Thread: Message to Edit Object

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Message to Edit Object

    I'm using an ODBC object and an Edit Object (text box). What's the correct syntax to put the result of an SQL search column into a specific text box. For example, after getting a row of data from "SELECT * FROM ORDERS"", I need to put the $ in column 2 (Field 2) of the result into the text box named "CustName". Can someone PLEASE walk through that? Thanks,
    Warren Shore

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Message to Edit Object

    I believe the ODBC sends a null record at the end of datatransmission.
    You need to pump the results to a list box then move the data from the list box to an edit box.

    If you modify the example on CD#2 you can see the issue
    Add an edit box on someplace on the screen and set the text to ColText$( "ODBC", 2) -- In the event line "Can get data" in the Display all group.

    When you run the query you will see your list box gets data but when the query is over its a NULL -- Since its set to the last data row.

    So to work around it you would need to do what I suggested above.

Similar Threads

  1. Popup Message Object
    By HyperspazzMan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th June 2010, 02:42 AM
  2. Extracting a line from Rich Edit Object or Edit Ob
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th March 2008, 05:16 PM
  3. [Request] Message Object
    By Gerblegod7 in forum Extension Development
    Replies: 6
    Last Post: 10th February 2007, 07:08 PM
  4. [HELP] "Windows Message Object"
    By Douglas-x2 in forum Extension Development
    Replies: 1
    Last Post: 3rd November 2006, 04:25 PM
  5. The Windows Message Object Pro 1.04
    By Jeff in forum Released Extensions
    Replies: 1
    Last Post: 22nd September 2006, 12:34 AM

Posting Permissions

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