David44Coder
Member
- Local time
- Tomorrow, 01:39
- Joined
- May 20, 2022
- Messages
- 137
I wonder if this is possible?
There is no .Hide but perhaps called something else?
Other that that I found
Set fld = dbs.TableDefs!Products.Fields!ProductID
fld.Properties("ColumnHidden") = True
But not sure how to use that in my With-End With block.
Code:
DoCmd.OpenForm "frmMain", acFormDS, , WhereClause
With Forms![frmMain]
.OrderBy = "[MyID], [iCost]"
.Hide [A Column called iTemp] <<<<<<<<<<<<<<<<
.OrderByOn = True
.ShortcutMenu = False
End With
There is no .Hide but perhaps called something else?
Other that that I found
Set fld = dbs.TableDefs!Products.Fields!ProductID
fld.Properties("ColumnHidden") = True
But not sure how to use that in my With-End With block.