mirvaal
Приветствую,


такое поведение можно реализовать простым скриптом, сделал для вас пример:

4,627

(1 replies, posted in Reports)

Please check out fixed version of your project:

4,628

(3 replies, posted in Russian)

Откройте файл tables.ini в любом текстовом редакторе и добавьте необходимо поле в ручную.


на счет полей с кирилицей в WebGrid проверю, возможно ли в принципе использование кирилицы там.

4,629

(3 replies, posted in Russian)

memult wrote:
memult wrote:


Необходимо перенести информацию о наличии файла в существующий документ Excel? Если да, то пока нет возможности редактировать Excel документы с помощью скрипта (планируется). Можно только создавать Excel документы с помощью кнопки "Открыть в Excel" и отчетов.

Да,именно так. А если в Word? Особого значения не имеет куда переносить. Главное чтобы можно было увидеть что получилось.
Если с Word это получится сделать, не подскажите простой пример?

Это возможность появилась в бета версии 2.7, здесь можете скачать ее и пример
http://myvisualdatabase.com/forum/viewtopic.php?id=2633

4,630

(19 replies, posted in Script)

prahousefamily wrote:

More Great  have New Property  in Component and New Function


Little Question I will know function  How To use ???
http://myvisualdatabase.com/forum/misc. … mp;preview


InputBox

procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
var
    s: string;
begin
    s := InputBox('Caption', 'Enter messave', '');
    ShowMessage('Your message is: ' + s);
end; 

InputQuery

procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
var
    s:string;
begin
    if InputQuery('Caption', 'Your message', s) then
    begin
        ShowMessage('Your message is: ' + s);
    end else ShowMessage('User clicked cancel button.');
end;


BeginSQLiteTransaction, CommitSQLiteTransaction
Fast way to insert many records (using transaction), example:

procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
var
    SqliteTr: TDBXSqliteTransaction;
    i: integer;
begin
    SqliteTr := BeginSQLiteTransaction;
    for i:= 0 to 10000 do SQLExecute('INSERT INTO employees (lastname) VALUES(''Smith'')');
    CommitSQLiteTransaction(SqliteTr);
end;

Вы можете добавить поля через My Visual Database, при этом отказаться от пересоздания базы данных, когда программа об этом спросит.  Затем с помощью программы SQLite Studio открыть файл базы данных sqlite.db и уже через эту программу добавить новые поля.

4,632

(9 replies, posted in Russian)

danisl wrote:

Не смогли бы на версии 1,44? Спасибо!!!

Пожалуйста.

4,633

(3 replies, posted in Russian)

Приветствую,

memult wrote:

Добрый день,интересует возможность проверять содержимое файла Word. Я так понимаю сделать это можно сделать компонентом ListBox ?
На данный момент он не реализован? Видел его в пожеланиях за 2014 год..

ListBox в принципе тоже самое что и ComboBox, только он всегда в раскрытом виде, скорей всего вы что то перепутали, он никак не связан с работой Word файлов.



memult wrote:


Возможно получится реализовать это без него? Суть в следующем:
В программе генерятся файлы с именами формата Иванов И.И_ Дата, где Дата-дата когда этот файл был сгенерирован. Нужно информацию о наличии такого файла в папке, перенести в таблицу Excel. Т.е как-то считали Дата из названия файла (либо из самого документа) и отметили в таблице Excel, что файл за эту дату есть.

Необходимо перенести информацию о наличии файла в существующий документ Excel? Если да, то пока нет возможности редактировать Excel документы с помощью скрипта (планируется). Можно только создавать Excel документы с помощью кнопки "Открыть в Excel" и отчетов.

4,634

(2 replies, posted in General)

Hello,


CheckBox can store only Yes or No.
You should use ComboBox instead CheckBox. In the ComboBox you can select value, like Benny, Elisa or Markus.


Please download your fixed project:

4,635

(19 replies, posted in Script)

Hello,


Please download latest beta version 2.7
https://www.dropbox.com/s/582unbatehan1 … a.zip?dl=0


I have added some features for your example.



Fixed project:

motorolla wrote:

Здравствуйте, Дмитрий.
Есть потребность в переносе программы на мобильную платформу андроид. Не планировалось ли разработка редактора на андроиде?

Приветствую, к сожалению пока не планируется.

4,637

(9 replies, posted in Russian)

danisl wrote:

Сможете помочь?

Готово. На главной форме нажмите кнопку "Отчет"

4,638

(187 replies, posted in General)

AD1408
Thanks! )

4,639

(22 replies, posted in General)

gieri wrote:

Hi Dmitry,

did you have a solution to solve my last two problems?

Thanks for any respons.


Cheers

gieri

Hello,


I tried, but unfortunately can't find solution.
Sorry for inconvenience.

4,640

(4 replies, posted in General)

derek
Check out this script, jusr added line Application.ProcessMessages;

procedure Form1_OnShow (Sender: string; Action: string);
begin
  logo.show;
  Application.ProcessMessages;
  sleep(3000);
  logo.close;
end;

stas.kodpi
Сделал для вас пример, как работать с кнопкой "SQL запрос", вывод и поиск данных.

4,642

(8 replies, posted in SQL queries)

meideprac-x
Check out this example:

procedure Form1_bScript_OnClick (Sender: string; var Cancel: boolean);
begin
    Form1.GridEmployees.dbSQL:='SELECT id, "$autoinc", lastname, firstname, salary FROM employees'; // the id field, want to be able to edit or delete the entry from the table component
    Form1.GridEmployees.dbGeneralTable := 'employees'; // Optional (in the case of complex SQL queries with sub queries, you need to choose the main table of the database, also it need to be able to edit or delete the entry from the table component)
    Form1.GridEmployees.dbListFieldsNames :='delete_col,#,name2,name3,name4'; // If you do not want to see the value of the id in the component table, enter a name for the column delete_col
    Form1.GridEmployees.dbSQLExecute;
end;

4,643

(4 replies, posted in SQL queries)

sahems.y.3
Hello,


Please attach your project (zip file without exe and dll) and describe, what exactly you want to do in your project.

4,644

(2 replies, posted in Reports)

You can do export to LibreOffice, Txt, PDF using reports.

4,645

(8 replies, posted in SQL queries)

meideprac-x
Can you more explain, what exactly you want to do?

4,646

(11 replies, posted in SQL queries)

ehwagner wrote:

Just following up on this. In an effort to duplicate this situation using the previous example in this post, I discovered some more info on this situation. I'm not sure if there really is a problem. I actually think that the 2.6 version of MVD may have fixed something that shouldn't have worked before. Here is the situation that causes it not to work. In the object inspector for the DateTimePicker field used in the query, if you have the "DefaultChecked" property unchecked and you also have the "Visible" checkbox unchecked, then the query will not work. If either one of them are checked or both are checked, then the query works fine. Like I said, I'm not really sure there is a problem. I'll let Dimitry comment on that. All I had to do is go into all my projects that had this situation and check the "DefaultChecked" checkbox and everything was back to normal.

When your DateTimePicker is Unchecked, it's mean that component have empty value. What do you mean when query don't work? Any error messages? or something else?

4,647

(3 replies, posted in General)

prahousefamily
You can't convert clRed to integer.

4,648

(9 replies, posted in Russian)

Здравствуйте,


Приложите пожалуйста ваш проект с описанием и внешним видом необходимого отчета, если ничего сложно, помогу и без оплаты.

4,649

(3 replies, posted in General)

    Form1.Edit1.Text := '$000066FF';
    Form1.Panel1.Color :=  StrToInt(form1.Edit1.Text) ;

4,650

(3 replies, posted in Script)

Gilberto_Schiavinatto wrote:

O que esta faltando?


what is missing?

you should write

data is null

instead

data = null