Hi guys,

I am new to programming and have never written Pseudocode before and need some help please.

How would you start writing a click event, a private sub and do you end with End Sub? What command words can I include?

Does anybody have some examples to show me?

What would I write for the following?

VB Code:
  1. Private Sub Form_Load
  2.     txtdate = Date                                  'Disabling all text boxes
  3.     CboCustomerId.Enabled = False
  4.     TxtCustName.Enabled = False
  5.     TxtCustAddress.Enabled = False
  6.     TxtCustTelephone.Enabled = False
  7.     TxtCustHire.Enabled = False
  8.     CboVideoId.Enabled = False
  9.     TxtVideoTitle.Enabled = False
  10.     TxtVideoCopyNo.Enabled = False
  11.     TxtvideoStatus.Enabled = False
  12.     TxtHireDate.Enabled = False
  13.     TxtReturnDate.Enabled = False
  14.     TxtCharges.Enabled = False
  15.    
  16. End Sub

VB Code:
  1. Private Sub cmdpreviouspage_Click()
  2.     frmmanagementoptions.Show                    'Showing Management Options Form
  3.     Unload frmhiresbookingsreturns               'Close Hires Bookings Returns Form
  4. End Sub

Thanks very much for any replies!