Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Jon Toomsen

#1
html and program
[ttl]Grid[/ttl]
[form]
[grid MyGrid program="myprog;makegrid" size=auto/20 ]
[col Source=ItemCode$ ttl="ItemCode" width=30 ]
[col Source=ItemName$ ttl="Name" width=50]
[col Source=ItemType$ ttl="Type" width=5]
[/grid]
[/form]

! myprog (placed in the prog directory)
MAKEGRID:
  enter MYGRID
  open (hfn,iol=GRIDIOL)"*memory*"
  let MYGRID=lfo
  while 1
  read data iol=GRIDIOL,end=*break
  write (MYGRID)
  wend
!
  exit
!
  data "item1","First Item","A"
  data "item2","Second Item","B"
  data "item3","Third Item","A"
  data "item4","Last Item","C"
!
GRIDIOL:
  iolist ITEMCODE$,ITEMNAME$,ITEMTYPE$
!
#2
this is what I get using html and prog - see attached
</span><br /><span>   </span><br /><span>   </span><br /><span>
</span><br /><span>   </span><br /><span>   </span><br /><span>
</span><br /><span>   </span><br /><span>   </span><br /><span>
</span><br /><span>   </span><br /><span>   </span><br /><span>
#3
Get the shell of the grid - column titles but the grid is not populated.
Nothing in red is displayed
#4
added quotes - it is not a channel no ( was a typo earlier )
#5
[form] was needed now a shell of the grid is shown.

Now I have internetitem not found in dictionary.
have tried both ways - program= and the execute statement

I have an application library under the prog folder.
The query for internetitem works.

.
#6
<!DOCTYPE html>
<html>
<head>
</head>
<body>
[ttl]Grid[/ttl]<br>
[grid MyGrid program="myprog.pxp;makegrid" size=auto/20 ]
[col Source=ItemCode$ ttl="ItemCode" width=30 ]
[col Source=ItemName$ ttl="Name" width=50]
[col Source=ItemType$ ttl="Type" width=2]
[/grid]
</body>
</html>



! myprog.pxp
MAKEGRID:
OPEN (HFN,IOL=GRIDIOL)"*memory*"
LET MYGRID=LFO
SELECT * FROM INTERNETITEM
WRITE (MYGRID)
NEXT RECORD
EXIT
GRIDIOL:IOLIST ITEMCODE$,ITEMNAME$,ITEMTYPE$
!


#7
Webster Plus / Loading list from program carList$
January 30, 2024, 10:50:32 AM
!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>[ttl]Cars[/ttl]</p>
<p>[form]</p>
<p>[list Cars$ program=myprog;makecarlist][data rowsep=/]carList$[/data][/list] <br />[list Cars2$][data rowsep=/]Ford/Gm/Audi/Volvo[/data][/list] [/form]</p>
</body>
</html>

Program myprog

MAKECARLIST:
CARLIST$="Ford/Gm/Audi/Volvo/"
EXIT
#8
if the Ide is not in use the ezweb actions act normally as you would expect.
if the Ide is launched the ezweb introduces a pause for actions.
The admin logon user - Last known IP address:   ::ffff:127.0.0.1 in either case.
#9
I switched from 32 bit to 64 bit doing a fresh install.
Other programs work well its just webster taking so long.
Disabled anti virus for a while - did not make any difference.
#10
Running Windows 10.
I've switched pxplus from basic to web 64 bit.
Installed Webster plus using pxplus ez web server.
Update Lib and Editors.
It takes about 20 seconds to switch from inspector to setup.
Any action takes as long. When using basic did not take so long. Both versions are 2023.
#11
Webster Plus / Re: short code [list]
January 17, 2024, 09:10:00 PM
Yes it all works - getting used to html again.
Thanks
#12
Webster Plus / short code [list]
January 17, 2024, 09:49:30 AM
Starting to test shortcode syntax - This does not work.
is there a declare I must use.


[list Cars$][data rowsep=/]Ford/Gm/Audi/Volvo[/data][/list]
#13
When you run a program from it the window that pops up is too short.
How do I change the length of the window
#14
When you run a program from it the window that pops up is too short.
How do I change the length of the window
#15
Webster Plus / webster plus to sage 100 ebusiness
February 16, 2023, 05:41:42 PM
What issues would I encounter if used pxplus webester plus for ebusiness web pages to Sage 100 and does it make any sense.
Using many of the routines in Sage 100 declared as an object for reading and updating a shopping cart then eventually a sales order.