Passing a Variable Parameter 
Author Message
 Passing a Variable Parameter

I'm a new VBA user so please be patient with me.  :-)

I'm having difficulty passing a parameter in the VBA I'm
trying to write.

I've included a test sample of the code with the problem.  
I'm allowing the user to choose (from a combo box)
whatever Flag field he wants.  How would I set
the "T.Flag1" parameter in the below code as a variable so
it's read by the below statements?

Thanks!!!

Sandra

******
If DateCheck > DateValue("06/29/2002") And FieldResponse  
= "" Then
    T.SetField FieldID:=pjTaskText1, Value:="All Tasks
Chosen"
       ElseIf T.Flag1 = "True" Then
         T.SetField FieldID:=pjTaskText1, Value:="Flag 1
Chosen"
         GoTo Read_Next
  End If
******



Sun, 03 Apr 2005 04:49:47 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Passing a variable parameter to a function

2. Global Variable passed to Parameter

3. Passing a variable as the parameter for a query

4. Passing a variable type parameter to an .asp file

5. Passing variables/parameters between forms - newbie question

6. Passing variable value as parameter

7. Passing a variable from VB.NET to a Crystal report parameter or formula with no prompt

8. Passing parameter field variable to report

9. Passing variables to query parameters

10. passing parameter to a parameter query

11. Passing Parameters to stored parameter queries using VB 5's Data Controls

12. passing optional parameters to the parameters collection

 

 
Powered by phpBB® Forum Software