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 - Johan van Zyl

Pages: 1 ... 8 9 [10] 11 12
136
Web Server - Ask For Help / The page cannot be found
« on: January 09, 2012, 04:58:40 AM »
IncidentsOptionsForm calls URL IncidentsOptionsPrint (yes the URL is spelled correctly)
NetTalk Extension has been added to Report to PDF in IncidentsOptionsPrint
IncidentsOptionsForm also has IncidentsOptionsPrint in its procedure list

but I get
http://127.0.0.1:88/IncidentsOptionsPrint
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

So what else could I have done wrong?



137
Web Server - Ask For Help / Compile errors Print Procedure
« on: January 06, 2012, 12:29:09 AM »
Copied (<NetWebServerWorker p_web>) into Prototype field from another virtually identical procedure.

Prototype is: STAFFREDFLAGGEDOPTIONSPRINT(<NETWEBSERVERWORKER>) - C:\Clarion8Projects\ProjectsJVZ\PlanAHead\CallCenter\callw068.clw:2271,29

StaffRedFlaggedOptionsPrint PROCEDURE

  ! The NetTalk Extension to report procedure has been added to this procedure.
  ! This means that p_web must be passed to this procedure. So the prototype should
  ! look like this:
  ! <(NetWebServerWorker p_web)>   ! <---- this here - maybe (<NetWebServerWorker p_web>) ?

138
Web Server - Ask For Help / Re: Running Source Procedure from menu
« on: January 05, 2012, 09:01:19 AM »
Thx Bruce

On this WebForm, can I have various Start buttons ie from one form run different Source Procedures?

139
Web Server - Ask For Help / Running Source Procedure from menu
« on: January 05, 2012, 06:09:21 AM »
I would like this code to execute, preferably from a Menu Choice
eg Utilities/Fix Employees
but apparently one cannot call a Source procedure from a menu choice?
So how and where can I go about it?

    set(Employees)
    loop until Access:Employees.Next()

        If   clip(EMP:EmployeeLastName) ='' or len(clip(EMP:EmployeeLastName)) = 1
              EMP:EmployeeLastName = '* Last Name Field EMPTY *'
        end
         EMP:EmployeeCombinedName = clip(EMP:EmployeeLastName)&' '&clip(EMP:EmployeeInitials)&' '&(EMP:EmployeeTitle)&' '&clip(EMP:AlsoKnownAs)
           IF EMP:IsPostalSameAsPhysical
              EMP:PostalAddress1 = EMP:PhysicalAddress1
              EMP:PostalAddress2 = EMP:PhysicalAddress2
              EMP:PostalAddress3 = EMP:PhysicalAddress3
              EMP:PostalAddressPCode = EMP:PhysicalAddressPCode
            end
        Access:Employees.Update()
       
    end
   
Thx

140
Web Server - Ask For Help / Update data on disk while using spinbox?
« on: December 20, 2011, 03:24:10 AM »
Will this possible?
see attached

Trigger in file adds days to Date Req From to get Date Req To -1

Otherwise after spinning just click anywhere else?

[attachment deleted by admin]

141
This works - but not 100%

In StaffAvailableBrowse
 %BeforeBrowseOptions
 LOG:LogNumber = p_web.gsv('LOG:LogNumber')
   
       p_web.ssv('LOC:RequiredDateFrom',0)
       p_web.ssv('LOC:RequiredDateTo',0)
   
        if ~access:LOG.fetch(LOG:pk_log_lognumber)
           p_web.ssv('LOG:DateRequiredFrom',LOG:DateRequiredFrom)
           p_web.ssv('LOG:DateRequiredTo',LOG:DateRequiredTo)
        end
You have to double-click on row in StaffRequest before the rows StaffAvailable are filtered.
Do I need the equivalent of ThisWindow.Reset(1) for NTWS?
Or is the code in the wrong emebed point?

142
Hi

The topic
"Filter does not work on two browse on same "page""
is now completely empty!
And I need to clear up one last thing.
HELP please.

143
This works - sort of!

In StaffAvailableBrowse

!  %BeforeBrowseOptions

       LOG:LogNumber = p_web.gsv('LOG:LogNumber')
   
       p_web.ssv('LOC:RequiredDateFrom',0)
       p_web.ssv('LOC:RequiredDateTo',0)
   
        if ~access:LOG.fetch(LOG:pk_log_lognumber)
           p_web.ssv('LOG:DateRequiredFrom',LOG:DateRequiredFrom)
           p_web.ssv('LOG:DateRequiredTo',LOG:DateRequiredTo)
        end
       ! it seems to require a NT version of ThisWindow.Reset(1)
       ! for now double-clicking on the row works
       HELP!
     
       Thx so far Bruce and Renee!

144
I have now put this in embed point
AfterBrowseRowClicked(StaffRequest) 
p_web.ssv('LOG:DateRequiredFrom',LOG:DateRequiredFrom)
   p_web.ssv('LOG:DateRequiredTo',LOG:DateRequiredTo)

Still does not work - at least it now shows ZEROs instead off nothing.

I don'y know what this means.
"In case you only know the uniqque key for LOC, you might want to fetch that record first."

I have a browse StaffRequest (LOG table) and a child called StaffAvailable (The alias of LOG called ALOG)
When I click on a row in StaffRequest it must filter StaffAvailable

145
Oops - yes I meant SSV!

Where do I set them?

Tried a few places - nothing works.

[attachment deleted by admin]

146
Hi Rene/Bruce/Everyone

Still no luck

Here is filter from web app (F10 on filter field)
'ALOG:AvailableFromDate <= ' &  p_web.GSV('LOG:DateRequiredFrom') & ' AND ALOG:AvailableToDate >= ' &  p_web.GSV('LOG:DateRequiredTo') & ' AND ALOG:TaskType = <39>StaffAvailability<39> and ALOG:HasBeenCompleted = 0 and ALOG:HasBeenCancelled = 0'
Which does not work - no rows are shown.
(NOTE: I have renamed the field to LOG:DateRequiredFrom)

This is the filter in the Windows version of the app
ALOG:AvailableFromDate <= LOG:DateRequiredFrom and ALOG:AvailableToDate => LOG:DateRequiredTo AND ALOG:TaskType = 'StaffAvailability' and ALOG:HasBeenCompleted = 0 and ALOG:HasBeenCancelled = 0  
and it works as expected.

therefore the
p_web.GSV('LOG:DateRequiredFrom')  and  p_web.GSV('LOG:DateRequiredTo') does not work
So "obviously" p_web.GSV must be done somewhere - for these 2?
Also- Must I set Hotfields anywhere?




[attachment deleted by admin]

147
Web Server - Share Knowledge / Re: Rackspace Virtual Servers
« on: December 19, 2011, 03:13:44 AM »
Using Multi-Site with Rackspace Virtual Servers:

Can you run various domains' webpages or would that be sub-domains of the a single domain?
i.e.
can you host
www.jvz.co.za and ww.acctual.co.za etc in one MultiSite server app.

Can one have more than one Multi-Site server app running at the same time? (using different ports obviously)

And all this for 50/60 USD or whatever per month?

When/why would one need more than one Virtual Server?
And each one costs you 50/60 USD or whatever per month?
Could one install FireBird/PostgressSQL/MySQL and/or Drupel/Joomla in your Virtual Server

148
Yes, and/or post to comp.lang.clarion?

149
Cannot upload PNG
"The upload folder is full. Please try a smaller file and/or contact an administrator." ?

It is a very small PNG file - and how do I contact the administrator?

150
http://www.xprodin.be was written in NTWS? All of it?

Pages: 1 ... 8 9 [10] 11 12