A difficult problem to solve: Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiDB/html/delphi_20061215131443292.html
The two tables are connected with query1, query2 performance1, and performance2 dateset1 and dataset2 respectively. The datasourece attribute of query1 is written as performance.
Why?
After I modify the table structure, I cannot find the added field in the grid. Is this caused?
I have used Program I wrote information to the added field. Now I only need to display it in grid,
The connectstring of the query is dynamic.
Please give me more comments ~~ Urgent ~~
To refresh
> After modifying the table structure, the added fields cannot be found in the grid.
Very New beginner
It is useless for others to tell you how to do this. Now you have to do more hands-on experiments, experiment with different effects, and then analyze these effects.CodeAnd then deduce the effect based on the code.
On the top floor ~~~~~~~~
Thank you for your comments ~~
I will try again,
There may be a lot that you can't understand yet. Work hard ~~
The datasourece attribute of query1 is written as performance2.
------------------------------------------
Is this unnecessary?
It is best to connect directly with an adoconnction
Just take two steps.
Adoquery. Connection: = adoconnction
Datasource. Dataset: = adoquery
This completes the connection. If you want to query the connection, you can directly operate it in the SQL statement of adoquery.
this question has been posted for a long time, but no one gives me a proper answer.
I don't know if I didn't make it clear, it seems difficult to close the post
xiezhenghai ()
Thank You For Your careful guidance. I understand what you said. But now I am asking a question. If anyone is interested in answering my questions, you can try it as I said.
wudi_1982 (I have been idle for half a year, make some money for the New Year !)
I have tried it myself. It seems that I cannot fully understand it. I want to discuss it with you.
thank you for choosing upstairs ~