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

Pages: [1] 2
1
The Rest - Ask For Help / Re: NetSimple Server
« on: July 03, 2008, 12:29:16 PM »
What I have done is configure a COM port using WinEvent to capture my GPS data. You will have to write a configuration routine, store the COM port Baud rates, etc, and read that data in to init the COM port. Then I listen in my timer.  I look for the $GPRMS in my incoming stream (This has the Lat, Long, Speed, Direction) and then wait for the ending <10> char, at which point I pass the string to a routine to parse the $GPRMS NEMA sentence, and do what ever, display, transmit (via Nettalk) the data.

I hope that helps some.

Paul Crafton

2
Web Server - Ask For Help / Re: Default Button on a Form
« on: April 24, 2008, 04:34:19 AM »
Once the desired fields are entered, the user clicks FIND ( I want enter to cause the default button to fire). Then the user clicks on Show Results which displays the table in image #2. By clicking on the hyperlink in the table on the second web page, the third web page (image #3)  is generated on the fly and is displayed.

attached are the images of the form, and other web pages (for reference, they work great)



[attachment deleted by admin]

3
Web Server - Ask For Help / Re: Default Button on a Form
« on: April 23, 2008, 07:18:34 AM »
I checked that, the first button (a submit button) has default check, the second(a button type) does not. But when the form is displayed, the second is the one with focus not the first.

Paul

4
Web Server - Ask For Help / Re: Default Button on a Form
« on: April 22, 2008, 08:12:09 AM »
Bruce:

originally they were both submit, but I changed one to button(the second one), and the second one is still the default, not the one I selected.

Is there a way for me to add additional code to the onClick event for the first button? I could tag on a javascript function to do what I need, and get rid of the second button?

Paul Crafton

5
Web Server - Ask For Help / Default Button on a Form
« on: April 21, 2008, 02:29:03 PM »
4.30:

I have a memory form with a "FIND" button and a "SHOW RESULTS" button, both on the same line. I have the FIND button checked as default, but the SHOW RESULTS button is showing as the default (both IE and FF). Is this a known problem, as
my users will want to hit the ENTER key and not click FIND. or have I forgotten to do something?

Regards

Paul Crafton

6
ok. Let me clarify...I am passing a value back to a form from another page. I retrieve that session value and populate a field on my form. I guess what I want to do is auto submit my form if a particular field has a value in it, forget about the second button issue.


Thanks for being interested.

Paul Crafton

7
Nettalk 4.30

I am passing data to a form from another web page, having done that,  how do I , or can I, programmatically click two buttons on the form. One is the Query(Display), and the Other is a Link(Display) to the web server to serve up the created web page with the results?

Regards

Paul Crafton

8
Bruce:

as per normal you are a genius with the quick reply.

Paul

9
Where would I put a Prop:Sql SELECT statement in the WebBrowse for record retrieval? If I am not mistaken that would speed up retrieval of my browse records. SQL seem to run fairly slow if I use Prop:filter.

Regards

Paul Crafton
PTS Solutions

10
Web Server - Ask For Help / using stored procedures with web server
« on: March 05, 2008, 06:55:30 AM »
Using 4.29 and M$ SQL Server 2005...

has anyone used stored procedures for data retrieval/processing with the Web Server?

I want to speed things up a bit and let the SQL backend do most of the work, instead of bogging down the webserver.

Paul

11
Web Server - Ask For Help / Re: call login form on error condition
« on: March 03, 2008, 08:29:08 AM »
Bruce:

no...actually example 3 and 7 do what I want, I just did not look closely at them. I changed my code to react to the alert and variable as explained in example 3.

Thanks


12
Web Server - Ask For Help / call login form on error condition
« on: February 28, 2008, 03:10:46 PM »
I have this code in the Validate Update 2 End embed:


!Get login credentials
 loclogin = upper(p_web.GetSessionValue('USERID'))
 locpwd   = upper(p_web.GetSessionValue('PWD'))
 If LocLogin <> ''
    access:pw.open()
    access:pw.UseFile()
    set(PW:KeyName,PW:KeyName)
    loginok = false
    PW:NAME=upper(p_web.getsessionvalue('USERID'))
    PW:PW=UPPER(p_web.getsessionvalue('PWD'))
    loop until Access:pw.Next()
    if upper(PW:NAME) = upper(loclogin) and upper(pw:pw) = upper(locpwd) then
      p_web.ValidateLogin()
      loginok = true
      break
    else
      cycle
    end
    end
 END
 if loginok = true then
    p_web.SetSessionLoggedIn(1)
    !stop('Logged In')
 elsif loginok = false
     p_web.SetSessionLoggedIn(0)
     stop('Not Logged in')
     packet = clip(packet)&'<!-- Net:LoginForm --><br /><H4> Login failed , please retry.</H4>'
     do SendPacket
 End !If
 access:pw.Close()

Everything works great except:

 at the loginok = false check I want to reload the LoginForm, but it is not working. Please advise of the proper way to do this

regards

Paul Crafton

13
Web Server - Ask For Help / Re: Server variables
« on: November 14, 2007, 06:11:39 AM »
The nettalk object (netsimple) has NETOPTIONS DLL functions you can use. Checkout the Common Features (third item in the docs page). You may have to have an netsimple object on the webserver and exchange a poll or something with requestors to get tthe information you need.


Paul

14
Web Server - Share Knowledge / Re: Advanced Searching with NetWeb Server
« on: November 13, 2007, 07:04:32 AM »
John:

thanks for the example. You mention passing the custom filter to the browse , how did you do that?

Regards

Paul Crafton

15
The Rest - Ask For Help / Re: connecting to multiple servers
« on: October 31, 2007, 10:00:42 AM »
Bruce:

Using The Multiclient object worked perfectly, and wasn't that hard to implement. Thanks for the heads up. Since it uses queues does it work in the same manner as wholepacketqueues in netsimple?

Thanks once again

Paul

Pages: [1] 2