bactrim antibiotic pills viagra 50 mg kaufen generic priligy dapoxetine cialis online confidential discount from usa adipex wellbutrin together where to buy with amex aventis clomid 50mg metformin 500 mg rebajar sinusitis tetracycline valtrex overnight priligy deutschland kaufen buspar vs lyrica fake viagra pills augmentin and sinus cheap levitra viagra vildagliptin plus metformin zoloft coupon discount clomid available uk purchase on line in canada online clomid kopen propecia online pharmacy viagra boots online viagra 30 pills prednisone online generic cialis australia overnight generic viagra 150 uporaba tablet doxycycline periactin cushings cheap viagra tesco viagra uk brochure rx 905 valtrex clomid pct cost nexium generic when xenical iskustva viagra vs robust amoxil drug rash prednisone versus dexamethasone prescription augmentin adulte 200 mg zoloft effects delivery uk cialis 5 mg treatment lexapro causa adiccion wholesale generic viagra zithromax 1000mg iv buspar moa buy cipro singles augmentin zawiesina 125 mg buy with a mastercard viagra muscle propranolol 10mg opinie ausztrбl viagra ordering mexico comprare cialis 20 mg prednisone 40 mg constipation lactobacillus sensitivity cipro prednisone drug rash crushed wellbutrin from india comprar viagra 50 mg price 10 mg lexapro levitra brand generic diffuse propecia dosage instructions 600 mg diflucan cialis 2011 canadian commerical prices at costco uso del celebrex buy inexpensivebayer levitra tiran levitra price viagra sordera drug in usa pharmacy cialis commercial ukelele clomid without pcos zithromax suspension solution canadian pharmacy pfizer viagra fake female using viagra nolvadex 20mg dosering can you take daily viagra online discrete cialis montreal canada clomid 50 mg pregnant buy clomid direct buspar for mood nexium 20 mg australia zoloft concerta together bactrim lichen planus shaine viagra 100mg buy levitra wholesale prednisone achat canada mg no prescription doxycycline nausea cure without a prescription from india average viagra price buspar stopped suddenly 2.5mg lisinopril top 10 online sites define tablet nexium strattera price 60 mg where do i in mexico strattera causes stuttering prednisone cause tremor synthroid generic medicine http://www.bofix.at/index.php/Pharm247-fluoxetine-versus-paroxetine.php 20 mg viagra acquisto cialis 5 mg 25 mg zoloft withdrawal discount 6lowest propecia prices generic nexium reviews zovirax tabletten fachinformation cialis spain price ratio metformin 500mg viagra price melbourne price cialis walgreens strattera price us buspar time frame priligy cheap uk 200mg kamagra online with no prescription propranolol antihypertensive drugs mg canadian rx buspar mb3 10 mg lexapro enough wellbutrin cost assistance purchase online usar levitra purchase levitra prescription viagra, cialis uk kamagra 100mg kaufen cialis 50 mg ask without a prescription from mexico prozac buspar together mail order augmentin 1000 mg gebelik pfizer cytotec dosis buy australia buy lisinopril uk cytotec tabletten kaufen doxycycline muscle twitching buying cialis legal propranolol getting high cost lexapro au can you only get on prescription nexium 20 mg vidal usa viagra escorts india lisinopril 30 mg use trusted online pharmacy glucophage sr 100mg viagra thailand price nexium dosage mg cheap chewable viagra buy online india cialis canada 5mg getting on lexapro lexapro headaches nausea cialis 10 mg dosierung wellbutrin sr pills what is for levitra 20 mg directions viagra home delivery diflucan pillola interazione viagra pfizer bestellen pharmacy prices list lwallmart viagra price amoxil tabletas 500 mg ordering uk 160 mg propranolol doxycycline intrapleural use viagra tablet use lexapro borderline personality viagra pill container propranolol 10 mg pret xenical 120 mg 42 tablets buy kamagra shops doxycycline 100 uses without rx online viagra pakistan buy online canada no prescription nexium hp 7 online
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
April 18, 2015, 03:34:51 AM *
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 652 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: 7403



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: 7403



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: 7403



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