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.
Pages: [1] 2
1
Web Server - Ask For Help / Re: Credit Card Processing (Paypal?)
« on: April 15, 2015, 09:13:07 AM »
Larry,
Ok, I'm getting no where with this... any chance I could throw a little money your way, to get a solution?
Thanks
Ok, I'm getting no where with this... any chance I could throw a little money your way, to get a solution?
Thanks
2
Web Server - Ask For Help / Re: New browser Tab on a button
« on: March 30, 2015, 07:19:28 AM »
PERFECT.... thanks
3
Web Server - Ask For Help / New browser Tab on a button
« on: March 29, 2015, 11:36:35 AM »
I have this url on a button:-
'http://maps.google.com/maps?&saddr=' & p_web.gsv('UserPostcode') & '&daddr=' & p_web.gsv('clu:V_Postcode') & '&t=m'
Can I force this url into a new browser window (or new browser tab)?
Thanks
'http://maps.google.com/maps?&saddr=' & p_web.gsv('UserPostcode') & '&daddr=' & p_web.gsv('clu:V_Postcode') & '&t=m'
Can I force this url into a new browser window (or new browser tab)?
Thanks
4
Web Server - Ask For Help / Re: Credit Card Processing (Paypal?)
« on: March 28, 2015, 10:59:29 AM »
Larry,
I think this is going to take some studying! Hopefully in a few weeks some of the concepts will be a little more familiar!
Bill
I think this is going to take some studying! Hopefully in a few weeks some of the concepts will be a little more familiar!
Bill
5
Web Server - Ask For Help / Re: Credit Card Processing (Paypal?)
« on: March 27, 2015, 07:05:47 AM »
Larry,
My basic requirement is to take credit card payments. Paypal seemed the most useful for a few reasons, mainly because these payments will be 'repeat' payments, and paypal seems a very simple process once you have created an account, and associated credit cards (and they are currently running a tv ad campaign, and with the widespread use of eBay, many people in the uk already have a paypal account).
I have set up a 'sandpit' on paypal, but have reached a bit of a dead end, simply down to lack of knowledge, I'm very new to 'web' programming, and I'm finding the learning curve pretty steep (I'm old and find it very frustrating as I've been using clarion for over 25 years and know it so well, this is so far out of my comfort zone, but getting better!).
The paypal docs seemed to suggest passing data with 'posts', but that was beyond my 'scope' (!) so I have resorted to simply jumping to a url with a few parameters (see earlier posts).. but as I don't seem to be able to log into a paypal account once I 'Land' on the paypal test system I have drawn a blank so far (and have put this on the back burner, to return to later in the development of this system, it's going to take a while and I was hoping at the point the time came that I MUST have this processing I would have ingested enough knowledge to progress!)
Not sure all this makes sense, in summary I think I need paypal integration, but I haven't got very far!!
Thanks
Bill
My basic requirement is to take credit card payments. Paypal seemed the most useful for a few reasons, mainly because these payments will be 'repeat' payments, and paypal seems a very simple process once you have created an account, and associated credit cards (and they are currently running a tv ad campaign, and with the widespread use of eBay, many people in the uk already have a paypal account).
I have set up a 'sandpit' on paypal, but have reached a bit of a dead end, simply down to lack of knowledge, I'm very new to 'web' programming, and I'm finding the learning curve pretty steep (I'm old and find it very frustrating as I've been using clarion for over 25 years and know it so well, this is so far out of my comfort zone, but getting better!).
The paypal docs seemed to suggest passing data with 'posts', but that was beyond my 'scope' (!) so I have resorted to simply jumping to a url with a few parameters (see earlier posts).. but as I don't seem to be able to log into a paypal account once I 'Land' on the paypal test system I have drawn a blank so far (and have put this on the back burner, to return to later in the development of this system, it's going to take a while and I was hoping at the point the time came that I MUST have this processing I would have ingested enough knowledge to progress!)
Not sure all this makes sense, in summary I think I need paypal integration, but I haven't got very far!!
Thanks
Bill
6
Web Server - Ask For Help / Re: NetWebYear Template
« on: March 25, 2015, 02:12:06 AM »
Great... it's amazing how blind you get over the years, I don't think I've ever even noticed the tabs at the top of that screen!!!!!!!!
Thanks again Bruce.
Thanks again Bruce.
7
Web Server - Ask For Help / NetWebYear Template
« on: March 24, 2015, 01:52:36 PM »
Ok, I give up..... how do I create a new procedure using the NetWebYear template? ^U does not offer it as a option, the only way I can see to have a calendar in my app is to copy a procedure out of example 12.
Thanks
Bill
Thanks
Bill
8
Web Server - Ask For Help / Re: Record primed form
« on: March 23, 2015, 08:00:26 AM »
Bruce,
Sometimes a simple 'thank you' for this amazing support does not seem enough, but... once again.. thank you (and thanks for your [seemingly!] infinite patience)
Bill
Sometimes a simple 'thank you' for this amazing support does not seem enough, but... once again.. thank you (and thanks for your [seemingly!] infinite patience)
Bill
9
Web Server - Ask For Help / Re: Record primed form
« on: March 23, 2015, 02:32:04 AM »
Bruce,
Yup, still not 100% in the mindset of most things 'already happened'!
Maybe I misunderstood something, but I don't want to 'prime' certain values in a form, I want to update an existing entry, I just want to 'land' on the form with it populated with the current data, and perform an UPDATE.
Do I just 'get' the record (and all lookups) in the 'PreUpdate' embed, and then tell the form (somehow) that it is in an 'update'?
Yup, still not 100% in the mindset of most things 'already happened'!
Maybe I misunderstood something, but I don't want to 'prime' certain values in a form, I want to update an existing entry, I just want to 'land' on the form with it populated with the current data, and perform an UPDATE.
Do I just 'get' the record (and all lookups) in the 'PreUpdate' embed, and then tell the form (somehow) that it is in an 'update'?
10
Web Server - Ask For Help / Re: Timer procedure from the webserver
« on: March 23, 2015, 02:10:46 AM »
Great.. I'll give it a try (just thought I'd better check!)
11
Web Server - Ask For Help / Timer procedure from the webserver
« on: March 20, 2015, 07:19:53 AM »
Is there any reason why I should not invoke a new thread from the webserver window, on a timer?
I want to add entries to an email queue during normal processing by users (it seems to take a while to send an email) so I thought I'd just slot the details into a queue, and process this on a timer invoked process, from the main webserver window?
I want to add entries to an email queue during normal processing by users (it seems to take a while to send an email) so I thought I'd just slot the details into a queue, and process this on a timer invoked process, from the main webserver window?
12
Web Server - Ask For Help / Re: Record primed form
« on: March 20, 2015, 07:06:42 AM »
Ok, but I have one small issue, I don't seem to be able to pass across a value for the key....
My table is pretty simple, with a unique URN as the primary key, so in the menu parameter for the update form I've tried......
'change_btn=change&_bidv_=' & p_web.AddBrowseValue('pageheadertag','Club',clu:byURN,5) ##### This WORKS PERFECTLY!!!!!!!!
'change_btn=change&_bidv_=' & p_web.AddBrowseValue('pageheadertag','Club',clu:byURN,p_web.GSV('ClubURN')) ###### this returns 'record not found'
I try setting a local in the embed before the menu is called with ClubURN = p_web.GSV('ClubURN')
then
'change_btn=change&_bidv_=' & p_web.AddBrowseValue('pageheadertag','Club',clu:byURN,ClubURN) ###### this also returns 'record not found'
(at that point the session value is set to 5)
Have I missed something?
Thanks
Bill
My table is pretty simple, with a unique URN as the primary key, so in the menu parameter for the update form I've tried......
'change_btn=change&_bidv_=' & p_web.AddBrowseValue('pageheadertag','Club',clu:byURN,5) ##### This WORKS PERFECTLY!!!!!!!!
'change_btn=change&_bidv_=' & p_web.AddBrowseValue('pageheadertag','Club',clu:byURN,p_web.GSV('ClubURN')) ###### this returns 'record not found'
I try setting a local in the embed before the menu is called with ClubURN = p_web.GSV('ClubURN')
then
'change_btn=change&_bidv_=' & p_web.AddBrowseValue('pageheadertag','Club',clu:byURN,ClubURN) ###### this also returns 'record not found'
(at that point the session value is set to 5)
Have I missed something?
Thanks
Bill
13
Web Server - Ask For Help / Record primed form
« on: March 20, 2015, 05:53:13 AM »
Normally I use the Browse/Form paradigm, but in certain conditions I know the exact record I wish to update... In 'normal' clarion I would just 'get' the record, then call the update form as 'change'... is there a similar method here?
Thanks
Bill
Thanks
Bill
14
Web Server - Ask For Help / Re: Parent Caller
« on: March 19, 2015, 06:50:57 AM »
yup, couldn't really get my head around that one.. It looks like you are comparing nothing to false, which I would have thought returned true
15
Web Server - Ask For Help / Re: Problem Uploading file when updating form
« on: March 17, 2015, 06:00:47 AM »
Willie,
Thanks .... that really helped with a similar problem I have, but if I could ask anyone else watching.... were is the uploaded filename kept?
If this is a change to an existing file, the 'save' routine has the OLD filename set, not the INCOMING one..
===============================
SaveFile::pla:PhotoFname Routine
data
code
stop('pre:' & pla:PhotoFname) <=============== existing file name NOT incoming file name
pla:photofname = p_web.gsv('pla:photofname') <========== just a check, I'm still not 100% sure when I need to get the variable!!!
stop('post:' & pla:PhotoFname)
locName = st.FileNameOnly(pla:photofname)
locPath = st.pathonly(pla:photofname)
locExtension = st.ExtensionOnly(pla:photofname)
pla:PhotoFname = clip(locPath) & '\' & 'Player' & format(p_web.gsv('pla:URN'),@n05) & '.' & today() & '.' & clock() & '.' & clip(locExtension)
p_web.ssv('pla:PhotoFname',pla:PhotoFname)
p_web.SetSessionValue('_save_pla:PhotoFname',pla:PhotoFname)
p_web.SaveFile('pla:PhotoFname',pla:PhotoFname)
Thanks .... that really helped with a similar problem I have, but if I could ask anyone else watching.... were is the uploaded filename kept?
If this is a change to an existing file, the 'save' routine has the OLD filename set, not the INCOMING one..
===============================
SaveFile::pla:PhotoFname Routine
data
code
stop('pre:' & pla:PhotoFname) <=============== existing file name NOT incoming file name
pla:photofname = p_web.gsv('pla:photofname') <========== just a check, I'm still not 100% sure when I need to get the variable!!!
stop('post:' & pla:PhotoFname)
locName = st.FileNameOnly(pla:photofname)
locPath = st.pathonly(pla:photofname)
locExtension = st.ExtensionOnly(pla:photofname)
pla:PhotoFname = clip(locPath) & '\' & 'Player' & format(p_web.gsv('pla:URN'),@n05) & '.' & today() & '.' & clock() & '.' & clip(locExtension)
p_web.ssv('pla:PhotoFname',pla:PhotoFname)
p_web.SetSessionValue('_save_pla:PhotoFname',pla:PhotoFname)
p_web.SaveFile('pla:PhotoFname',pla:PhotoFname)
Pages: [1] 2