Click here to Skip to main content
15,889,651 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone help me get some text into a rptTextBox?
My DataReport is connected to an empty Access database just to get the report working, I dont need to get any data from the database.

I have set the rptLabels like this:
DataReport1.Sections("Section1").Controls("lblStructure").Caption = "Static System"

Now I wonder if I can get some text into the rptTextBoxes in a similar way? e.g.

DataReport1.Sections("Section1").Controls("txtPanelProp").Text = "AnytText"

This one causes message: Object doesn't support this property or method

Thanks in advance!
Posted
Updated 11-Nov-10 16:17pm
v2

1 solution

What you want is Controls("txtPanelProp").Value = "AnyText".

Ensure you bookmark one of the many MS Office sites or MSDN that provide you the list of properties and methods available for Access.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900