combine information from two blocks to third block [message #349807] |
Tue, 23 September 2008 03:35  |
aisha83
Messages: 9 Registered: September 2008 Location: UAE
|
Junior Member |
|
|
HI ALL ,
i am doing a small project in form 6i and im facing some problem my project is as follow :
I will have three blocks, the first block will have the arrival information, and the second block will have the departure information. The third block will have the result. the result is as follow I will choose an arrival flight from block one, and I will choose the appropriate departure flight, after the selection of two flights from different blocks the combination of those two result will be shown in the third block which is the result.
I am struggling in achieving this result. What I have to do ??
thanks in advance ..
i attach a picture of my project
-
Attachment: proj.JPG
(Size: 48.42KB, Downloaded 604 times)
|
|
|
Re: combine information from two blocks to third block [message #349834 is a reply to message #349807] |
Tue, 23 September 2008 04:35   |
rajy_salim
Messages: 204 Registered: January 2008 Location: Beirut - Lebanon
|
Senior Member |
|
|
Hi!
How is the selection done exactly?
You may write two procedures and run the first on WHEN-MOUSE-CLICK (or DOUBLECLICK or any trigger you want) of the frist datablock, and run the second in the same trigger of the second datablock.
In each of these two procedures, you go to the last record of the third block, you test if the items of this record are null or not. If they are null, then you make the concatenation you want and assign it to the appropriate item of the third block's record. If they are not null, then you create a new record by using "create_record" and you assign your values.
Make any necessary control over any of the three data blocks.
Good luck!
Rajy
|
|
|
|
|