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 - terryd

Pages: 1 ... 49 50 [51]
751
Web Server - Ask For Help / Browse and child problem (alaWeb25 example)
« on: October 26, 2008, 03:15:50 AM »
Nettalk4 PR17
I am trying to create a browse and child browse on the same page (ala WEB25).
My parent and child display. As I click on a parent other than the parent already selected by the procedure nothing changes to the child iow the same child records displayed for the original parent.
If I click on a sort header on the child after selecting another parent then the correct child records for the new parent appear.
It seems as if after I click on the parent some action is missing to change the parent unique id.
If e.g. I click on a parent record then go back to my menu and then back into the browse again the parent I selected is highlighted and the related child records for that parent are correctly displayed.
Get on webserver on Web25 when click on a new parent
GET /browselineitems_browseinvoices?refresh=INV:ID&INV__ID=2&_ParentProc=BrowseInvoices&_Silent=0&_= HTTP/1.1
Get on my webserver when click on new parent
GET /productbrowse?_Clicked=1&id=PRO:ProductID&Value=5&_ParentProc=&_= HTTP/1.1
What am I missing?

752
Nettalk 431
Clarion 6.3 build 9056
I have a NetWeb Browse on a Stock file which is range limited by e.g. Warehouse.
I have a field in the Stock file which contains  a code for a customer to which the stock is allocated.
My query: I want to only display on the browse those records in the range limited warehouse which have been allocated to a specific customer.
In Standard Clarion I would create a select customer button on the browse allowing me to filter the warehouse to the selected 
customer's records, or else create a window called in the procedure setup embed point and pass a parameter which I would then use to filter the records
How would I do this in Nettalk?
I would like to do this either before the browse displays or to call a lookup on the browse

753
In webserver example 13 there is an extension on a report called
Nettalk extension to Report Procedure with SV PDF generator.
As I understand it this is supposed to print a message saying 'no records'
or to display source code with what wording I want to display.
I am not getting any message instead 'Error 404 page cannot be found' is
displayed.
Anyone got a solution?
If there are records than the report prints correctly

Terry Davidson Windows XP Clarion Build 9056 ABC

754
 I am trying to insert a record to a related table
Parent record has a unique field called DOC:DocumentID
 Child record has fields
 CHI:ChildID (unique auto numbered)
 CHI:DocumentID (relation to parent)
 CHI:Date
 CHI:Time
 CHI:Comment
If I Insert a record in the child table I prime the date and time as normal
in the advanced tab and in Example 21 I can see that the corresponding
relation variable is
primed with p_web.GetValue('Inv:ID')
However if I have the related child records on the same browse as the parent
record rather than on the parent update form no DOC:DocumentID value is
passed in the HTTP POST.
Which embed should I use in which I could set a session value when a new
parent record  is selected.  I would then set a session value
p_web.SetSessionValue('DocumentID')
--
Terry Davidson Windows XP Clarion Build 9056 ABC

Pages: 1 ... 49 50 [51]