| |

VerySource

 Forgot password?
 Register
Search
View: 817|Reply: 2

Why can't I find the content?

[Copy link]

1

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-13 19:00:01
| Show all posts |Read mode
Use adoconnection and adoquery to query things in access. The query is based on the date in a datatimepicker. It can be found on my computer.
Click Release in subject-> Options-> Compiler,
Remove the Builder with runtime packages option in subject-> Options-> Packages
Remove the Use dynamic RTL option in subject-> Options-> Linker
Then, Build
Moving the .exe program to a student's computer in the same dormitory can also complete the query and addition, but it will not be worse as soon as it is moved to the computer in the next dormitory, but the database has the corresponding added data after the addition. It just can't be displayed.
 The general meaning of the program is: you can add some content, fill in the content, add it to the database, and then immediately display it in the DBGrid below.
The query is: select * from [table] where dater like datetimepicker-> date-> datestring
But it doesn't show up on other dormitory computers. Please help. Thank you.
Reply

Use magic Report

0

Threads

13

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-1-20 01:36:02
| Show all posts
Better to put datetimepicker-> date-> datestring
Change to
datetimepicker-> date-> FormatString ("yyyy-mm-dd"); fixed display method of the year, month and day, because different computer regional settings may cause different DateString
Reply

Use magic Report

0

Threads

27

Posts

24.00

Credits

Newbie

Rank: 1

Credits
24.00

 China

Post time: 2020-1-23 17:36:01
| Show all posts
See if access is not the same on each machine
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list