| |

VerySource

 Forgot password?
 Register
Search
View: 834|Reply: 6

How do I assign a null value to a database item?

[Copy link]

2

Threads

4

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-3 17:30:01
| Show all posts |Read mode
How do I assign a null value to a database item?
Reply

Use magic Report

0

Threads

53

Posts

29.00

Credits

Newbie

Rank: 1

Credits
29.00

 China

Post time: 2020-1-3 22:21:01
| Show all posts
Direct assignment, I tried using fields [2] .value: = null;
Reply

Use magic Report

0

Threads

40

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 China

Post time: 2020-1-3 23:42:01
| Show all posts
table1.Edit;
table1.FieldByName ('Name'). Clear;
table1.Post;
Reply

Use magic Report

0

Threads

13

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-2-8 09:00:02
| Show all posts
update table1 set field 1 = null where id = 1
Reply

Use magic Report

0

Threads

5

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-10 19:00:01
| Show all posts
yourapyis right
Reply

Use magic Report

0

Threads

5

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-10 19:15:01
| Show all posts
It seems that delphi variables can also be set to null
Reply

Use magic Report

0

Threads

5

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-10 19:30:02
| Show all posts
Don't quote
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