how to get text from box in report

  • Thread starter Thread starter Brent
  • Start date Start date
B

Brent

I am writing a visual basic program that calcualtes fields based on
two fields in a report. The report needs to be opened first. how do
I pull data from a text box? I tried using var1 = [text1].text
but VB says I need to set focus to it first. [text1].setfocus isn't
allowed in reports that are open. Please help.


Brent Scrivner
 
var1 = Reports!YourReportName!YourTextBoxName

OR

var1 = me.YourTextBoxName

Regards,

ET Sherman
 
Back
Top