8,726

(12 replies, posted in General)

Component "Save Image In Database" store pictures only in database, in file sqlite.db

8,727

(12 replies, posted in General)

Hello,


In Graphics.dll stored all graphics used only in component Image http://myvisualdatabase.com/help_ru/components/image.png


When you compile a project, all graphics from component Image stored in file Graphics.dll
You should not delete this file in any case.
This file is not related to the images that are stored in the database.

8,728

(10 replies, posted in Script)

majuten
you can to rename table of database without lost data, if you rename table using tool SQLite Studio (http://sqlitestudio.pl/), then make a change in the structure of database in MVD, and answered "No" when the dialog asks to recreate the database.


Also you must manually rename table name in all components (property TableName)

8,729

(16 replies, posted in Script)

In footer you can change only backgroud color:

Form1.TableGrid1.Columns[0].Footer.Color := clRed;

8,730

(16 replies, posted in Russian)

baster.89
Немного поправил ваш проект.

1. Для дат у вас использовался тип Текст, заменил на тип Дата


2. Не было поиска, сделал, но добавление нового пациента теперь через кнопку "Добавить пациента"


3. Неверно были настроены фильтры в TableGrid на вкладках, поправил.


4. Кнопка очистить теперь автоматически обновит все TableGrid


5. Надпись в Label Импорт завершен заменил на всплывающее сообщение.

8,731

(1 replies, posted in Script)

Hello,


I think yes, please send me your project to support@drive-software.com
I'll try to help you.

8,732

(41 replies, posted in Russian)

atempbox
Тоже думал над таким вариантом, была идея создать еще один тип лицензии, где регистрируется только проект, по цене скажем не более $20, что в 5 раз дешевле. Но тут есть некоторые сложности в реализации, и вплотную пока не занимался этим.

8,733

(2 replies, posted in Russian)

Попробуйте так, но не проверял )

SELECT 
klient.name 

FROM klient 

WHERE (SELECT count(kash.id) FROM kash WHERE kash.id_klient = klient.id) = 0

Оно присутствует, но я его забыл указать в документации )

Form1.Memo1.Lines.LoadFromFile('d:\text.txt');
Form1.Memo1.Lines.SaveToFile('d:\text.txt');

8,735

(10 replies, posted in Script)

majuten
Unfortunately in the current version it is not possible to do using script.


You can do it using Button with Action "Save Record".

vlad
Сгруппированный результат можно получить только с использованием кнопки с действием SQL запрос.


Можете прислать свой проект на support@drive-software.com с описанием, что именно нужно сгруппировать, постараюсь помочь.

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


сделал для вас пример проекта,
но перед этим скачайте бета версию 1.47, так как добавлены  новые функции, необходимые для реализации этого проекта
https://www.dropbox.com/s/bhwao1izh5q4y … 7.zip?dl=0

8,738

(4 replies, posted in Russian)

Можно воспользоваться SQL запросом, который уберет например пробелы и запятые

SELECT * from person WHERE firstname LIKE '%' ||
Replace(
  Replace('{Edit2}', ',', '')
, ' ', '')
|| '%'

здесь используется SQL функция Replace('текст поиска', 'что заменить', 'чем заменить')
заменяем пустой строкой, т.е. символ будет удален.

8,739

(2 replies, posted in General)

ailinux
it is a feature component, its height depends on the size of the font.
in your case, you can use the component Memo http://myvisualdatabase.com/help_ru/components/memo.png

8,740

(9 replies, posted in General)

Hello,


In current version you can create them using script, but it is not very convenient.
And you can use them only by script.



Here you can download example:

8,741

(3 replies, posted in Script)

I sent project for you. Do you got it?

8,742

(16 replies, posted in Script)

Hello,

Form1.TableGrid1.Cell[3,4].TextColor := clRed;

or

Form1.TableGrid1.Cell[3,4].TextColor := $00DDEEFF;

where FF - red, EE - green, DD - blue.

Спасибо за отзыв! )

8,744

(4 replies, posted in Russian)

А почему нельзя просто не вводить запятую в текстовое поле? )
ну или запретить ее ввод.

8,745

(3 replies, posted in Script)

Please, send me your project to support@drive-software.com


Thanks )

8,746

(3 replies, posted in Script)

Here you can find infotmation about Delphi (Object Pascal), My Visual Database uses almost same language.

http://delphi.about.com/od/beginners/a/dbeginner6.htm
http://www.delphibasics.co.uk/Article.asp?Name=FirstPgm
http://101.lv/learn/delphi/fm.htm

8,747

(13 replies, posted in General)

alsu
Thank you for the project, you again found bug of My Visual Database.
Please, download latest beta version of 1.47, bug fixed:
https://www.dropbox.com/s/bhwao1izh5q4y … 7.zip?dl=0


Just open and run your project using latest version.

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


Об этом можно прочитать здесь, внизу страницы.
http://myvisualdatabase.com/help_ru/dat … igner.html


Обратите внимание на связь между таблицами person и phone, как видите на диалоге ниже, мы установили опцию при создании связи "Удалять записи из таблицы, если удаляется родительская запись", что означает удаление всех номеров телефонов из таблицы phone принадлежащих абоненту из таблицы person.

8,749

(13 replies, posted in General)

alsu
Yes, in current version you must do it manualy.

8,750

(13 replies, posted in General)

alsu wrote:

sir in my application , after saving a form,  when i open that particular form some fields are missing... the missing fields have some relation.

* single digit and more than two digits have no problem (eg 2, 4, 455, 124 etc..)
* same two digit numbers disappear (eg: 45, 45 and 23, 23)
* two digits numbers containing same digits have also disappear ( eg: 65, 56 and 67, 76)

what is the reason ?  any structurel problem of database or different data types?..... thankzz advnc

Please, send me your new project to email.