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

Pages: 1 ... 715 716 [717] 718 719 ... 735
10741
Web Server - Ask For Help / Re: Memory Form Time Display (V4.29)
« on: March 07, 2008, 09:20:54 PM »
Hi Rob,

We're taking a year off this year to get some work done <g>.
But yes, I think some training next year is on the cards.

Cheers
Bruce

10742
News And Views / Re: NetTalk Version 4.30 pre-release 7 available
« on: March 07, 2008, 07:13:40 AM »
By now you're bored of my "this is the last" - but then again, "this is the last."

Cheers
Bruce

10743
Hi Paul,

I know precious little about stored procedures in MsSql. So my first question would be: How would you use them normally in Clarion? The answer to that is likely to be the same answer from the NetTalk perspective.

My guess at your answer is that you create a IMDD table, use the Stored Procedure to populate it, and go from there.

Cheers
Bruce

10744
Web Server - Ask For Help / Re: Memory Form Time Display (V4.29)
« on: March 05, 2008, 11:38:35 PM »
Hi Rob,

>> Did you know that my investment in NetTalk saved the US Governement about $1M?

I didn't, but I hope they sent some of that in your direction. Better yet, convince them to send some of it in my direction <bg>...

cheers
Bruce

10745
Web Server - Ask For Help / Re: Concurrency
« on: March 05, 2008, 03:02:11 AM »
Hi Vince,

At the moment, no. It makes no effort to make sure the record you are saving hasn't been edited in the meantime. There has been some lively discussion on this topic, and I'm not sure I 100% like this feature (after all, it doesn't warn you 20 seconds later if someone edits your record either.) However I have added this to the "to do" list.

Cheers
Bruce


10746
Web Server - Ask For Help / Re: Memory Form Time Display (V4.29)
« on: March 05, 2008, 02:59:52 AM »
Arg - I worte a long answer, but this daft forum software decided I couldn't attach an APP file, so threw the answer away as well...

In short though

a) you'll need version 4.30 Pre Release 7 or later

b) I've made the field priming tab on memory forms work - and added a feature to "only prime if it
doesn't already exist". So I've removed your hand-code to do that.

c) The send-new-value-to-server setting is not necessary for what you are doing, but doesn't hurt.

d) The bug you found started out small - but became quite complex to fix. I've done the fix though in 4.30 (Pr7). Thanks for the example it was really helpful.

e) your updated example is attached for your reference. Note particularly the code in the NetWebSource procedure.

Now that's the short answer -imagine what the long one was like ....

Cheers
Bruce


[attachment deleted by admin]

10747
Hi Ian,

Sorry for the delay, I've been a tad busy.

The bit you were missing was to set the content type _before_ the header was sent. Changing the netWebPage to other helped you do this.

Regarding the name - yes it will be difficult. The name it suggests is the name it "asked for". In order to get a different default name, it needs a different URL. That said you could add hand-code to the WebHandler procedure to "redirect" any number of names to your NetWebPage procedure.

Cheers
Bruce


10748
FTP - Ask For Help / Re: FTP Server
« on: March 04, 2008, 07:25:56 AM »
Hi Ian,

You could do it in Clarion, using NetTalk, but it would be a fair bit of work.
Basically you'd need to implement the FTP protocol (server side) using the NetTalk NetSimple class.

Cheers
Bruce


10749
Web Server - Ask For Help / Re: call login form on error condition
« on: March 02, 2008, 11:56:50 PM »
Hi Paul,

Example 7 has an example of the "standard" login, which does what you seem to be wanting... But I'm guessing you moved away from that approach for a reason?

Cheers
Bruce

10750
Web Server - Ask For Help / Re: Memory Form Time Display (V4.29)
« on: February 26, 2008, 10:39:30 PM »
Hi Rob,

I think I need to see an example of what you're doing. Without it, it's hard to say exactly where you're going wrong.

Cheers
Bruce

10751
Web Server - Ask For Help / Re: GAAA I've broken it!!!!
« on: February 25, 2008, 10:36:08 PM »
Hi Ian,

Go to the NetWeb source in question.
Tick on "Declare Globally".

Cheers
Bruce

10752
Hi John,

This could certainly be done using a well-formed url, ad web page, but I've not done an example of it yet. I'll put it on the list but my plate is getting very full at the moment. Perhaps someone else would care to step in with an example?

Cheers
Bruce


10753
Web Server - Ask For Help / Re: Returning Multiple Packets
« on: February 24, 2008, 10:43:09 PM »
Hi Devan,

I think the limit at the moment for a single "packet" is 16K. (This number doesn't actually mean anything - windows, routers, whatever, can all break packets apart and put others together. So 1 packet out does not necessarily mean 1 packet in the other side).

However you page can have as many packets as you like in it.
So all you need to do, is every so often, do a send.

In a NetWebPage this will most likely be
do SendPacket

ie your code can become

Loop recordptr = 1 to Records(somefilename)
  Get(somefilename, recordptr)
  packet = clip(packet) & '<tr>' & rec:somefieldsinhtmlformat & '</tr>'
  do SendPacket
End

cheers
Bruce

10754
Web Server - Ask For Help / Re: Noob Question how do I write CGI?
« on: February 21, 2008, 11:08:36 PM »
Hi Ian,

CGI is a technique used to generate dynamic pages when the server is "dumb". ie where the server has no dynamic-processing of it's own.

Certainly I could see the benefit in using existing CGI programs to create pages (although I've not done it myself yet, so the details would need to be worked out.)

However for "new" stuff you'd be much better off just using a NetWebPage template, hand-coding the HTML where necessary. This would be a lot faster on the server, and would also give you access to things like the SessionQueue.

Let me know what you have in mind for CGI and perhaps we can be a bit more specific.

Cheers
Bruce


10755
Web Server - Ask For Help / Re: Browse on a form with child browses
« on: February 21, 2008, 11:03:37 PM »
I think I'd need to see it to comment Ian.
Can you email me an example?

cheers
Bruce


Pages: 1 ... 715 716 [717] 718 719 ... 735