On youtube you can find many vidoes, about how to install MySQL on Windows
Like this https://www.youtube.com/watch?v=WuBcTJnIuzo
176 2020-03-12 20:38:06
Re: mysql (1 replies, posted in Database applications)
177 2020-03-12 17:27:56
Re: Дерево (5 replies, posted in Russian)
Чтобы сформировать дерево, необходимо выбирать, какому узлу будет принадлежать создаваемая запись.
Если вам данный способ не подходит, опишите ваш случай, как именно вы хотели бы выбирать родительский элемент? чтобы в нем создать дочернюю запись.
178 2020-03-12 15:01:16
Re: PASTE for Image Component (10 replies, posted in General)
I added these methods for Image component, not for DBImage.
179 2020-03-12 14:56:43
Re: Дерево (5 replies, posted in Russian)
Каким образом были созданы записи?
Вам необходимо задействовать следущие свойства данного компонента
Editable - AllowCreate
Editable - AllowEdit
Editable - AllowDelete
После этого, вы можете создавать записи через меню (правая кнопка мыши)
180 2020-03-12 14:50:34
Re: Users & Roles - Accessing fields (13 replies, posted in General)
Yes, 6.2
Please provide some example, what exactly do you need?
181 2020-03-12 13:18:15
Re: Печать содержимого GRID (4 replies, posted in Russian)
В SQL отчет вы можете вставлять данные с компонентов, которые использовались для фильтрации грида, т.о. данные в отчете будут такими же как в гриде. Как вставлять данные с компонентов в SQL запрос можно прочитать здесь
http://myvisualdatabase.com/help_ru/com … n_sql.html
182 2020-03-12 13:07:22
Re: How to hide Treeview right click pop-up menu? (2 replies, posted in General)
procedure Form1_OnShow (Sender: TObject; Action: string);
begin
form1.TreeView1.PopupMenu := nil;
end;
183 2020-03-12 12:55:48
Re: [РЕШЕНО] Можно ли вывести структуру таблицы в ComboBox? (7 replies, posted in Russian)
Получить все поля таблицы в SQLite можно таким SQL запросом
PRAGMA table_info('table_name')
184 2020-03-12 12:52:11
Re: PASTE for Image Component (10 replies, posted in General)
I checked it again, it works for me.
185 2020-03-12 00:38:57
Re: PASTE for Image Component (10 replies, posted in General)
It's mean, that you don't have the latest version.
186 2020-03-11 23:15:36
Re: PASTE for Image Component (10 replies, posted in General)
First you should copy image to clipboard,
Use button for that
procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
begin
Form1.Image1.PasteBitmapFromClipboard;
end;
187 2020-03-11 19:10:27
Re: PASTE for Image Component (10 replies, posted in General)
Hello.
I added two new methods for Image component.
function PasteBitmapFromClipboard: boolean
function CanPasteBitmapFromClipboard: boolean
Example:
Form1.Image1.PasteBitmapFromClipboard;
Please download latest beta version
https://www.dropbox.com/s/gczabpgu8tyei … a.zip?dl=0
188 2020-03-11 18:42:24
Re: DoubleClick on grid open a form (3 replies, posted in General)
Hello.
May be I can't understand your question, just look at this video, how to use My Visual Database
https://www.youtube.com/watch?v=XffrXjr3qKs
189 2020-03-11 09:19:13
Re: Users & Roles - Accessing fields (13 replies, posted in General)
In the current version you can use object User.
User.id;
User.Username;
User.Email;
User.First_name;
User.Last_name;
User.Role;
User.RoleId;
User.is_admin;
User.is_active;
User.is_logged;
User.Last_login;
User.Date_joined;
190 2020-03-10 18:05:20
Re: Ширина столбцов (1 replies, posted in Russian)
Пример
procedure Form1_TableGrid1_OnChange (Sender: TObject);
begin
Form1.TableGrid1.Columns[0].Options := Form1.TableGrid1.Columns[0].Options+ coFixedSize;
Form1.TableGrid1.Columns[0].Width := 100;
Form1.TableGrid1.Columns[1].Options := Form1.TableGrid1.Columns[1].Options+ coFixedSize;
Form1.TableGrid1.Columns[1].Width := 100;
end;
191 2020-03-10 09:29:44
Re: Динамические строки ввода на форме (+) (2 replies, posted in Russian)
Сделал для вас проект с примером
http://myvisualdatabase.com/forum/viewt … ?pid=35106
192 2020-03-10 09:29:22
Topic: Дочерние записи с помощью динамически создаваемых текстовых полей (0 replies, posted in FAQ)
Дочерние записи с помощью динамически создаваемых текстовых полей
Проект с примером
193 2020-03-09 12:21:20
Re: TextHint not showing on New Record (4 replies, posted in General)
Thank you for the bug report, fixed.
https://www.dropbox.com/s/gczabpgu8tyei … a.zip?dl=0
194 2020-03-06 17:27:02
Re: TextHint not showing on New Record (4 replies, posted in General)
Hello.
I checked, it works correctly for me.
Please let me know version which you use and attach test project.
195 2020-03-06 10:25:38
Re: Login:Wrong username/password (7 replies, posted in General)
Please let me know password for login "an"
196 2020-03-06 09:49:37
Re: connect mysql (4 replies, posted in Database applications)
Connect to local server, use host: 127.0.0.1
197 2020-03-05 18:51:52
Re: Login:Wrong username/password (7 replies, posted in General)
Hello
Please attach your project (zip file without exe and dll), I will test it.
198 2020-03-05 12:17:27
Re: Time format Issue (4 replies, posted in General)
If it a text file, why you use SQL command strfime?
Please describe your case in more details.
Example, how to format time from database
procedure Form1_Button9_OnClick (Sender: TObject; var Cancel: boolean);
var
s: string;
time: TDateTime;
begin
s := SQLExecute('SELECT timefield FROM person WHERE id=1');
if s <> '' then
begin
time := SQLDateTimeToDateTime(s);
s := FormatDateTime('HH:mm am/pm', time);
ShowMessage(s);
end;
end;
199 2020-03-05 12:01:17
Re: объединить ячейки (1 replies, posted in Russian)
К сожалению такой возможности у компонента TableGrid нету.
200 2020-03-05 11:59:07
Re: fontDialog (5 replies, posted in Russian)
Пример
procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
var
FD: TFontDialog;
begin
FD := TFontDialog.Create(Form1);
FD.Options := FD.Options - fdEffects;
FD.Execute;
FD.Free;
end;