C
CJ
Hi Groupies
I am in wwwaaaaayyyyyy over my head on this one.
I have adopted a database that has extensive VB code. I need to set up a
Public or Global Variable, I am not sure which I need and I do not
understand what my reference book (or the internet) is telling me.
I would like to be able to use the word GST in a number of calculations in
the code and to have the correct GST value selected based on the following
IF statement:
If [frmContracts].[Form]![txtExempt] = "No" And
[subprogress].[Form]![ToDate] >= #7/1/2006# Then
GST = 1.06
Else
GST = 1.07
End If
There are a number of Global variables and Public functions listed in a
module called Functions, I think this is where my GST needs to go....... I
guess I do not know what or how to declare the correct things.......and I'm
tired or errors.
Many, many thanks for help on this one.
CJ
I am in wwwaaaaayyyyyy over my head on this one.
I have adopted a database that has extensive VB code. I need to set up a
Public or Global Variable, I am not sure which I need and I do not
understand what my reference book (or the internet) is telling me.
I would like to be able to use the word GST in a number of calculations in
the code and to have the correct GST value selected based on the following
IF statement:
If [frmContracts].[Form]![txtExempt] = "No" And
[subprogress].[Form]![ToDate] >= #7/1/2006# Then
GST = 1.06
Else
GST = 1.07
End If
There are a number of Global variables and Public functions listed in a
module called Functions, I think this is where my GST needs to go....... I
guess I do not know what or how to declare the correct things.......and I'm
tired or errors.
Many, many thanks for help on this one.
CJ