Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Posts
    15

    Unanswered: search form..where is my mistack ??

    hi all ...

    this is a simple search form consist of two blocks that are linked together through payment id ...
    i have created a button with the following trigger ...

    when-button-pressed

    SET_BLOCK_PROPERTY('Booking',DEFAULT_WHERE,'Search =:booking.bookingid');
    GO_BLOCK('booking');
    EXECUTE_QUERY;

    its not working .. and i dunno y ???

    could anyone help ... i have attached my form ...

  2. #2
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    Two blocks, you say? One of them is 'booking', and another one is ...? Let's call it 'payment'. It seems that your default_where uses the same block's ID (I guess you should use another ones). That is:

    SET_BLOCK_PROPERTY('booking', default_where, 'booking_id = :payment.payment_id');
    /* in another words: booking.booking_id = payment.payment_id */
    GO_BLOCK('booking');
    EXECUTE_QUERY;

Posting Permissions

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