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

Pages: 1 ... 34 35 [36] 37 38 ... 47
526
Web Server - Ask For Help / Re: Requiered Field Problem
« on: June 16, 2015, 03:18:13 AM »
@p###-##-####p and  @p(###)-###-####p or whatever picture, another problems with this is a place holder when have a field with this settings the field save a value of place holder and dont validate that is a blank field

527
Web Server - Ask For Help / Re: Required Field Problem
« on: June 12, 2015, 04:56:55 AM »
hi lanmicro, with extra code i can validate the field, but NT don't validate a Required field's if have any picture..

528
Web Server - Ask For Help / Requiered Field Problem
« on: June 11, 2015, 05:47:33 PM »
hi i have 2 fields with mask with requiered check but don't validate this fields i need to add extra verification in
validate Insert like this:

if Cat:SeguroSocial = '' or NULL(Cat:SeguroSocial)
    loc:Invalid = 'Cat:SeguroSocial'
    if not loc:alert then loc:alert = p_web.translate('Seguro Social:'). !& ' ' & p_web.site.RequiredText.
    EXIT
END
if Cat:Telefono = '' or NULL(Cat:Telefono)
    loc:Invalid = 'Cat:Telefono'
    if not loc:alert then loc:alert = p_web.translate('Telefono:'). !& ' ' & p_web.site.RequiredText.
    EXIT
END

without picture in a field validate work perfect.

NT 8.42

529
Web Server - Ask For Help / Re: Webservice Question
« on: April 25, 2015, 08:52:17 AM »
why example respose is duplicate detail??

Example Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<dbProduct_response xmlns="Database">
  <ProductDetails>
    <PRO_ID>value</PRO_ID>
    <PRO_NAME>value</PRO_NAME>
    <PRO_RRP>value</PRO_RRP>
  </ProductDetails>
  <ProductDetails>
    <PRO_ID>value</PRO_ID>
    <PRO_NAME>value</PRO_NAME>
    <PRO_RRP>value</PRO_RRP>
  </ProductDetails>
</dbProduct_response>

530
Web Server - Ask For Help / Re: WebService Security??
« on: April 21, 2015, 03:26:51 PM »
don't understand nothing, i need to pass user name and password and then validate user if valid return a web service call with parameter is failed return error with xml format?


531
Web Server - Ask For Help / Re: WebService Security??
« on: April 20, 2015, 04:34:40 PM »
any tips for this?? i have important project that required this feature and don't idea how for implement this security in webservice..

Thanks

532
Web Server - Ask For Help / Re: Self Service and MSSQL
« on: March 24, 2015, 05:51:19 PM »
 terryd, i have a webserver with SQLServer but not SelfService, use ABCFree and NT Service Extension, 3 companies running this settings over 3 year without problems.

533
Web Server - Ask For Help / Re: Webservice Question
« on: March 23, 2015, 03:05:27 AM »
i create another NetWebserviceMethod for a moment see image..

[attachment deleted by admin]

534
Web Server - Ask For Help / WebService Security??
« on: March 21, 2015, 01:37:55 PM »
somebody have a good sample for add security to a webservice and if fail return error.


535
Web Server - Ask For Help / Re: Webservice Question
« on: March 20, 2015, 05:02:51 AM »
i create a filter but only search by a column in a filter, i need to search for multiples fields or combination of fields
thanks

536
Web Server - Ask For Help / Webservice Question
« on: March 19, 2015, 07:06:57 AM »
how i can configure webservice for find(get) for more than column?? example

http://localhost:88/CasosServiceCatastroCasos?numerocontrol=2012-00019

this is my primary key and work


http://localhost:88/CasosServiceCatastroCasos?NUMEROCATASTRO=157-000-001-56-000
with this parameter don't work

537
Web Server - Ask For Help / Re: File Upload Problem
« on: March 11, 2015, 08:38:37 AM »
don't work entirely, if upload a pdf fine, but any image failed

538
Web Server - Ask For Help / Re: File Upload Problem
« on: March 11, 2015, 07:20:07 AM »
another issue, the technique of NT for save a blob in sql server save a corrupt file but with this code in Valide Insert Routine work perfect:

i#=FileToBLOB(p_web.GSV('Cod:DocumentDescription'),Cod:DocumentContent)

539
Web Server - Ask For Help / Re: File Upload Problem
« on: March 11, 2015, 05:25:46 AM »
this code cause the problem:

If Duplicate(Doc:PK_Documents)

i think that the problem is because i have a identity field for my primary key, and this moment the value is 0 and cause the error.

540
Web Server - Ask For Help / Re: File Upload Problem
« on: March 11, 2015, 05:11:59 AM »
i see the CheckForDuplicate  Routine delete the value of blob field with sql server i add this codefor ommit the routine and work:

what is wrong?

CheckForDuplicate  Routine
  If loc:invalid <> '' then exit. ! no need to check, record is already invalid
  If ans = 0 then exit. ! no need to check, as no action happening
  ! Start of "On Insert / Copy / Update : Checking for Duplicate : before disk write (start)"
  ! [Priority 5000]
  if 0=1
  ! End of "On Insert / Copy / Update : Checking for Duplicate : before disk write (start)"
  If p_web.GetSessionValue('UpdateDocuments:Primed') = 0 and Ans = Net:InsertRecord
    Get(Documents,0)
  End
  ! Check for duplicates
  If Duplicate(Doc:PK_Documents)
    loc:Invalid = 'Doc:DocId'
    if not loc:alert then loc:Alert = clip(p_web.site.DuplicateText) & ' PK_Documents --> '&clip('Doc Id:')&' = ' & clip(Doc:DocId).
  End
  ! Start of "On Insert / Copy / Update : Checking for Duplicate : before disk write (end)"
  ! [Priority 5000]
  end

Pages: 1 ... 34 35 [36] 37 38 ... 47