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

Pages: [1]
1
Web Server - Ask For Help / Re: Moving controls
« on: September 06, 2012, 07:57:40 AM »
Here is the example, i'm use Clarion 8, ok, please compiling and running, in the web page hit Login then in the Login area hit Login and BINGO!!

I hope this help

JM Villasenor

[attachment deleted by admin]

2
Web Server - Ask For Help / Moving controls
« on: September 05, 2012, 11:32:44 AM »
In the logon form i had 4 lines User, Password, Company and Remeber if i click Logon i get the error (normal) about some of the controls are required this is OK, but the new display is wrong pleas see the attach file any clue?

Thxs

JM Villasenor

[attachment deleted by admin]

3
Web Server - Ask For Help / Solution: Refresh Drop Field
« on: September 05, 2012, 08:36:42 AM »
Hi All,

In this moment works as i want, i do the following:

Create a Local Variable (CSTRING 255) to handle the Drop Filter
In the Drop Field filter i put this local variable in this case L:FILTER

In the Drop Field -> 4 Valur Routine (5000) i put the following Embed
!----Drop Filter
IF p_web.GetSessionValue ('F1:USER_ID') = 0
   L:FILTER = 'VIPR01:ALIAS_ID=0'
 ELSE
   L:FILTER = 'VIPR01:ALIAS_ID='&p_web.GetSessionValue ('F1:USER_ID')
END

In the Logon Filed -> 3 ValidateValue Routine (5000)
Here i put a code to check our users then
DO refresh::DROP_FIELD

Works!!!


4
Web Server - Ask For Help / Re: Refresh Drop Field
« on: September 04, 2012, 05:06:09 PM »
In which embed, i put the initial Filter in :
FIRMA_ALIAS = (Compoanies related)
Value Routine
  L:FILTER = ''VIPR01:ALIAS_ID =0'

in the start works fine, but when i get the User ID where i put the other embed.


5
Web Server - Ask For Help / Refresh Drop Field
« on: September 04, 2012, 08:14:38 AM »
Hi All

I am new in NetTalk and am converting one of application to web, well Logon startup I'm stuck and use the following:

 Logon:       Field
 Password: Field
 Company: Drop Field

The Logon User is typed and is looking in one Table, this apparently works. DONE!

in this embed we get the User ID, and we ​​use:
  p_web.SetSessionValue ('F1: USER_ID', F1: USER_ID)
and i get the correct ID.

In the Drop I have a filter:
 'VIPR01: ALIAS_ID =' & p_web.GetSessionValue ('F1: USER_ID')

What's going on:

Upon entering the Logon Form, and I click on the Drop of Company are as many names as I have in the table users, why?

After entering the Logon, does not filter or where I have to tell you to do a refresh to Drop?

Many thxs

JM Villasenor
Cancun, Mexico

Pages: [1]