Re: Form Builder _ Using checkboxes to insert multiple records into database

From: Surfnet <jb_at_icuva.nl>
Date: Thu, 22 Aug 2002 21:35:40 +0200
Message-ID: <ak3eue$13l$1_at_news.surfnet.nl>


"Tamer" wrote
> (Or, maybe I think totally wrong, if so, what do I have to do to do
> this at design time?)

You can create the checkbox in your block at the appropriate position. Set the property 'Database item' to 'No'. Then have a look at the property 'Number of items displayed'. This is what's in the online help about it: 'Zero indicates that the item should display the number of instances specified by the Number of Records Displayed block property'. So set it to zero and you'll have as many checkboxes as records. Then continue with the suggestions from Hilary Band's posting: use post query to set the value.
You loop through the block with FIRST_RECORD and keep going to the next with NEXT_RECORD until :system.last_record = 'TRUE'.

Regards, Joost

Joost Bataille
University of Amsterdam ICT centre Received on Thu Aug 22 2002 - 21:35:40 CEST

Original text of this message