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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 & CR10

Status
Not open for further replies.

markphsd

Programmer
Jun 24, 2002
758
US
How do I set the text of an unbound formula field with VB6 and CR10?

I have tried various methods, done lots of searches. I would post them, but I'll wait for an easy response if it's there first.

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
Can't help unless you post the formula. Also what kind of database are you accessing?

-lw
 
The field "CompanyHeader" is in the report header section. The code is is in the ReportHeader section.

Me.FormulaFields.GetItemByName("CompanyHeader").Text = "'MyCompany'"

I get an invalid name error.

This isn't using any dataabase at the moment. I actually had no problem generating records in the report.

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top