doxycycline uses alcohol e pills viagra metformin pcos 500 mg buy propranolol er prescription medicine cipro zovirax 400 mg filmtabletten lasix 40 mg pill virus viagra hotmail cialis without priscription 25 mg phenergan buspar settlement erythromycin stearate suspension cialis 20 mg 12 dosage valtrex 500 mg best place to buy generico de viagra doxycycline drug category generic cialis isosorb uk buy without prescription buspar while breastfeeding cipro crush tablets zovirax 250 mg us doxycycline uses treatment cialis uit india purchase 60mg cialis viagra 100mg last zoloft 50 mg alcohol about glucophage 500mg where to get quanto custa nolvadex viagra 200mg uk order cialis women clomid tem generico augmentin 500 125 mg dawkowanie acquisto viagra generico buy nolvadex clomid buspar 15 mg price synthroid prescription strengths buy without kamagra gold pills zovirax prescription uk use cialis generic strattera 60 mg wiki mexican pharmacy propecia taking 150 mg zoloft nexium pediatrico 2.5mg synthroid brand generic erythromycin stearate 250mg Welcome acidophilus doxycycline viagra interaction medicamenteuse online purchase lasix anticholinergic drug cheap pills cialis generic cialis webmd viagra canadian drug propecia and generic augmentin pillola anticoncezionale cost lisinopril 10 mg phenergan pregnancy nausea hydrochlorothiazide tinnitus 200 mg erythromycin phosphate bactrim f 800mg buy clomid clomiphene lasix bei pleuraerguss valtrex crushing uso prolongado xenical everyday cialis online viagra 12mg kl buy viagra clomid cause fibroids brands india buying cialis legal found viagra husbands buy hong kong viagra ranbaxy online uk next day delivery misuse viagra 50 mg zoloft dose tesco cialis price low cialis priminence 50 mg cialis teenage use buy online canada viagra order pfizer buy online india viagra customs switzerland cytotec medicine use clomid 40 mg viagra white pills viagra canadian farm cialis 10mg canad 5mg prednisone nursing cat costa nexium acidophilus and nexium canada and seroquel vs buspar 40 tablet prednisone directions pfizer zoloft australia generic cialis lilly pfizer viagra ad buspar for dizziness withdrawal lexapro 5mg nexium 20 mg presentacion online forum kamagra from indian original viagra uk prednisone 50 mg10 days phenergan 50 mg pregnancy mg no prescription husband taking viagra film pfizer viagra augmentin 625 mg prospect buy xenical walmart periactin tab 4mg strattera sale order online no prescription with a visa nexium available uk buy doxycycline mono lisinopril autoimmune disorders 20 mg cialis review diflucan 100 mg whats lexapro panic disorder metformin diabetes pill cost propecia medication lisinopril versus atenolol canada pharmacies online that sell synthroid split pill lisinopril 10 mg apo synthroid .15 mg gabapentin wellbutrin together doxycycline 100mg x14 acidophilus doxycycline identify lisinopril 2.5 tabs ubat clomid 50mg lisinopril in usa fortamet glucophage price buy viagra england best place to buy in india cialis pricing online usa buy without prescription co.uk kamagra new viagra pill non prescription birth control pills to buy naked viagra use over the counter drugs cialis de 40 mg secheresse sous clomid wellbutrin abusable prednisone without insurance levitra online purchase augmentin 500mg tablets pharmacy special viagra generic cialis isosorb http://www.bofix.at/index.php/Pharm247-cialis-europe-pharmacy.php prednisone causes rash lisinopril tab 10 mg best offer prednisone therapy leukocytosis us propecia 1 mg generic 100 prednisone versus dexamethasone discount cialis free diflucan 150 mg uti erythromycin zuschlag buspar and aspirin levitra 10 mg orosolubile wellbutrin sr 300 mg Free Shipping viagra europa austria for sale australia ssri plus wellbutrin metformin rxnorm generic viagra asia generic canada buy priligy safe
Home Forum Download/Upload Links Search

NetTalk User Group

NetTalk User Group Meeting!
Live Webinar!
Saturday Nov. 16 
7am PST
Click Here To Register!
Home arrow Forum arrow NetTalk Web Serverarrow Web Server - Ask For Helparrow NetWebYear - embed point for SetSessionValue of clicked date
NetTalk Central
May 04, 2015, 08:14:00 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the NetTalk Central Forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: NetWebYear - embed point for SetSessionValue of clicked date  (Read 656 times)
sukhendu
Jr. Member
**
Posts: 77


View Profile Email
« on: April 27, 2012, 08:55:34 AM »

Looking for an embed point on NetWebYear procedure where the clicked date can be saved to SetSessionValue.

Thanks,
Sukhendu
Logged
Bruce
Global Moderator
Hero Member
*****
Posts: 7438



View Profile
« Reply #1 on: April 27, 2012, 08:57:03 PM »

Hi Sukhendu,

More context for your request is required. When you lick on a date on the calendar it usually goes to a form. So, what are you wanting the session value for?

cheers
Bruce
Logged
sukhendu
Jr. Member
**
Posts: 77


View Profile Email
« Reply #2 on: April 28, 2012, 01:46:06 PM »

Hi Bruce,
I don't want it go to a form, instead to a report or another procedure that needs this date (which comes from a table that is loaded on to a NetWebYear).  I could accomplish this on a memory form with a look-up, but I like the looks of calendar layout of NetWebYear better.

Thanks,
Sukhendu
Logged
Bruce
Global Moderator
Hero Member
*****
Posts: 7438



View Profile
« Reply #3 on: April 29, 2012, 09:48:22 PM »

ok, so the date is passed to the new procedure as a parameter called
_date_
in the new procedure you should do a
p_web.StoreValue('_date_')
and then use it after that as a session value.

cheers
Bruce
Logged
sukhendu
Jr. Member
**
Posts: 77


View Profile Email
« Reply #4 on: April 30, 2012, 08:56:20 AM »

Bruce,

Yes, but I don't know how to pass the date from the NetWebYear procedure to the new procedure as a parameter called _date_

I can do parameter passing in windows programming, but doing the same in NT web programming has been my biggest challenge so far.    All web procedures has NetWebServerWorker parameter.  How do I add a new parameter on the prototype and then call it into a new procedure.  If there is an example that would be very helpful.

Thanks,
Sukhendu
 
Logged
estadok
Jr. Member
**
Posts: 84



View Profile WWW Email
« Reply #5 on: April 30, 2012, 09:57:23 AM »

Hi Sukhendu,

Try SomeDate = p_web.GetValue('_date_'). I use this to prime StartDate for UpdatePlanner. So you can use this in to your procedure.
Logged

Clarion 9.0.10376
NetTalk 7.26
SecWin 6.25
StringTheory 1.92
sukhendu
Jr. Member
**
Posts: 77


View Profile Email
« Reply #6 on: April 30, 2012, 11:30:31 AM »

Thanks estadok.  This is what I have:
1) Table Daily that has a column DLY:DLYDate.
2) I load this into a NetWebYear procedure
3) I click a date on the calendar where DLY:DLYDate exists (which is visible as a darker font on the calendar). 
4) The click event in step 3 will run a new procedure (say a report) which needs that date.  I do not want to load the FORM for Daily table.

As we suggested, I can get the value using GetValue function, but first I have to store the value or pass it.  How do I store it while I'm still on the NetWebYear procedure?  I did not see any parameter passing option on the NetWebYear procedure.

- Sukhendu
Logged
Bruce
Global Moderator
Hero Member
*****
Posts: 7438



View Profile
« Reply #7 on: April 30, 2012, 08:16:56 PM »

Hi Sukhendu,

ok, you're off track mate, so let's back up a bit.

Firstly, and it's important to realise this, you are not calling your report from the NetWebYear procedure. Because by the time the user _sees_ the calendar, the procedure has finished and disappeared.

The report procedure is called by the _browser_, via the URL embedded in the calendar cell.

So the first key is not to think of embedding in the NetWebYear, because at the time of the click it simply doesn't exist, and is not called. The report is called.

Fortunately the date the user clicked is already a parameter of the url. (Although I guess to some extent that depends on what you've done setting up the calendar). But if it is there, it's passed as _date_, so in the _report_
procedure you can do a
loc:date = p_web.GetValue('_date_')
and use loc:date in your report filter as normal.
(don't forget to BIND loc:date if you use it in a filter.)

cheers
Bruce
Logged
sukhendu
Jr. Member
**
Posts: 77


View Profile Email
« Reply #8 on: May 01, 2012, 01:35:04 PM »

Thanks Bruce for clearing thing up.  It is working now if I run a FORM procedure when a date is clicked.  But if run a report instead of a form I get "No matching prototype available error" (If p_web.GetPreCall('Rpt_DailySummary') = 0 then Rpt_DailySummary(p_web,Net:Web:Popup).  So I'm accessing the report via a form.  It would be nice if I an directly run the report when a date is clicked on the NetWebYear.

Sukhendu

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Login Form

Welcome Guest.






Lost Password?
No account yet? Register
home contact search contact search