Question : How to activate the insertitemtemplate of a formview

Hi,
I am using a formview for the first time and can't figure out
how to get to enter data in it while the form is running.  The
form comes up with the itemtemplate and I can very well navigate
to different records.  But how do I begin entering data?  My
insertitemteplate has the insert and cancel buttons and everything else
but all I am seeing when the form runs is the itemtemplate.

Answer : How to activate the insertitemtemplate of a formview


Well... that script is a bit scary really... Care to give this one a try? Output may need a little work, deciphering that one is a bit of a hard task really.

A quick note on the Title, if you define a Head you must put the title there. The title lives in the head and the Title parameter has no effect is Head is used.

Chris
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
$Head = "
  <title>Exchange Dashboard</title>
  <style type='text/css'>
    body  { background-color: honeydew; }

    table { 
      border-width: 1px; 
      border-style: solid;
      border-color: black;
      border-collapse: collapse;
    }

    th    { 
      border-width: 1px; 
      padding: 0px; 
      border-style: solid; 
      border-color: black;
      background-color:lawngreen;
    }

    td    {
      border-width: 1px;
      padding: 0px;
      border-style: solid;
      border-color: black;
      background-color: palegreen
    }
  </style>"

$Computers = 'server1', 'server2'

$Computers | ForEach-Object {

  Get-WMIObject Win32_LogicalDisk -ComputerName $_ -Filter "DriveType=3" | 
    Select-Object `
      SystemName, Name,
      @{n='Free Space';e={ '{0:N}' -f ($_.FreeSpace / 1Gb) }},
      @{n='Disk Size';e={ '{0:N}' -f ($_.Size / 1Gb) }},
      @{n='Percent Free';e={ '{0:P2}' -f ($_.FreeSpace / $_.Size) }}
} | Sort-Object "Percent Free" -Descending | 
  ConvertTo-Html -Head $Head | 
  Out-File C:\Scripts\Exchangedashboard.html
Random Solutions  
 
programming4us programming4us