keyuser.tdtt
31st July 2008, 18:53
I am a beginner in Tools development and trying to learn event oriented programming..

In my first exercise

1.
I have created one form dmoes8102m0001 of type 4(Single-Occ) with two fieldss of Kiloes and Miles. I have also entered choice field here..Form looks like as below.

Kilos : FFFFFFFFFFFFF

Miles: FFFFFFFFFFFFF

VVVVVVVVV C

2.

I have created one program script dmoes8102 with type 4 without main table. In the declaration section of this script, I have defined kilos and miles with appropirate domain. Compiled the script.


3
Created one Maintain session deoes8102m000. Linked above form and script with the session. and compiled the session.

Now when I run session, it does not do anything. It just displays as follow

Kilos : 0.00
Miles: 0.00

It does not display choice field and does not allow inputs.

From above, I understand that I have to enter choice field in main script..

Will anybody please guide me what is missing from the script?

Thank you in advance and regards

mark_h
31st July 2008, 18:59
Did you set the standard options on the form? In maintain forms there is a button that says Standard Opt. - click on that. Then set the options you want available - you can use help to learn about the options. In this case you want at least modify turned on.

bdittmar
31st July 2008, 19:07
I am a beginner in Tools development and trying to learn event oriented programming..

In my first exercise

1.
I have created one form dmoes8102m0001 of type 4(Single-Occ) with two fieldss of Kiloes and Miles. I have also entered choice field here..Form looks like as below.

Kilos : FFFFFFFFFFFFF

Miles: FFFFFFFFFFFFF

VVVVVVVVV C

2.

I have created one program script dmoes8102 with type 4 without main table. In the declaration section of this script, I have defined kilos and miles with appropirate domain. Compiled the script.


3
Created one Maintain session deoes8102m000. Linked above form and script with the session. and compiled the session.

Now when I run session, it does not do anything. It just displays as follow

Kilos : 0.00
Miles: 0.00

It does not display choice field and does not allow inputs.

From above, I understand that I have to enter choice field in main script..

Will anybody please guide me what is missing from the script?

Thank you in advance and regards

Hello,

how does the session object look like, and what are the enabled form standard options ?

Are the fields on form defined as INPUT fields ?

How are kilo and miles are declared ?

aso.......

Post your code and someone will have a look at.

Regards

keyuser.tdtt
31st July 2008, 23:52
Thank you Mark and bdittmar. You ppl are doing great service by sharing ur knowledge and experiences. Let me know please do u have any book with practical examples (like dummy series) to learn BaaN programming..

Mark I turned the modify option and it worked.