MFC Repository ACCESS2007 Database Question 40

Updated on technology 2024-02-09
9 answers
  1. Anonymous users2024-02-05

    For example, create a dbf database in your project directory, and then you need to do the following:1Add include to the new header file, which is used in the cdatabase class.

    2.Add import to the last endif""no_namespacerename("eof","rseof"In this case, you need to copy it to the same directory as dbf, which is the project directory, of course you can go to path 3In your own project, e.g. myproc is your project, add **cmyporcapp::

    cmyprocapp()4.Create a global variable before the previous function body to use the database} This program automatically registers the data source, of course, you can register the data source manually, it is not troublesome about how to register the data source, and the description is not very detailed, you can refer to the others. However, it is recommended that you do not need to manually register the data source, so that your program portability is not good.

  2. Anonymous users2024-02-04

    The path is wrongdatasource=; This line represents the file in the path of dsw, you put it in res, it must be wrong, you try datasource=.What about res. For the path of the current working area, it has not been used for a long time, and it should be right.

  3. Anonymous users2024-02-03

    Instead, if it doesn't work, you can refer to it again.

  4. Anonymous users2024-02-02

    It's easy to store data, and if you access the database, you can use ADO, which is very simple. You can find Xu Jingzhou's ** to see.

    The key is drawing.

    If you want to draw this drawing, let's use a simple one, moveto() lineto().Just take a look at these 2 functions.

    I'll give you another example of drawing.

    MFC control. Plotting curves based on incoming data.

  5. Anonymous users2024-02-01

    Pack it and send it to me, I'll get it for you.

  6. Anonymous users2024-01-31

    Instead, if it doesn't work, you can refer to it again.

  7. Anonymous users2024-01-30

    The string after provider is wrong, you are targeting access2003, and 07 has changed.

  8. Anonymous users2024-01-29

    In this case, the analysis may create a form where the data source is in this process, you just need to select the table to be designed or open, and your error, in which case the access will be reported. Wrong measures we recommend to look at the table is to open, close and reopen the new form can be.

  9. Anonymous users2024-01-28

    I used ado to connect it to the second floor, which is similar to what I said on the second floor.

    It's been a long time, hehe......

    I'll go back and tell you.

Related questions
12 answers2024-02-09

Executed in one data control.

alter table name alter column id counter (1, 1). >>>More

13 answers2024-02-09

Seeing this, it means that you have been able to complete an access database independently, but in the work, you also need to pay attention to these problems, which is easy to ignore. >>>More

9 answers2024-02-09

It was Stephen Hawking who mentioned the concept of the "principle of human existence" in his book, which means that the reason why we see the universe is the way it is because we exist. The principle of human existence seems to be absurd, but the truth is not ambiguous at all, the universe can become any result in the place of evolution, but the universe has evolved into what it is today, why? >>>More

13 answers2024-02-09

At present, the interest rate of large state-owned banks and national joint-stock commercial banks for deposits below 10 million yuan will not exceed the benchmark interest rate by 55%, but there are not a few small and medium-sized banks that exceed 100%. Therefore, when applying for a fixed deposit at a bank, if the funds are sufficient, the preferential choice is to choose a large-amount certificate of deposit, and the interest rate of a large-amount certificate of deposit will always be higher than the ordinary fixed interest rate. If you want to say that the safest way to save money, it should be the bank, the money in the bank is not only risk-free, but also interest-bearing. >>>More

3 answers2024-02-09

It may be an installation error.