View Full Version: Drill-around From Line Function Code

LawsonTalk > Coding, Program Errors and Bugs > Drill-around From Line Function Code


Title: Drill-around From Line Function Code


Keith_G_Thompson - March 28, 2007 09:59 PM (GMT)
I have written a new drill around allowing me to create comments and URL's for records in a custom table. This works fine on my "entry" screen where the user can put their cursor directly on the field and then drill (or hit the attach button).

Is there a way to make this drill available on a detail area where they key field in question is not clickable? (i.e. it is display only). I seem to remember seeing some sort of program where you can drill from the line function code, but I can't seem to find an example.

I'm looking for documentation or a sample screen to look at. If you have an example program in the HR/PR suite, that'd be great since that's all we have installed here.

Thanks in advance,

Keith

KarenPloof - March 28, 2007 11:31 PM (GMT)
I can't find a form that has an FC field with no other input fields, but PR50.1 and BN51 have drill-around on the SC column.

Hope that helps

Keith_G_Thompson - April 2, 2007 05:49 PM (GMT)
Excellent! That's exactly what I was looking for. When I figure this out I'll post the solution. Thanks.

Keith_G_Thompson - April 2, 2007 06:01 PM (GMT)
Ok, so far pretty easy. To get this to work you need to do two things:

1) Add the Key Numbers to the fields per usual
2) Add the linke $LINEKN to the top of the screen definition (in the same section as the $FCPAIRS, $DATAFCS, etc section). Use the same key number as the one that otherwise enables the drill.

Now I can VIEW my attachments via drilling, but I can not ADD new attachments. The Attachment key does not activate. Thoughts?



Hosted for free by InvisionFree