Baanboard.com

Go Back   Baanboard.com > Forum > Local User Groups & Software > Russia

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 21st November 2012, 06:53
Anton.k Anton.k is offline
Junior Member
 
Join Date: Nov 2012
Posts: 5
Anton.k is on a distinguished road
Baan: Baan 6(Infor ERP ln) - DB: Oracle - OS: Windows XP
Exclamation помощь программисту

Доброго времени суток.
Подскажите плиз, создаю в скрипте форму и на ней поле(глобальная переменная), после ввода на форме данные не сохраняются в переменной.

function create.prd()
{
show.mwindow()
fill.work.area()
handle.event.loop()
}

function show.mwindow()
{
long barmenu
toplevel = create.object( DsCmwindow, current.mwindow(),
DsNtitle, "Generate UID",
DsNprocessgroup, get.pgrp(pid),
DsNminWidth, 300,
DsNmaxWidth, 800,
DsNminHeight, 100,
DsNmaxHeight, 150)
}

function fill.work.area()
{
long rowcol
string listitems(300)
rowcol = create.object(DsCrowColumn, toplevel,
DsNvspace, 10,
DsNhspace, 10,
DsNnumColumns, 3,
DsNfixedDimension, DSHORIZONTAL )
frm.text = create.object(DsCfield, rowcol,
DsNheight, 20,
DsNmaxLength, 2,
DsNwidth, 20,
DsNstring, text
)
create.object(DsCpushButton, rowcol,
DsNstring, "Ok",
DsNreturnValue, COMMAND.EXIT)
update.object(toplevel)

}


function handle.event.loop()
{
long event(EVTMAXSIZE)
while TRUE
next.event(event)
on case evt.type(event)
case EVTPUSHBUTTON:
if (
evt.button.return(event) = COMMAND.EXIT ) then
change.object(frm.text, DsNstring,text)
update.object(frm.text)
message(text)|выводит пустое поле
return
endif
break
default:
break
endcase
endwhile
}
Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 14:01.


©2001-2017 - Baanboard.com - Baanforums.com