| |

VerySource

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

How to judge whether the field access photo in the database is empty in Delphi

[Copy link]

4

Threads

15

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-12-15 16:30:01
| Show all posts |Read mode
For example, the type of access text can be judged as follows:
if query1.fieldByName('s_name').AsString ='' then

But when using BLOB type to access photos, how to judge whether this field (s_picture) is empty?

Thank you! !
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-12-20 12:30:01
| Show all posts
query1.fieldByName('s_picture').IsNull
Reply

Use magic Report

4

Threads

15

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

 Author| Post time: 2020-12-20 12:45:01
| Show all posts
Thanks!
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