Click here to Skip to main content
15,916,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCombo box help Pin
TramHendra12-Oct-06 20:16
TramHendra12-Oct-06 20:16 
AnswerRe: Combo box help Pin
Dave Kreskowiak13-Oct-06 4:38
mveDave Kreskowiak13-Oct-06 4:38 
Questionhow to pass text value from form to data report???[urgent] Pin
campbells12-Oct-06 19:21
campbells12-Oct-06 19:21 
AnswerRe: how to pass text value from form to data report???[urgent] Pin
Dave Sexton12-Oct-06 22:23
Dave Sexton12-Oct-06 22:23 
GeneralRe: how to pass text value from form to data report???[urgent] Pin
campbells12-Oct-06 22:53
campbells12-Oct-06 22:53 
GeneralRe: how to pass text value from form to data report???[urgent] Pin
Dave Sexton13-Oct-06 0:20
Dave Sexton13-Oct-06 0:20 
GeneralRe: how to pass text value from form to data report???[urgent] Pin
campbells15-Oct-06 16:56
campbells15-Oct-06 16:56 
GeneralRe: how to pass text value from form to data report???[urgent] Pin
Dave Sexton15-Oct-06 20:53
Dave Sexton15-Oct-06 20:53 
I think you misunderstood my code snippet - modulename.variablename is supposed to represent the public variable in the module you are using to populate your data report, I put it in italics for as an example for you as I don't know what you've named the module or the variable.

The point I'm trying to make is, from what I understand, you have a module that populates the data report

Public Module basDataReport

Public strCaption As String '<--- global string variable

Function GetReportCaption()As String '<--- your method that gets report caption
''''''
''' <--- put your processing here e.g.
'strCaption = blah blah blah
'''''''
Return strCaption '<--- string variable with data
End Sub
End Module


Inside whichever method call it is that you're using to set the caption you could call MyReport.Caption = basDataReport.strCaption to get the global variable after it's already been assigned OR if you're using a function like in the example above you could call on the function by name e.g. MyReport.Caption = GetReportCaption().

See what I mean?
GeneralRe: how to pass text value from form to data report???[urgent] Pin
campbells15-Oct-06 21:29
campbells15-Oct-06 21:29 
QuestionEntering Next Character in the Text Box using VB 6 Pin
ghelai_cute12-Oct-06 16:24
ghelai_cute12-Oct-06 16:24 
AnswerRe: Entering Next Character in the Text Box using VB 6 Pin
UltraCoder12-Oct-06 17:37
UltraCoder12-Oct-06 17:37 
Questionlist box and selected value Pin
ranro200612-Oct-06 13:14
ranro200612-Oct-06 13:14 
AnswerRe: list box and selected value Pin
Christian Graus12-Oct-06 14:22
protectorChristian Graus12-Oct-06 14:22 
GeneralRe: list box and selected value Pin
ranro200612-Oct-06 15:20
ranro200612-Oct-06 15:20 
GeneralRe: list box and selected value Pin
Christian Graus12-Oct-06 15:24
protectorChristian Graus12-Oct-06 15:24 
Questiondisable image download in web broswer programmtically Pin
my_btr12-Oct-06 10:28
my_btr12-Oct-06 10:28 
AnswerRe: disable image download in web broswer programmtically Pin
Dave Kreskowiak12-Oct-06 10:37
mveDave Kreskowiak12-Oct-06 10:37 
QuestionChanging Logon/Bootskin Pin
UltraCoder12-Oct-06 9:48
UltraCoder12-Oct-06 9:48 
AnswerRe: Changing Logon/Bootskin Pin
Dave Kreskowiak12-Oct-06 10:33
mveDave Kreskowiak12-Oct-06 10:33 
GeneralRe: Changing Logon/Bootskin [modified] Pin
UltraCoder12-Oct-06 10:37
UltraCoder12-Oct-06 10:37 
GeneralRe: Changing Logon/Bootskin Pin
Dave Kreskowiak12-Oct-06 12:04
mveDave Kreskowiak12-Oct-06 12:04 
GeneralRe: Changing Logon/Bootskin Pin
UltraCoder12-Oct-06 12:16
UltraCoder12-Oct-06 12:16 
Questionget type of uninitialized object Pin
Jason18812-Oct-06 8:14
Jason18812-Oct-06 8:14 
AnswerRe: get type of uninitialized object Pin
Dave Kreskowiak12-Oct-06 10:32
mveDave Kreskowiak12-Oct-06 10:32 
GeneralRe: get type of uninitialized object Pin
Jason18813-Oct-06 3:48
Jason18813-Oct-06 3:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.