1

(17 replies, posted in Script)

thanks a lot Dmitry
it work

2

(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

(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

(11 replies, posted in Script)

Hello Dmitriy,
I received your email
thanks for the prompt reply as always

5

(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

(11 replies, posted in Script)

Hello Dmitriy
I receive your email.
many thanks

7

(11 replies, posted in Script)

Dmitry,
I send you the project to your email
thanks

8

(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

(4 replies, posted in General)

ok, thanks

I downloaded the version 1.48Beta on forum and works

10

(4 replies, posted in General)

I tried but it seems not work in version 1.44

11

(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

(11 replies, posted in Script)

thanks yann.yvinec

13

(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

(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