26

(5 replies, posted in Script)

Hi,

Have searched the forum but i didn´t find anything.

In a Tablegrid i show a field value of a checkbox in an column. It shows 'Yes' or 'No' depending if it´s ckecked or not.

Everything on my form including the tablegrid is in Swedish so i really want to show the swedish translation of 'Yes' and 'No'.

Is it possible and if it is, how do i implement it?

Regards

27

(3 replies, posted in General)

Hi again,

After a good nights sleep and a restart of both me an my PC i tryed it again and it did work??? Strange.

When you import there is [Skip] in the first row of every column. What does it mean? If you skip to give it a name corresponding to a field in the database it doesn´t work.

Sorry that i didn´t test i more before i put it on the forum.

Hedan

28

(3 replies, posted in General)

Hi,

The new import function in 5.4 does not work for me. The function hangs in the dialog where i choose the CSV-file or when the function tryes to read the CSV- file.

If i run my project in 5.4 Beta everything works just fine.

Maybe something to look in to

Hedan

29

(5 replies, posted in Script)

Hi Derek,

Ok, i hear you. mayby not my best idea. :-)

30

(5 replies, posted in Script)

Hi, again.. Thank´s for answer...

That was a part of the problem...

'Form1.ComboBox1.ItemIndex := 2' is pointing to the second value in the list, but i don´t know what indexnumber it has??

For explanation.

I register a purchase in my database, and if the Company is 'Drive Software" i know that the category for the purchase should be 'Software".
How do i get the index number for 'Software" in the dictionary table? Is i possible to scan through the list to find the Index?

31

(5 replies, posted in Script)

As a beginner this mayby have a Obvious solution, but i can´t get hold of it.
I have a form with a ComboBox with values from a directory table.

'Value 1'
'Value 2'
'Value 3'
'value 4'

Depending of what i enter in another field [FIELD 1]  in the form i want to fill in the ComboBox automatically with one of the values contained in the ComboBox.

If Value of FIELD 1 = 'A known keyword'' Then fill the ComboBox with the value 'Value 3'

Form1.ComboBox1.Text := *Value 3',
Form1.ComboBox1.Value := *Value 3',

Does not work. It must have something to do with the directory table index, or..??

Hope someone gets my problem