| |

VerySource

 Forgot password?
 Register
Search
View: 1107|Reply: 1

Why does it always show Table is busy!!

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-12-16 13:30:01
| Show all posts |Read mode
begin
        //mob.mob_index.Table1.Close;
        //mob.mob_index.Table2.Close;
        //mob.mob_index.Table3.Close;

        Table4.CancelRange;
        Table4.close;
        Table4.Exclusive:=true;
        Table4.AddIndex('newindex','date',[ixCaseInsensitive ]);
        Table4.IndexName:='newindex';
        table4.Exclusive:=false;
        Table4.open;
        Table4.SetRangeStart;
        Table4.FieldByName('date').asdatetime:=strtodate(maskedit5.text);
        Table4.SetRangeEnd;
        Table4.FieldByName('date').asdatetime:=strtodate(Maskedit5.text);
        Table4.ApplyRange;
end;


The above is my code, but the error of Table is busy!!

Beginner, please help! !
Reply

Use magic Report

0

Threads

9

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-12-19 12:30:01
| Show all posts
If you use tables such as DBF, their band opening is exclusive! Remember to close it after the operation!
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