2 2024-04-17 12:13:53
Re: Фильтр для TGrid (5 replies, posted in Russian)
что значит sostav_2 ?
для чего эта таблица??
3 2024-04-17 11:20:05
Re: incompatible Value (5 replies, posted in Script)
viii,myvalue : integer;
var viii: integer;
4 2024-04-17 11:16:31
Re: фокус - в чем причина? | focus - what's the reason? (2 replies, posted in Russian)
FOOD
5 2024-04-17 11:10:10
Topic: фокус - в чем причина? | focus - what's the reason? (2 replies, posted in Russian)
6 2024-04-14 14:17:42
Re: Вычисляемые поля в MySQL (5 replies, posted in Russian)
Вынуть дату из БД
myDate : TDateTime = SQLDateTimeToDateTime();
потом можете их как угодно арифметить
Case When oformlen = 1
THEN '+' ELSE ''
END
в данном варианте вроди как не заменяется символ, а создается поле
7 2024-04-06 11:30:48
Re: Помощь 4 в проекте для Новичка (8 replies, posted in Russian)
[*]При создании новой записи, в поле выбора КАТАЛОГА (ComboBox1) необходимо вывести последнее из сохраненных значений[/*]
последняя запись всегда имеет маскимальное значение ID
SELECT MAX(....)
8 2024-03-29 11:08:05
Re: Dmitry Required (13 replies, posted in General)
Он должен вернуться, просто он немного перегорел. Вполне возможно, что именно сейчас он создает новый конструктор
9 2024-03-24 09:38:29
Re: Сохранение в зависимости от выбора Combobox (11 replies, posted in Russian)
И снова здравствуйте, может кто сталкивался, и расскажет как поправить, после поиска поле расход в таблице успешно превращается в нули.
С верху до поиска,
С низу после
НУЖЕН ВАШ ПРОЕКТ
11 2024-03-10 12:50:44
Re: Cascade Delete Bug (4 replies, posted in General)
Thanks for the reply
I know that I can choose not to use cascade.
I have attached a sample.
suppose you record something wrong in a (combobox1 Mainform) and you want to delete it while keeping other data.
If I don't use cascade delete then I get an error
If I use cascade delete all the data are lost.
What I need to do is that when I delete the data in (Tablegrid1 Bank) other data that are recorded should be intact and only the data of (combobox1 Mainform) should be cleared.
Do you think it can be done using a script?
thanks a lot
А Вам и не нужно ни чего удалять, просто перейдите в редактирование записи и в ComboBox выберете пустое поле, нажмите сохранить
And you don’t need to delete anything, just go to edit the entry and select an empty field in the ComboBox, click save
12 2024-03-10 12:01:52
Re: problem in date (my first project) (10 replies, posted in General)
hi everyone
i am new to the app and i am trying some concept . i use a table called tempx that have a date filed , and when i chose a date from date time picker and click save button the date stored in table but i have two problems
if i chose the same date it will store it again and i don't want this , i try to use sql but i have to change the date to string and i don't want that , is there a solution for this ??
second think i want to save each row in tempx date to other table with some other info, how to do this ???i have attached the program ....
procedure Form1_Button2_OnClick (Sender: TObject; var Cancel: boolean);
begin
if ( SQLExecute('SELECT COUNT(id) FROM tempx WHERE Date='+ Form1.DateTimePicker1.sqlDateTime) <> 0) then Cancel := True;
end;
13 2024-03-09 07:37:16
Re: Помощь в проекте для Новичка (2 replies, posted in Russian)
Здравствуйте.
Помогите мне с проектом.
При заполнении поля КЛЮЧ(Edit1) как сделать, что бы данные из базы данных подтягивались в поле Имя (Edit2)
Проект прилагаю.
procedure Form1_Edit1_OnChange (Sender: TObject);
begin
if (Form1.Edit1.Text <> '') then
Form1.Edit2.Text := SQLExecute('SELECT user_name FROM user_log WHERE user_key='''+Form1.Edit1.Text+'''') else
Form1.Edit1.Text := '';
end;
14 2024-03-04 17:47:07
Re: помогите с проектом (9 replies, posted in Russian)
в общем такая проблема не могу сделать поиск по комплектующим и там еще есть поле где ставится дата когда товар был приобретен не сохраняет данные тоже спасибо за понимания и помощь заранее благодарен...
опишите точнее
15 2024-02-22 18:11:10
Re: Linking to tree node (1 replies, posted in General)
I was wandering if there is a way to link (hyperlink) a word in RTF editor to a tree node?
нужно искать на форуме, несколько лет назад я уже задовал такой вопрос Дмирию.
you need to search on the forum, several years ago I already asked this question to Dmitry.
17 2024-02-16 16:12:36
Re: Auto query filter to show today’s data (6 replies, posted in General)
current_date replaced by - Date
18 2024-02-16 15:31:04
Re: Adding Treeview Nodes (10 replies, posted in General)
What I like to do is to add top or child note on the form "frmItemTree" with the help of checkboxes.
не могу понять
I can not understand
20 2024-02-16 14:57:35
Re: Adding Treeview Nodes (10 replies, posted in General)
Будет не просто объяснить но я попоробую
It won't be easy to explain but I'll try
21 2024-02-16 13:50:17
Re: passcode (3 replies, posted in General)
How can when I press the delete key it asks for the passcode to confirm the deletion?
procedure Form1_Button2_OnClick (Sender: TObject; var Cancel: boolean);
var
pass : string = '1234jkjh';
inputPass : string;
begin
InputQuery('Подтверждение удаления ','Для удаления записи введите пароль',inputPass);
if (inputPass <> pass) then Cancel := True;
end;
22 2024-02-14 19:38:08
Re: An operation thet doesn't float very well (7 replies, posted in General)
Form1.Edit9.Clear;
Form1.Edit10.Clear;
Form1.Edit11.Clear;
Проблема в порядке выполнения операции
У Вас на изменение значения в Form1.Edit10.Clear; происходит расчет, по этому и происходит ошибка.. Там пусто
Problem with the order of operation
You have to change the value in Form1.Edit10.Clear; there is a calculation going on, that's why the error occurs.. It's empty
23 2024-02-14 16:09:23
Re: An operation thet doesn't float very well (7 replies, posted in General)
приложние пустое
application is empty
24 2024-01-29 16:33:51
Re: Образцы проектов (42 replies, posted in Russian)
Проект для организации фестивальной деятельности... В общем-то всё банально с некоторыми "ништяками". Программа сигнализирует при использовании в сети, об открытии карточки клиента. Фестивальная карточка заполняется из клиентской базы. Учет средств - элементарный, чисто на "+"... Доработки возможны В базу включены региональные данные по РФ.
https://disk.yandex.ru/d/zyv4DpOWr_ZMng
мне кажется идеальным !
25 2024-01-29 16:32:00
Re: Образцы проектов (42 replies, posted in Russian)
Набросал программу для каталогизации дистрибутивов игр.
Хорошая идея, еще добавьте возможность переходить в каталог с игрой.