Skip to forum content
My Visual Database
A Simple Solution for Creating Databases
You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 17 of 61)
Topics by k245 User defined search
Posts found: 401 to 425 of 1,517
k245 wrote:Насчет некорректности CodeHL - подтверждаю проблему, спасибо за обратную связь, буду исправлять..
Есть проблема с SQL в чистом виде: сочетание символов (* интерпретируется как начало комментария, и на строке count(*) алгоритм дает сбой. Планирую отдельно сделать подсветку для SQL, а пока можно заключать текст запроса в кавычки или комментировать
sparrow wrote:Является ли Кнопка "Форматировать код" в редактировании ПРИМЕРОВ обязательной ?
Если да то не лучше ли встроить ее выполнение при сохранении кода ПРИМЕРОВ.
Вопрос не просто так.
Без форматирования присходят вот такие вещи в просмотре примера (в окне редактировния все ОК):
Рисование на канве формы
GLForm.Canvas.TextOut(80,60,80,60,'Hello World'); должно быть GLForm.Canvas.TextOut(80,60,'Hello World');
или
SELECT с автонумерацией записей
countcount(*)
и т.д.
CodeHL путается.
Не все примеры содержат код программ с синтаксисом Pascal, иногда бывает текстовое описание или SQL. Поэтому кнопка - это опция.
Насчет некорректности CodeHL - подтверждаю проблему, спасибо за обратную связь, буду исправлять..
Ваши проекты
За 5 лет использования My Visual Database в качестве инструмента разработки у меня накопилось около 500(!) различных проектов, созданных в этой уникальной среде разработки. Среди них как коммерческие программы, так и примеры решения отдельных технических задач, которые были размещены на форуме разработчиков. Поэтому я решил добавить в “Справочник разработчика” возможность учета и анализа контента проектов.
Читать: https://k245.ru/mvdb/vashi-proekty.html
Your Projects
For 5 years of using My Visual Database as a development tool, I have accumulated about 500 (!) different projects created in this unique development environment. Among them are both commercial programs and examples of solving individual technical problems that were posted on the developers’ forum. Therefore, I decided to add the ability to record and analyze the content of projects to the Developer’s Handbook.
Read: https://k245.ru/en/mvdb-en/your-projects.html
MVDB allows you to create non-code applications, that is, in 80% of cases you will not have to write any code. And for the remaining 20%, knowledge of the object model and Pascal syntax will be required. This language is simple, close to algorithmic. But for success, you will need to study the components used in MVDB.
By the way, I'm now studying a free utility that serves to execute scripts and build reports.
https://bvsoft.ru/index.php/menu-downlo … ils-fsexec
On the one hand, it is very primitive, and contains only a script editor. On the other hand, there are several hundred components on board, including FastReport. But it is hardly more convenient than Lazarus.
Lazarus developer forums exist:
https://www.cyberforum.ru/lazarus/
https://forum.lazarus.freepascal.org/index.php
https://www.programmersforum.ru/forumdisplay.php?f=67
http://www.freepascal.ru/forum/viewforum.php?f=5
http://iforum.pro/lazarus-112/
But you propose to create (and administer) a form for those who want to migrate from MVDB to Lazarus. I do not see any practical sense in this because of the small number of participants in this process. It's easier to create an appropriate thread in one of the existing forums.
As for the transition itself, losses cannot be avoided. In particular, the FastScript reporting system is not free and will not be available in lazarus. The same can be said about the tabular data display component.
And in the rest, you are absolutely right - the risks of staying on MVDB are high.
Если вы вносили изменения только в состав компонентов формы и скрипты, то нужно обновить только файлы forms.xml и script.dcu. Но есть нюансы, связанные с хранением изображений, отчетов и т.д.
Передать нужно все, кроме script\*.pas (script\script.pas )
Файл *.vdb ничего особенного не содержит, нужен только для открытия проекта.
The project is no longer developed by the author, but is still alive thanks to the close-knit community of this forum. All information about the possibility of buying is on the official website - http://myvisualdatabase.com/purchase.html
Unfortunately, there is still no exhaustive and complete information about the possibilities of the system. But you can use online project documentation http://myvisualdatabase.com/doc_en/Abou … abase.html
and other sources of information, such as this forum. Or my blog where I share my experience of using MVDB
procedure Form1_TableGrid1_OnInputAccept (Sender: TObject; var Accept: Boolean);
begin
// отменяет добавление записи, если в первой колонке ввели значение "123"
if Form1.TableGrid1.Columns[0].InputValue = '123' then Accept := False;
end;
http://myvisualdatabase.com/doc_ru/proc … rTObj.html
Вы задачу вашу хотите решить или разобраться в тонкостях работы событий редактирования таблицы? Сформулируйте точней, какой вам нужен результат.
Universal Copy
Is it possible to copy a record without knowing the structure of the table? Can!
Read: https://k245.ru/en/mvdb-en/universal-copy.html
Универсальное копирование
А можно ли скопировать запись, не зная структуры таблицы? Можно!
Читать: https://k245.ru/mvdb/universalnoe-kopirovanie.html
if MessageBox('Delete data?','Delete',MB_OKCANCEL ) = mrOK then
begin
// your code is here
end;
Linear сutting
Task
Optimal cutting of linear material, minimizing the length of the trimmings. As initial data, use the length of the workpiece, the width of the cut and the list of parts to be made, indicating the linear size and quantity. In the calculation, use the available blanks of various lengths, which are also presented in a list indicating their length and quantity.
in English: https://k245.ru/en/mvdb-en/linear-sutting.html
en français: https://k245.ru/fr/mvdb-fr/coupe-lineaire.html
Линейный раскрой
Задача
Оптимальным образом осуществить нарезку линейного материала, минимизировав длину обрезков. В качестве исходных данных использовать длину заготовки, ширину разреза и перечень деталей, которые нужно изготовить, с указанием линейного размера и количества. В расчете использовать имеющиеся заготовки различной длины, которые также представлены списком с указанием их длины и количества.
Читать: https://k245.ru/mvdb/linejnyj-raskroj.html
Comme sparrow l'a correctement noté, si vous avez besoin du résultat d'un champ calculé dans un autre champ calculé, vous devrez alors écrire toute la requête en entier, l'utilisation du nom du champ calculé est inacceptable.
Hello reteinformatica, derek!
I can only add that there are two concepts: controls and components. Controls are located on parent controls (this can be a form, panel, etc.), and components belong to the form, regardless of which control they are located on. The script works with components, that is, to access the component, the form name is specified, and then the component name.
var
tmpDataSet:TDataSet;
begin
SQLQuery('SELECT name FROM table',tmpDataSet);
try
// some code for get data from dataaset...
...
//
finally
tmpDataSet.Free;
end;
end;
In did!
Work over the network is supported, but there is a problem of blocking the database at the time of writing (and sometimes editing) data. This is due to the fact that the database has a file nature.
Also at the code level, a SQLQuery() command can cause a lock. Therefore, it is strongly recommended to free DataSet right after using.
For full multi-user access, use the MySQL DBMS
jean.brezhonek wrote:Hello madbit71
It is true that many MVD users regret that MVD is no longer developed. Dmitri, its creator, left on other tracks (Web, Python) and it would be surprising if he returned to MVD. But we can always dream of it.
As alternatives you have (I only mention the free ones): Symphytum, Limnor Studio, NSBase.
So, for me, I went back to Lazarus.
JB
I looked at this alternative projects.
Symphytum. This is a very simple system that offers data storage in tables without relational relationships. But I liked the editing form editor.
Limnor Studio. This is too complicated system, although it is positioned as a no-code system, the interface is quite complicated, I could not figure it out quickly.
NSBase. Close analogue, clear and simple concept. Localization is lame, but it's not critical.
I would add DataExpress to this list, but this system does not have localization into languages other than Russian.
Nilaus wrote:Есть ли аналоги у данной программы? Несколько лет назад встречал похожий проект в начальной стадии, забыл название, сейчас не могу найти.
https://mydataexpress.ru
Posts found: 401 to 425 of 1,517