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.


Topics - charl99

Pages: [1] 2 3
1
Web Server - Ask For Help / Web14 - PDFReportRequiresPDFTools
« on: May 31, 2013, 04:41:30 AM »
Hi Bruce,

I think I am getting old, done this a few times but for some reason can't spot a problem.

Could you please post the example here, the last build I have NT 7.10 example is broken and it does not want to work as per book.  ( PDFTools 4.1, Clarion 8 )

Thanks
Charl

2
Hi,

I am sure I saw something like this, but my memory is weak...

    Image:QuoteNo = p_web.gsv('q:quoteno')
    p_web.ssv('Image:QuoteNo',Image:QuoteNo)

Is there a one liner to do this, ie take the value of    p_web.gsv('q:quoteno')

and assign it to  Image:QuoteNo   and it's   Session Value?

Thanks
Charl

3
Web Server - Ask For Help / Refresh whole Browse after server code run
« on: January 16, 2013, 05:52:15 AM »
Hi Bruce and all,

When I have an 'Other' button (Action 'Other') on a Browse, I have a client side tab available where I can check the Refresh whole Browse after server code run.

Now, typically me, I have an Action: 'Change' Button on a Browse, but then I do not have the client side tab available.  When I change the record then I change the status on the row, and then I would like to refresh the Browse to go to a different tab on the Browse.  I change the filter on the Browse and so forth, but I do not know how to refresh the Browse to go to the new tab on the Browse.

Any ideas?

Thanks
Charl

4
Web Server - Ask For Help / Browse Row CSS Classes
« on: January 14, 2013, 03:59:46 AM »
Hi,

I would like to change the color of a Browse Row to 'Green' if 2 conditions are met, eg

if (q:BrokerDone=1 and q:Status='B') then 'Green'.

This obviously gives an error.  Does anybody know how I can do this?

Thanks

Charl

5
Web Server - Ask For Help / SessionID
« on: January 08, 2013, 03:42:20 AM »
Hi All,

I have SessionID defined in a In Memory table in my dictionary as STRING(256).  Normally I would define it as a CSTRING but for some reason I did not (I think I read it somewhere).

Anyway, in my NetWebBrowse I defined filter as:

'WQUD:SessionID = ' & p_web.SessionID

and I tried

'WQUD:SessionID = <39>' & p_web.SessionID &'<39>'

Neither wants to work, so added the following in the Validate Record Embed point:

 if clip(WQUD:SessionId) <> clip(p_web.SessionID) then cycle.


Which then work.  So the question is, can I perhaps FIX the filter?

Thanks
Charl

6
Web Server - Ask For Help / NT7 OK.
« on: December 21, 2012, 07:22:21 AM »
Gosh, can anyone please post something like this so I can go on to it?   ;D

Cheers
Charl

7
Web Server - Ask For Help / Update Parent Browse - Accounts Example web31
« on: December 10, 2012, 02:09:45 AM »
Hi,

I have a similar Parent Browse -> Child Browse as per Invoices Browse in the above example.

When I update the Line Items Browse, I would like to update the Invoices Browse (the Total) as well.  This does not happen in the example, unless I press the Invoices Menu Item again (or indeed refresh in the browser in my case).  I have 'Other' Buttons on the Child Browse though.

I have tried this:

  ! End of "After Validate New Value"
  Loc:Eip = 0
  do CallBrowse
  ! Start of "After Data Refreshed"
  ! [Priority 5000]
 
    p_web.setValue('_ParentProc','')           ! Next 3 lines my Code which I saw in the web31 example, but this does not work
    p_web.DeleteValue('_EIPClm')         
    WBrowseNewSections(p_web)
   
  ! End of "After Data Refreshed"

Please, how can I do this?

Thanks

Charl

8
Web Server - Ask For Help / Form with 2nd File
« on: November 21, 2012, 05:39:03 AM »
Hi,

I thought I figured this out, but I'm hitting a snag:-

I have a simple Form that updates the Quotes file.
On this Form I populate the Client File as well.

Now, once I press on Save, I want to access:client.insert(), which works fine (in the Validate Insert embed point) and now I have my Client No, but then I want to say q:clientno = cli:clientno, or p_web.ssv('q:clientno',cli:clientno).

For the life of me I tried everything, I can't find the place to put that code so that it work.  I simply end up with no Client No in the Quotes file.

Please help.

Thanks
Charl

9
Web Server - Ask For Help / Report Progress Bar - In Browse Row?
« on: November 15, 2012, 06:35:51 AM »
Hi Bruce,

(1) It does not appear that a Print Button in a Browse row can have a progress bar.  (a) Is that correct or (b) is that why we wait for NT7?  ;)

(2) If the Print Button is conditional on the Browse, I do not really want to move it to the Frame (the Form in which this Browse is embedded), but if there is no other option, can this be done? ie, hide/unhide (for lack of a better word) the Button as a row is selected? 

Thanks
Charl

10
Web Server - Ask For Help / Read Only If Condition
« on: November 13, 2012, 04:05:25 AM »
Hi Bruce,

I noticed it before, but forgot about it.  There appears to a bug in the above in the Read Only IF: Condition

inlist(p_web.gsv('OQ:OptionType')=1,4,8) only work for the first item, ie 1.

whereas

p_web.gsv('OQ:OptionType')=1 or p_web.gsv('OQ:OptionType')=4 or p_web.gsv('OQ:OptionType')=8

works.

Thanks
Charl

PS. I did not bother to make an example as this is straightforward.



11
Web Server - Ask For Help / Filter Field on a Lookup Field
« on: November 06, 2012, 04:08:48 AM »
Hi Bruce,

I cannot see a Filter on a Lookup Button, and ideally I would not like to put the Filter on the Browse as this will mean I have to create a Browse for each time the filter is different.

Can you please put a Filter on the Lookup Button or suggest how I go about it?

Thanks
Charl


12
Web Server - Ask For Help / Reports - Progress Bar
« on: October 25, 2012, 05:31:15 AM »
Hi Bruce,

It seems that reports where the 'Allow Multiple Starts' option is on does not go to the .Kill routine, therefore the 'Click here to download file' does not appear on the web.  Could you please tweak the code a bit.

While I am on this, could you please also add an option for the 'Click here to download file' message to disappear once it has been clicked, as most of the time the pdf will anyway be deleted after it has been clicked.

Thanks a million times.

Cheers
Charl

13
After updating to NT 6.47, C8:

UPDATE OF WEB FOLDER REQUIRED - Try pressing Ctrl-F5. Server is on version 6.48 but web folder is on version 6.47

Guess a small niggling problem.

Thanks
Charl

14
Web Server - Ask For Help / Report Progress Bars - OnClick Procedure
« on: October 11, 2012, 06:54:41 AM »
Hi Bruce,

I've built a generic Report Form, so I can call many Reports from here.

Question is, will it be possible for you to change the OnClick Procedure so I can put something like p_web.gsv('Proc') there?  Or some other way perhaps?

Thanks
Charl

15
Web Server - Ask For Help / FireFox Printing to PDF problem
« on: October 04, 2012, 09:48:47 PM »
Hi,

I recently find that printing to PDF does not want to work in Firefox.  Safari and IE seems fine.  Please see attachment.

FireFox 15.0.1, NetTalk 6.46, Windows7 64bit, C8.0.8973

Any ideas please?

Cheers
Charl

[attachment deleted by admin]

Pages: [1] 2 3