Yes, this is possible. In the OnInit or OnOpenForm trigger, you need to fill your temporary table with the records you want displayed. Then you can use your temporary table as the sourcetable of your form. You can only use your temporary table as the sourcetable in version 5.0.
Hope this helps,
Regards,
Willy
Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.
If you are on 5.0+ then use the solution provided by KYDutchie. If you are on any earlier version, then you can do the same thing, by using a function (this can be in a report if you don't have a developers license) and populate the Temp Table. Then do a RUNMODAL with MyTempTable as the parameter for the record.
Before I ever get any developer to start coding, I do an ROI analysis to see if it makes sense to even do. That does nto mean looking just at cost of license, it means increased productivity, developement time, upgrade time, training support etc. You can never just look at one part of the picture and make the decision.
Comments
--- edit ---
Or are you referring to what Navision calls a generic form with a table control?
Hope this helps,
Regards,
Willy
Set the SourceTable to the actual table and do the following:
Form - OnFindRecord(Which : Text[1024]) : Boolean Form - OnNextRecord(Steps : Integer) : Integer Form - OnInsertRecord(BelowxRec : Boolean) : Boolean Form - OnModifyRecord() : Boolean Form - OnDeleteRecord() : Boolean
gTemp in this example is your declared variable of your Temporary Table
It has worked perfectly!! Thanks alot you've been of great help.
No need to write any code in the form.
Dave's solution costs more money!
both solutions cost the same ;-)
granule Form Designer (7120) = 2000 C/Shells (~400USD), Report Designer (7110) = 2000 C/Shells. One Report / One Form ~ 20 USD. Application Builder Granule (7200) cost ~ 4000 USD
whippersnapper mode off
And for a newbie, David's solution is the easiest.
The xyper solution is like in form 634
How do you figure that?
Boss tells me what object ID's to use, and I type the code.
Still learning. I was only joking around Dave O:)
From what I gather it's a polite way of saying "poop".
Interestingly, a client of mine is having some problems, which was leading me to write a blog about this, and then this post from Girish Did anyone do a real ROI analysis after implementing? and now this.
Before I ever get any developer to start coding, I do an ROI analysis to see if it makes sense to even do. That does nto mean looking just at cost of license, it means increased productivity, developement time, upgrade time, training support etc. You can never just look at one part of the picture and make the decision.
Aha you mean houbelec; a better translation would be "nonsense".
No offense taken by the way.