Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing variables in objects

Status
Not open for further replies.

Kebabmeister

Programmer
Apr 22, 2003
94
GB
I am trying to set a variable in a frame object from the datastream Fetch method. Can anybody help with the syntax as I have tried dot notation as follows and it doesnt work.

FC_sec_Rep1.Frame1.NoReport = True

Im on the point of finding a tall building to throw myself off!!
 
The frame object will be created when the container calls the Start method of the frame and it happens only when the datarow is available. When the code is executing in the Fetch method the datarow is not available.

The best place to assign will be the OnRow or the BuildFromRow method of the frame object.

I hope this helps.

-- JB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top