Augsberger
вам необходимо сделать экспорт из двух таблиц в два csv файла.
из таблицы person и таблицы files, также из  таблицы files нужно незабыть экспортировать внешний ключ id_person, именно по этому ключу определяются, кому принадлежит файл.

8,177

(4 replies, posted in General)

Here you can download version 1.46
http://myvisualdatabase.com/download/myvisualdb1.46.exe

8,178

(4 replies, posted in General)

Unfortunately you can not upgrade for free.


On tab "The Fine Print" you can get more inmormation about the license from Bitsdujour
http://www.bitsdujour.com/software/my-visual-database

8,179

(12 replies, posted in General)

mr_d
Hello,


Thank you for the idea, fixed )

8,180

(24 replies, posted in General)

tcoton wrote:

I have actually no clue what this component is for, I was unable to write any text in it during project edition.

What I would like is a component which allows me to fill in free text like for a changelog or even this forum when you reply. I could edit it but not the users.

In the current version you can do it using a script, I have made a example for you.
Also you should enable a property ReadOnly of component Memo1

delphinsl wrote:

Здравствуйте Дмитрий! Раньше можно было вызвать окно расположение файла базы данных вот такой командной mniDBLocation, а сейчас как в версии 1.48 у меня выдает на этой команде ошибку?

     form1.mniDBLocation.Click; // вызов диалога выбора места расположения файла базы данных

Спасибо!

P.S. Что-то у меня после обновления куча ошибок начало появляться при сохранении!

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

имя mniDBLocation было заменено на mniSettings, т.к. на форме теперь имеются и настройки.

form1.mniSettings.Click; 

Пожалуйста, создайте отдельную тему, с описанием всех ошибок, которые появились при обновлении, постараюсь помочь.

8,182

(1 replies, posted in Russian)

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


Если вы хотите самостоятельно доработать программу, буду рад помочь, ответив на ваши конкретные вопросы.
Можете приложить ваш проект к сообщению (zip файл без exe и dll файла)
с подробным описанием, что именно не работает.


Если вы хотите заказать доработку программы, вам необходимо написать подробное задание и отправить его на support@drive-software.com

8,183

(32 replies, posted in Russian)

Отправил доработанный проект на ваш e-mail.

8,184

(13 replies, posted in General)

In current version you can't use FastReports from My Visual Database (only from Project.exe)



For printing data from the database you can use another tools, example open "sqlite.db" in MS Access, using ODBC driver for SQLite
http://www.patthoyts.tk/sqlite3odbc.html
http://www.ch-werner.de/sqliteodbc/

8,185

(32 replies, posted in Russian)

menshikov-76 wrote:

нашел еще одну ошибку у себя. при удалении товара счет не меняется на товаре. к примеру удалил 4 строку то 5тая не заменила ее и стала 4той а осталась 5 в итоге количество товара не изменилось

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

8,186

(32 replies, posted in Russian)

menshikov-76 wrote:

У меня вопрос. при редактировании или удалении в разделе заказы пишет ошибку нет колонки zakaz.zakaz в проекте. что я не так сделал??

Такая же ошибка происходит и при попытке поиска?
В настройках кнопки "Поиск", возможно вы внесли компонент TableGrid в список компонентов, с которых берутся критерии поиска.

8,187

(13 replies, posted in General)

You can not designing a database using FastReport.
I'm afraid I can not understand your question.


You can call the report designer from menu: Options > Report Designer

Unfortunately I do not know this method of protection.
I think this method of protection is a good idea for the new program )

I think there is no easy way to get the code from the file script.dcu


I agree, it is necessary to develop a reliable mechanism for protection, but at the moment there are more important things to develop.

mr_d
In the folder "Script" you can remove the file "script.pas", the project will work without this file, because in the folder "Script" has compiled version of the "script.pas", which is very difficult to edit (script.dcu).


But the file "script.pas" should be if you want to open the project in My Visual Database.

In the current version there is no simple way, to make strong protection, but you can make almost any protection, using a script, but this requires programming skills.

8,192

(5 replies, posted in General)

ndinotamba wrote:

Thanks Dimitri, wish one could retrieve the whole record once without 3 SQL calls to database.

For it you should use SQLQuery in the latest beta version.

8,193

(5 replies, posted in General)

In your case, you need make three SQLExecute

myvariable  := SQLExecute('SELECT Clients.company FROM Contracts INNER JOIN clients ON clients.id = contracts.id_clients INNER JOIN products ON products.id = contracts.id_products WHERE Contracts.id = 2');
showmessage(myvariable);

myvariable  := SQLExecute('SELECT Clients.contractno FROM Contracts INNER JOIN clients ON clients.id = contracts.id_clients INNER JOIN products ON products.id = contracts.id_products WHERE Contracts.id = 2');
showmessage(myvariable);

myvariable  := SQLExecute('SELECT Products.prodname FROM Contracts INNER JOIN clients ON clients.id = contracts.id_clients INNER JOIN products ON products.id = contracts.id_products WHERE Contracts.id = 2');
showmessage(myvariable);

8,194

(5 replies, posted in General)

Please, download latest beta version 1.48, where I added new function SQLQuery
https://www.dropbox.com/s/6rz92s72djtmv … 8.zip?dl=0


Example:

procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);  
var
    Results: TDataSet;
begin
    SQLQuery('SELECT FirstName, LastName FROM person', Results);
    while not Results.Eof do
    begin
        Form1.Memo1.Lines.Add( Results.FieldByName('FirstName').AsString+' '+ Results.FieldByName('LastName').AsString);
        Results.Next;
    end;
    Results.Free;
end;

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


создайте событие OnClick у кнопки с действием "Сохранить запись", пример

procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
begin
    if Form1.ComboBox1.dbItemID=-1 then // -1 значит пункт не выбран
    begin
        ShowMessage('Выберите значение в ComboBox');
        Cancel := true;
    end;
end;

Thank you for your feedback, we will do in the future new video tutorials.

8,197

(5 replies, posted in Russian)

atempbox
К сожалению простого способа как это решить не знаю.


Протестировал у себя, раскрашивание (не перебор, а именно раскрашивание) 3000 ячеек занимает всего 1 секунду, думаю этой скорости хватит.

This requires complex protection, which is not supported in current version.


We sell the My Visual Database without such protection, and no one not distribute it freely on internet.

Hello,


Here you can download an example, how to make a program stops working after 30 days.

8,200

(28 replies, posted in Russian)

Leonid wrote:

Добрый день !
Попробовал из нового :

Form1.TableGrid1.dbLimit := 1000;


Работает здорово . Но если бы появилась возможность выводить не первую 1000 , а последнюю

можно изменить сортировку таким образом, чтобы выводились сперва последние записи
http://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=538&download=0