PLEASE NOTE: This Tech Tip applies to 4D Web 2.0 Pack version 1.0
When utilizing the 4D Ajax Framework and Developer Defined Windows, you may at times want to obtain the currently selected record from a Portlet. You can do this with a few simple DDW calls and then a check to make sure there is a record in place. Your code could be similar to the following:
If (SIZE OF ARRAY($Recordnumber_al)>0)
If (RECORDS IN SELECTION($TablePointer_p->)>0)
` you have a record to work with!