mirvaal
Приветствую,
такое поведение можно реализовать простым скриптом, сделал для вас пример:
My Visual Database → Posts by DriveSoft
mirvaal
Приветствую,
такое поведение можно реализовать простым скриптом, сделал для вас пример:
Please check out fixed version of your project:
Откройте файл tables.ini в любом текстовом редакторе и добавьте необходимо поле в ручную.
на счет полей с кирилицей в WebGrid проверю, возможно ли в принципе использование кирилицы там.
memult wrote:
Необходимо перенести информацию о наличии файла в существующий документ Excel? Если да, то пока нет возможности редактировать Excel документы с помощью скрипта (планируется). Можно только создавать Excel документы с помощью кнопки "Открыть в Excel" и отчетов.Да,именно так. А если в Word? Особого значения не имеет куда переносить. Главное чтобы можно было увидеть что получилось.
Если с Word это получится сделать, не подскажите простой пример?
Это возможность появилась в бета версии 2.7, здесь можете скачать ее и пример
http://myvisualdatabase.com/forum/viewtopic.php?id=2633
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 и уже через эту программу добавить новые поля.
Не смогли бы на версии 1,44? Спасибо!!!
Пожалуйста.
Приветствую,
Добрый день,интересует возможность проверять содержимое файла Word. Я так понимаю сделать это можно сделать компонентом ListBox ?
На данный момент он не реализован? Видел его в пожеланиях за 2014 год..
ListBox в принципе тоже самое что и ComboBox, только он всегда в раскрытом виде, скорей всего вы что то перепутали, он никак не связан с работой Word файлов.
Возможно получится реализовать это без него? Суть в следующем:
В программе генерятся файлы с именами формата Иванов И.И_ Дата, где Дата-дата когда этот файл был сгенерирован. Нужно информацию о наличии такого файла в папке, перенести в таблицу Excel. Т.е как-то считали Дата из названия файла (либо из самого документа) и отметили в таблице Excel, что файл за эту дату есть.
Необходимо перенести информацию о наличии файла в существующий документ Excel? Если да, то пока нет возможности редактировать Excel документы с помощью скрипта (планируется). Можно только создавать Excel документы с помощью кнопки "Открыть в Excel" и отчетов.
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:
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:
Здравствуйте, Дмитрий.
Есть потребность в переносе программы на мобильную платформу андроид. Не планировалось ли разработка редактора на андроиде?
Приветствую, к сожалению пока не планируется.
Сможете помочь?
Готово. На главной форме нажмите кнопку "Отчет"
AD1408
Thanks! )
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.
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 запрос", вывод и поиск данных.
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;
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.
You can do export to LibreOffice, Txt, PDF using reports.
meideprac-x
Can you more explain, what exactly you want to do?
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?
prahousefamily
You can't convert clRed to integer.
Здравствуйте,
Приложите пожалуйста ваш проект с описанием и внешним видом необходимого отчета, если ничего сложно, помогу и без оплаты.
Form1.Edit1.Text := '$000066FF';
Form1.Panel1.Color := StrToInt(form1.Edit1.Text) ;
O que esta faltando?
what is missing?
you should write
data is null
instead
data = null
My Visual Database → Posts by DriveSoft
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi