Home » Developer & Programmer » Forms » Populate record in Data Block (Forms 6i)
Populate record in Data Block [message #465514] Wed, 14 July 2010 08:23 Go to next message
allianz2010
Messages: 101
Registered: October 2009
Location: Pakistan
Senior Member

Hi.. Gurus...

i m facing a problem..
First my Requirements
1. i want to create form for student's attendance.
2. for this purpose i create a form . and create 2 Data Blocks
1. Non Database Data Block (layout type: form)
2. Database Data Block (layout type: Tabular)
3. in Non Database Data Block i add 3 Items.. on the basis of i get the records from database and show them into my into my 2nd Data Block...

sorry for my English and my asking Style... i know thats not a professional style.... in which i asking....

4. my problem is this that how can i get records from database and show them into my forms and then save thats records into my table by using Database Datablock...

i also attached my form picture..
Re: Populate record in Data Block [message #465533 is a reply to message #465514] Wed, 14 July 2010 10:25 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
By using set_block_property(<block_name, default_where,...)
and execute_query.
Re: Populate record in Data Block [message #465628 is a reply to message #465533] Thu, 15 July 2010 00:56 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You could also use the default 'master/detail' wizard between your control block and data block.

David
Previous Topic: Oracle Translation Builder - Help !!!!!
Next Topic: get client ip address when initializing forms
Goto Forum:
  


Current Time: Fri Sep 20 06:55:23 CDT 2024