thanks a lot Dmitry
it work
2 2015-02-11 20:51:18
Re: Using Checkbox (17 replies, posted in Script)
Dmitry
Hello,
no, sorry to respond so late!
what I want is simple:
first example
as object "colors"
multiple choice: red, yellow, green, blue
I can choose:
1- just "red"
2- red, yellow, green
3-red, blue
4-or all colors
second example:
I can choose just one, from the four choices
thks
3 2015-01-29 12:23:15
Re: Using Checkbox (17 replies, posted in Script)
hello Dmitry
can you please send me an example how to use checkbox.
please a simple file, with 3 choices as checkbox
thanks
4 2015-01-12 11:46:46
Re: protect edit buttom with password (11 replies, posted in Script)
Hello Dmitriy,
I received your email
thanks for the prompt reply as always
5 2015-01-12 10:23:09
Re: protect edit buttom with password (11 replies, posted in Script)
hello Dmitriy,
I sent you an email with the same project.
I made some changes to the file and it always gives me an error ... I need a little help how to solve it.
thank you
PS: have you other videos tutorial? it would be helpful.
6 2015-01-09 18:41:38
Re: protect edit buttom with password (11 replies, posted in Script)
Hello Dmitriy
I receive your email.
many thanks
7 2015-01-09 18:32:05
Re: protect edit buttom with password (11 replies, posted in Script)
Dmitry,
I send you the project to your email
thanks
8 2015-01-09 02:50:42
Re: protect edit buttom with password (11 replies, posted in Script)
Hello
I tried to use your script in the example real estate but it did not work .... what did I do wrong? could help me understand the script
thanks
________
function CheckDublicate (Action, sTable, sField, sValue: string; id: integer;): boolean;
var
s: string;
begin
result := False;
if Action = 'NewRecord' then
begin
s := SQLExecute ('SELECT Count(*) FROM '+sTable+' WHERE '+sField+' LIKE "' + sValue + '"');
if StrToInt(s) > 0 then result := True;
end;
if Action = 'ShowRecord' then
begin
s := SQLExecute ('SELECT Count(*) FROM '+sTable+' WHERE ('+sField+' LIKE "' + sValue + '") AND (id <> '+ IntToStr(id) +')');
if StrToInt(s) > 0 then result := True;
end;
end;
procedure frmRealestate_Button2_OnClick (Sender: string; var Cancel: boolean);
begin
if CheckDublicate(frmRealestate.dbAction, 'realestate', 'lastname', frmRealestate.edLastName.Text, frmRealestate.ButtonSave.dbGeneralTableId) AND
CheckDublicate(frmRealestate.dbAction, 'realestate', 'firstname', frmRealestate.edFirstName.Text, frmRealestate.ButtonSave.dbGeneralTableId) then
begin
ShowMessage('Person already exists.');
Cancel := True;
end;
end;
begin
end.
9 2015-01-09 01:27:25
Re: select multiple objects on the userform (4 replies, posted in General)
ok, thanks
I downloaded the version 1.48Beta on forum and works
10 2015-01-07 13:47:16
Re: select multiple objects on the userform (4 replies, posted in General)
I tried but it seems not work in version 1.44
11 2015-01-07 02:13:52
Topic: select multiple objects on the userform (4 replies, posted in General)
is there any way to select multiple objects on the userform?
would be a good help to design and modify a layout faster
12 2015-01-05 20:49:24
Re: protect edit buttom with password (11 replies, posted in Script)
thanks yann.yvinec
13 2015-01-05 16:05:29
Re: protect edit buttom with password (11 replies, posted in Script)
Hi,
thanks a lot.
I'm not a programmer, but I begin to understand the software and I think it is fantastic. and your rapid assistance in the forum, super! remains so. amazing, thank you.
ps: how to write our own script? please books reference
14 2015-01-05 00:34:50
Topic: protect edit buttom with password (11 replies, posted in Script)
hi
how can I protect an Edit-Buttom with password or
how can I create a user database with different permission levels
please a short example
thanks