| |

VerySource

 Forgot password?
 Register
Search
View: 888|Reply: 4

A question about PB, please help

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-9 10:00:02
| Show all posts |Read mode
I want to use the C:\paratohis.dbf (.dbf type file) to get a data called zylsh field, how to write?
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-4-3 18:45:01
| Show all posts
Establish an ODBC connection, and then read the data with SQL statements
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-4-5 11:15:01
| Show all posts
Create an ODBC data source, and then use datawindow to fetch.
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-4-5 18:30:02
| Show all posts
Through the odbc and dbf files, after establishing the connection, directly use seldct zylsh from ...
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-4-8 11:00:01
| Show all posts
1. Create an external data window object with the same structure (including field order and type) as C:\paratohis.dbf.
2. Write in the Constructor event of the data window control:
   This.SetTransObject (Sqlca)
   This.ImportFile (C:\paratohis.dbf)
   After the data is imported successfully, you can freely select the value of the field.
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