I'm having a tough time getting through this... any one?
I have a chart on a form where each time I open the form, the chart is based on a different table. I am looking to change the Y axis range based on the following. The query
won't run even though the message bar has the correct name of the table?
method open(var eventInfo Event)
var
tc TCursor
stTableName String
mm string
qu1 query
endVar
mm = active.tableName
stTableName = ("'" + mm + "'")
message(stTableName)
sleep(3000)
tc.open(stTableName)
qu1 = query
stTableName | ddrun |
| _join1, Calc min |
| _join1, calc max |
endQuery
qu1.executeQBE("t2mp.db")
I have a chart on a form where each time I open the form, the chart is based on a different table. I am looking to change the Y axis range based on the following. The query
won't run even though the message bar has the correct name of the table?
method open(var eventInfo Event)
var
tc TCursor
stTableName String
mm string
qu1 query
endVar
mm = active.tableName
stTableName = ("'" + mm + "'")
message(stTableName)
sleep(3000)
tc.open(stTableName)
qu1 = query
stTableName | ddrun |
| _join1, Calc min |
| _join1, calc max |
endQuery
qu1.executeQBE("t2mp.db")