NetTalk Central

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.


Messages - kashiash

Pages: [1] 2 3 4
1
i use Nettalk6. 38

2
The Rest - Ask For Help / how to refresh few browse controls after update
« on: October 03, 2013, 04:45:24 AM »
I have update form with few child browse controls. I have only edit posibility on one of them.
I want to refres all child browses when user insert new record to editable browse
how to do this ?

3
Web Server - Ask For Help / Re: Browse refresh
« on: July 26, 2012, 01:35:03 PM »
Hi Bruce
I have the same problem.
When i press next or last then nothing happens ;(. but when i press refresh on web browser my app display correct data (like after last button press).
locators dont work (till i press refresh)
I dont use xhtml.
My tables are in ms sql, and i have conditional filters on this browse i.e. : 'DS_2:Customer= ' & p_web.GSV('Customer') & ' and DS_2:Status = 20434'
whats wrong

4
Web Server - Ask For Help / Re: Edit page select another record - why?
« on: April 05, 2011, 03:52:59 PM »
Thank you for this advice. This have a sense ;) but
i need to check if user can copy this record!
where put code to check and how to redirect to other page  if check false ?

5
Web Server - Ask For Help / Edit page select another record - why?
« on: March 23, 2011, 03:02:32 AM »
I have table with insurance policy. When user enter on the form, there are RENEW button and i add new record to the same table. next user press Save button.
In Url on Save i wrote : 'FormKalkulacjeTAB?&WSK:IDWNIOSKU='& p_web.GetSessionValue('WznawianyWniosek')& '&Change_btn=Change&',
value in WznawianyWniosek is correct and contains new record ID.
URL on save looks like below
http://.../FormKalkulacjeTAB?&WSK:IDWNIOSKU=20110323103663277850xxx1xxx1xxx11000&Change_btn=Change&

but when FormKalkulacjeTAB is opened i getanother record in this form - with other ID then 20110323103663277850xxx1xxx1xxx11000
on this procedure there are no extra embed code  - just pure NTWS Edit Procedure

whats wrong ?

6
i wrote this code in message (not copy from clarion) and make mistake, in original code in clarion is ok. There is no problem ;)

7
I have memory based form procedure, where user enetr few data values and have button next.
On button NEXT i want call my function :

WznawianyWniosek = myfunction(locparam1,locparam2)
 p_web.SetSessionValue('WznawianyWniosek,WznawianyWniosek')

This function return id record to be edited, and should open another for for edit record with calculated ID

URL should be look like below:

FormKalkulacjeTAB?&WSK:IDWNIOSKU='& p_web.GetSessionValue('WznawianyWniosek')& '&Change_btn=Change&

I put code as ServerCode for Next button, but where/how call next page with updated URL ?

8
BINGO ;)
thanks a lot

9
Unfortunatelly  you not understand me (its my bad english ;()
i open the same form from few other browses or forms
and in almost all cases i want to back to caller but in two cases i want to go to other then parent page.
here i can 2 ways:
1. in each procedure i set returnurl as sugested Kevin , but i have to modify each parent procedure
2 in called page i check who me call and if its specific parent then i change return page to new page (instead parent) - but here i need to know who is my parent

the second solution looks better for me but i cannot determine parent
here is my problem
any ideas?

10
Yes its a option but ...
 system know where should return after ok or cancel .. somewhere this information is stored and i want to get this value and use it. the extra variables and extra code make program more complicated nad less flexible

11
Web Server - Ask For Help / Re: why my form is not primed ?
« on: May 24, 2010, 10:15:06 PM »
this form is called in few ways also from browse or from child browse from another form with standard inset button and as form without browse
in all cases this behave the same ..but not as i expect

there post after insert button:

POST /UpdatePojazdyDAS HTTP/1.1
Host: jacekkosinski.com:88
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
Referer: http://jacekkosinski.com:88/UpdateDAS
Content-Length: 406
Cache-Control: max-age=0
Origin: http://jacekkosinski.com:88
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
Cookie: SESSIONID=972270418

FormState=MLFFGBWFFI&DAS__IdWariantu=1&DAS__DataZawarciaUbezp=&DAS__DataPoczUbezp=&DAS__DATAKONCUBEZP=&BrowseOsobyWnioskiDAS%3ANoForm=1&BrowseOsobyWnioskiDAS%3AFormName=UpdateDAS_frm&BrowsePojazdyDAS%3ANoForm=1&BrowsePojazdyDAS%3AFormName=UpdateDAS_frm&DAS__SumaUbezp=0.00&DAS__UWAGI=&DAS__ID=20100525081380229770xxx1xxx1xxx11000&DAS__IdWniosku=20100525081380229770xxx1xxx1xxx11000&pressedButton=insert_btn


if is called from no child browse:

POST /UpdatePojazdyDAS HTTP/1.1
Host: jacekkosinski.com:88
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
Referer: http://jacekkosinski.com:88/BrowsePojazdyDAS
Content-Length: 24
Cache-Control: max-age=0
Origin: http://jacekkosinski.com:88
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
Cookie: SESSIONID=130000418

pressedButton=insert_btn

and another form procedure with the same problem

POST /UpdateOsobyGAP HTTP/1.1
Host: jacekkosinski.com:88
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
Referer: http://jacekkosinski.com:88/BrowseOsobyGAP
Content-Length: 24
Cache-Control: max-age=0
Origin: http://jacekkosinski.com:88
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.3
Cookie: SESSIONID=130000418

pressedButton=insert_btn

12
Bruce
as i see in source loc:parent is declared for browse procedure
for form this variable is not declared

To Kevin:
i copy code into pre insert and pre update embeds, but also get empty string ;(

13
i need to know parent name in form page
i try check vaulues on init form routine:
   p_web.GetSessionValue('_ParentProc')
   p_web.formsettings.parentpage
   p_web.GetValue('_ParentProc')

and every of above retur empty string  - why ?

14
I mean all columns
Thanks Bruce

15
Web Server - Ask For Help / problem with multi dll app
« on: May 23, 2010, 09:25:09 AM »
i'm trying to create multi dll app
when i try use one procedure from one app into second then the second displaying Unknow procedure label for each procedure in firs app even i dont want to use them in second app
i do something wrong  or this a "feature" of NTWS ?

i get the same error in example app - in attachment

[attachment deleted by admin]

Pages: [1] 2 3 4