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

Can data from text boxes be used to fill charts

Status
Not open for further replies.

FireViking

Programmer
Jun 29, 2001
64
0
0
AU
I have an unbound chart in a report and simply want to use data from text boxes instead of a query or table.
I cant find any code to perform this function.
Is it possible?
 
I've done some work of this kind before and the two ways I found to accomplish the task were:

Assign the values of the text boxes to text variables.

1. Have chart data supplied by a Query which has criteria using the variables in a SQL string.

2. Put the text box variables into a table using the variables or text boxes in a loop and then supply the chart data from the resulting table.

While ------
rst.edit
rst![field1] = var1
rst![field2] = var2
'
'
'
rst.update
Loop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top