Home » Developer & Programmer » Forms » Data Block using query (Form Builder 10g)
Data Block using query [message #445346] |
Mon, 01 March 2010 00:52  |
khan.ashik
Messages: 11 Registered: February 2010 Location: Dhaka
|
Junior Member |
|
|
I wanna to load data in a data block using sql which using multiple table, views based on condition
|
|
|
|
|
|
|
Re: Data Block using query [message #445365 is a reply to message #445361] |
Mon, 01 March 2010 03:31   |
khan.ashik
Messages: 11 Registered: February 2010 Location: Dhaka
|
Junior Member |
|
|
i declare a global variable under when-new-form-instance.
then i set
query data source type= from clause query
data source name = [table name]
where clause = [column_name =
:[global_variable]]
then it generate compile error:
frm-30100 (Block must contain at least 1 primary key item)
frm-30085 (unable to adjust form for output)
[Updated on: Mon, 01 March 2010 03:32] Report message to a moderator
|
|
|
|
Re: Data Block using query [message #445367 is a reply to message #445365] |
Mon, 01 March 2010 04:12  |
 |
Littlefoot
Messages: 21824 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Quote:Block must contain at least 1 primary key item Set one of items as a PRIMARY KEY item.
Sample form? Sorry, I can't write a new form for you at the moment.
|
|
|
Goto Forum:
Current Time: Fri May 16 09:03:17 CDT 2025
|