Home > Back-end >  The update for the great god help, very grateful
The update for the great god help, very grateful

Time:11-14

I want to change 102 batch 103 how?

CodePudding user response:

Ren * _102??????? .jpg * _103??????? .jpg

CodePudding user response:

reference 1/f, play big shoot early nuclear response:
ren * _102????? .jpg * _103??????? .jpg

Well, how do you write statement???????

CodePudding user response:

WinExec (' ren * _102????? .jpg * _103??????? .jpg ', SW_HIDE);

CodePudding user response:

The update table name set the field name=replace (field name, '_102', '_103)
Prompt, if a field, there are two or more than two '_102' character, there will be problems, please use caution,
If '_10210' is the only, just replace with '_10310' '_10210', the longer the search characters, replace the uniqueness of the better,

CodePudding user response:

Oh, not the data table? Is the file name? Ha ha

CodePudding user response:

Var
PSTR, NSTR: string;
The begin
While not table1. Eof do
The begin

PSTR:='_102' former character;
After the NSTR:='_102 characters
Table1. Fieldbyname (' pictrue). Asstring:=PSTR + '- 103 + NSTR;

end;
Tabel. Post;

CodePudding user response:

The
cited the fifth floor of the autumn leaves reply:
oh, not a data sheet? Is the file name? Haha


Should be the data table, I think his figure is printed at the beginning, then watch or display pictures,
Data table can be done directly a SQL:
The update tablename set fieldname=replace (fieldname '_102', '_103) where fieldname like' % 102 _____. The JPG ';
  • Related