Добрый день, Дмитрий.
В версии 1.44, выдаёт ошибку.
Скрин прилагаю.
К сожалению в данной версии скрипт работать не будет, т.к. не реализованы некоторые свойства компонентов.
My Visual Database → Posts by DriveSoft
Добрый день, Дмитрий.
В версии 1.44, выдаёт ошибку.
Скрин прилагаю.
К сожалению в данной версии скрипт работать не будет, т.к. не реализованы некоторые свойства компонентов.
prahousefamily
Unforunately in version 2.040 beta not implemented function SQLQuery for works with MySQL.
OK Found The problem but I dont know how can I solve it!
when remove this line : {$MySQL disable_connectdialog}
everything work correctly!
but without it I should connect to database manually
Please attach your project for testing.
sait0219
Доработал, по поводу предметов, в SQL запросе необходимо вручную прописать все новые добавленные предметы, также фильтр по предметам сделать только лишь с помощью SQL запроса не получиться, для его реализации нужно задействовать и скрипты, но это уже чуть сложней.
Unfortunately it's impossible, you can do it via menu Options > Open report designer.
Please describe, where you want show the sum, in TableGrid? or in a textbox?
К сожалению не посоветую, т.к. пользуюсь только SQLiteStudio, импорт-экспорт думаю лучше организовать скриптом.
Hello,
An example for you:
Hello Dmitry
I thought that you'd like to know that with the new BETA (2.6) I'm getting the following error (attached) when I try to run my compiled project.
MAK
Do you have some script to execute SQL queries in section?
begin
end.
if yes, just move this script to event OnShow of main form.
Hello Dimitri
Thanks for the info
I have the following questions:
1. Regarding your response to select MySQL as Database, I'm using version 1.45, for this reason not I select the button appears database that version avilitada have this option ?, and as it is a application for my use if I use a more updated version let me working at the end of 30 days?2. I want when creating new records, pressing the button again, the format remains visible until I press cancel, and when I select EDIT, the form closes a see you accept.
3. I want to establish in certain TextBox that when type is present in uppercase.
Thank's
Hello,
1. After version 2.0 support MySQL, it's commercial version and not working after trial period.
2. Please attach your project with this bug for testing.
3. put this code to event OnShow of main form
Form1.Edit1.CharCase := ecUpperCase;
Thanks a lot Dear Dimitri
I just wondering, is it possible to play Gif or some sort of animations for loading, etc... in forms ?
In the current version it's not possible.
Дмитрий, запустил ваш пример . Кодирует все замечательно, но вот с декодером какая-то проблемка , выводит надпись но не такую , подозреваю что проблема в кодировке Юникода на сервере MySQL, попытался выставить в таблице сравнение с нужным Юникодом (utf-8 general ci), но не срабатывает.
На английской раскладке кодировка и декодировка работает нормально, но только не с русской раскладкой .
Измените выч. поле calc_decrypt на
CONVERT(AES_DECRYPT(description,'passw') using utf8)
Приветствую,
В вашем SQL запросе отсутствует поле id, просто добавьте его, поробней
http://myvisualdatabase.com/help_ru/com … n_sql.html
Приветствую.
К сожалению проект не прикреплен к сообщению.
1. в базе данных nar таблица summa она к чему то привязана ее нужно удалить мне не нужно что бы тут вообще что то сумировалася
2. я на скрин щопе показывал где ошибки можете посмотреть там наглядна видно
скачайте снова проект:
Hello
Unfortunately I can't to reproduce the error in your project, please check your attached project.
Проверил проект, данные на форме Form1 на вкладке "Сводная таблица" выводются.
Пожалуйста описывайте проблему подробней.
Здравствуйте. Помогите с запросом SQL
Есть некая таблица с данными (Table1).
с полями
text1 text2 text3 text4 text5 text6 text7 text8 text9 text10...textN
1 1 1 1 1 1 1 1 1 1
1 3 1 1 1 1 1 1 1 1
1 1 1 1 4 1 1 1 6 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 2 1 1 1 1 5 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1Результат запроса SQL
text2 text5 text7 text9...textN
3 1 1 1
1 4 1 6
2 1 5 1Спасибо.
К сожалению вопрос не ясен.
Всем привет!!!
У меня таблица "ААА" с полями "id_BBB" , "id_CCC" и "ааа"
прошу у скрипта показать :Form2.Edit1.Text := SQLExecute ('SELECT ааа FROM ААА WHERE id = ' + IntToStr((Form2.ComboBox1.dbItemID) + (Form2.ComboBox2.dbItemID)) );
т.е. имея два известных поля в строчке отобразить третье...
скрипт показывает, но всё "шиворот на выворот",
где я что-то упустил???
Этот запрос безмысленен, к сожалению не ясно, что именно вы хотели бы получить.
Hello,
You should enable script for your project. (fourth button on toolbar)
Hi,
Dear Dimitri,
Ijust need to know how can I automatically connect to MySql instead of that connecting to mysql form when run the app!
But I want to read MySql connect infors from external INI file like MYSQL.INI or Settings.ini!
also want to close software automatically after showing an error message if connecting to mysql is not possible or user click on cancel on that mysql connection formThanks a lot
Example, how to connect to MySQL using script and how to save and load data from ini file:
memult
Скачайте пожалуйста последнюю бета версию:
https://www.dropbox.com/s/pebrvqwqcbluy … a.zip?dl=0
Для компонента ComboBox добавил свойство FirstEmptyItem, который позволяет убрать первый пустой пункт списка без использования скрипта.
Igor
Как оказалось есть ньюанс, при использовании функций шифрования. Текст необходимо хранить в полях с типом BLOB, что соотвествует типу ФАЙЛ в MVD, сделал для вас пример:
Приветствую,
пока такой возможности нет, но планируется.
Ну да, логично. Просто на данный момент в базе, к примеру, есть поле актуальность, которое имеет значения да/нет. Ну и на графике будет так будет же, что не очень удобно. Поэтому проще изменить название легенды, чем менять уже существующие строки в базе.
Ещё раз спасибо.
Можете просто использовать условия, чтобы динамически менять эту переменную, например
if StatusValue = 'да' then StatusValue := 'Актуально';
if StatusValue = 'нет' then StatusValue := 'Неактуально';
My Visual Database → Posts by DriveSoft
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi