26

(8 replies, posted in General)

What is the use of the @checkbox in the tablegrid? I ask it because in a previous question I wanted a button to multidelete records from a tablegrid. Is it possible to use this only??

27

(6 replies, posted in General)

Hi Derek. Yes that's the one. Thank' s Derek, your help is always the solution of many problems.
Because I have a project that I do not wont to add records in the tables , can I use the #checkbox in the Tablegrid and when this is true so all the records would be deleted ? Something like this   sqlexecute('delete from people where #checkbox = True');----I know this script do not work but is there a solution not to add records in a table ?

28

(6 replies, posted in General)

Wow, my mistake. I didn't read it correct. Another Question: If there is no Boolean type and there is a combobos to choose the records you wanna delete is it possible ?

29

(6 replies, posted in General)

Thank you for the example.  I do not understand correctly the,  ID_IDX = 4; // index of the id in grid.  In the example it is in the first place in the Grid

brian.zaballa wrote:

here's one.

30

(6 replies, posted in General)

Hi all, in my small software I have a Boolean (tsek) that will not allow the selected row to be deleted. What I  want is a script that by pressing the Button Selected it will change all the selected records to changed from False to true, And in the Button Delete Selected to do exactly what it’s says, to multidelete the selected records.

31

(11 replies, posted in General)

k245 wrote:

try Form1.ComboBoxХ.dbUpdate for reload data in combo


thank's

32

(11 replies, posted in General)

Hi k245 in case I like to cansel it ?
I do the following script but it doesn't work. Any idea???

if Form1.CheckBox5.Checked = true then
   begin
//with Parent
       Form1.ComboBox3.dbParentCombo := 'ComboBox2';
       Form1.ComboBox4.dbParentCombo := 'ComboBox3';
       Form1.ComboBox5.dbParentCombo := 'ComboBox4';
       Form1.ComboBox3.DoOnChange;
       Form1.ComboBox4.DoOnChange;
       Form1.ComboBox5.DoOnChange;
       Form1.CheckBox5.Caption:='Free search';

   end;

   if Form1.CheckBox5.Checked = false then
   begin
//Without Parent
       Form1.ComboBox3.dbParentCombo := '';
       Form1.ComboBox4.dbParentCombo := '';
       Form1.ComboBox5.dbParentCombo := '';
       Form1.ComboBox3.DoOnChange;
       Form1.ComboBox4.DoOnChange;
       Form1.ComboBox5.DoOnChange;
       Form1.CheckBox5.Caption:='Normal searh';

   end;

33

(11 replies, posted in General)

Thank you all....great job

34

(11 replies, posted in General)

Thank you... I need it because I like to have two choices for a search button.  A free choice (without parent... don't know how else to say it) and a choice with patent. Another stupid question is how to stop having the parent in this sample , so to return  to the "free choice".  Sorry for my bad English and for those ....stupid questions.....thanks again.

35

(11 replies, posted in General)

See please the picture. Is there a way to do that by script ?

36

(11 replies, posted in General)

Hi can we set  ParentComboBox by script , and not using the tool bar?

37

(0 replies, posted in General)

Does anyone know a script to create a URL search button to use open street map and Waze map to find an address? In Google it's easy but for those two websites I can not find information

38

(1 replies, posted in General)

Hi, please see my attached pic first...In the Options and in the Tab Settings I cannot understand the second option. Can someone help me please?

39

(1 replies, posted in General)

read this maybe it will help you
https://myvisualdatabase.com/forum/view … hp?id=8614

40

(10 replies, posted in General)

I think that the Random command must  to be like this  Random(some number)

41

(6 replies, posted in General)

I Just found the solution.
Thank you anyway

42

(6 replies, posted in General)

Any help ??

43

(6 replies, posted in General)

I test it but it doesn't work. It does not show the Color Dialog

44

(6 replies, posted in General)

Thank you

45

(6 replies, posted in General)

How can I call the color Patern and choose a color for my Form by script ??

46

(8 replies, posted in General)

the reason I deleted the section and wrote a new one is because my English is not at a good level and I wanted to formulate my question as best as I could.  if anyone doesn't want to read or help they can just skip it and go to the section below.  There are hundreds on the forum.  luckily there are those who understand and keep the forum and mvbd alive. (Google translated)

47

(8 replies, posted in General)

k245 thank you.

48

(8 replies, posted in General)

Can someone help me to use script for changing the Style of the Form ? I like to give the option for my customer to has he's own choice . I don't want to use the Styles option from the Menu.
Please work on my example. Thank you

49

(2 replies, posted in General)

Just beautiful.

50

(4 replies, posted in General)

Sparrow it works perfect. Thank you so much.!