I have code behind several forms written in earlier versions (2003 and
earlier), but are not translating into 2007.
....I recently inquired about referencing the datasource of a form (see: Re:
Access 2007 - table field references no longer valid on forms (?), 5/7/2007
10:31) (with a very useful reply...)
On, what I would assume is a related issue, i have the following lines of
code, which are
in a subroutine (GenerateDescription(Me)) called by the main form; they did
also not translate into 2007
Sub GenerateDescription(frm As Access.Form)
Select Case frm.txtLuminaireType.Value
Case Is = "downlight"
...
the line:Select Case frm.txtLuminaireType no longer works
(I am evaluating a text box: txtLuminaireType on the main form)
the calling line is: ...Call GenerateDescription(Me)
thanks in advance,
mark