Doug,
Agree with Myron to use Customzer if you can. Changing grid column names however is more troublesome. So you have to do 1 of these 2 things I believe. I prefer the latter because it's safer.
1) Change Sy_GridDefinition then reset to remove personalized grid records to inherit changes.
I haven't done it this way in a while so going from memory meaning actual steps may vary!
a) Backup Sy_GridDefinition.m4t
b) DFDM Sy_GridDefinition.m4t
c) Find Level Z record for PO_PURCHASEORDER / GD_LINES. Keep moving to next record until you see IOLVar$ = RequiredDate
d) Change the ColDec$ to Est Delvy Date
e) Back into P/O Entry do Reset All Grids, close screen
f) Back into P/O Entry. Should see new column name but UDF columns nay need to be added back
g) Repeat last 2 steps for each user (I think!)
2) With Customizer, create a UI script and attach it to Panel PostLoad of both PLines and PLinesW
Something like this:
Note:* Change COLUMNDESC= to whatever you want
* Required Date doesn't show up if on a Master or Repeating Order (obviously)
* I assumed Required Date is on primary grid. If secondary, change GD_Lines below to GD_ADDL
curAttribs = ""oUIObj.SetControlProperty "GD_Lines", "Row", "0"oUIObj.SetControlProperty "GD_Lines", "Column$", "RequiredDate$"oUIObj.GetControlProperty "GD_Lines", "Column", nCurColFormMapId= "" : ctlName = ""GridCtl = oUIObj.GetControlID("GD_Lines$", FormMapId, ctlName)r=oUIObj.GetColumnAttributes(GridCtl, CInt(nCurCol), curAttribs)NewAttribs = Mid(curAttribs,1,InStr(curAttribs,"COLUMNDESC")-1) & _ "COLUMNDESC=Est Delvy Date" & _ Mid(curAttribs,InStr(curAttribs,";COLUMNWIDTH"))r=oUIObj.SetColumnAttributes(GridCtl, CInt(nCurCol), newAttribs)------------------------------
Alnoor Cassim
Free Agent Developer and Consultant
CallForHelp.biz
Email:
alnoor@callforhelp.bizOrange County, CA
------------------------------