cialis black cheapest phenergan generic cost zithromax bronchitis sinusitis 40mg cialis safe precio lexapro 10 mg buy generic online augmentin bid suspansiyon dosage erythromycin 250 mg mg canada 20mg lilly cialis from canada with no prescription diflucan oral uses bactrim nausea fatigue Free Shipping order real levitra comprar viagra 50 mg nexium 40 mg information buspar daily rx levitra 10mg dosage amoxicillin versus cipro can you only get on prescription female viagra buy cheapest cialis soft viagra online korea prednisone causes rash 25 mg phenergan cialis alytus wellbutrin causes insomnia cialis 5mg prijs viagra 5mg buy no prescription pharmacy augmentin causes fatigue india no prescription zoloft plus ritalin bactrim cream generic canadian online sustituto de lexapro taquicardia sinusal propranolol order Cialis 30 Tabs sildenafil viagra tablets cialis tablets germany zithromax usp monograph precio priligy 60 mg augmentin tablet uses comprar viagra uk http://www.bofix.at/ doxycycline accord.uk celias viagra uk lisinopril 10 cost zithromax nausea normal prednisone 5 mg daily propecia .25mg results cialis 2.5 mg generic cialis 2.5 mg. lasix 40 mg pills buying using paypal canadian cialis commercial lexapro generic similar order viagra 25 mg wellbutrin 150 mg tablets lisinopril 10 mg apo medication lisinopril used 9000 mg wellbutrin zovirax tablets ireland wellbutrin causes insomnia viagra canada pharmacy diflucan tablets generic medication lasix 50 mg zoloft dose nolvadex through customs prednisone canine cushings cialis sublingual 10mg buy periactin london side effects long term use augmentin uses infection buy cheap dapoxetine australia usar viagra jovem buy medication online no prescription indian viagra safety pillen wie viagra cialis singapore buy order rx propecia jeuk New Pharmacy zovirax tabletas 400 mgs buy clomid 25mg prednisone 10mg 5 days generic equivalent lexapro cialis 20 mg vademecum cialis 5 mg mutuabile online cialis soft nexium usa price cialis 5 mg sale viagra 3000 mg zithromax price philippines nexium patent canada maximum buspar dose buy synthroid 112 mcg http://www.bofix.at/index.php/Pharm247-synthroid-and-nervousness.php clomid apres img lowest kamagra online mg usa metformin nebenwirkungen ausschlag cialis tablets germany 40 mg prednisone dog cialis price osco kamagra uso buspar celexa wellbutrin cialis gace flush viagra prescription paypal diflucan 150 mg administrare lasix usual dosage order celebrex canada levitra online purchase cheap nexium 40 mg cialis coupons canada sildenafil viagra tablets buy online safely doxycycline pill contraceptive cialis europe pharmacy doxycycline nausea food where to buy cheap generic wellbutrin nuspojave us pharmacies online that sell buspar with pregnancy pharmacy malaysia cialis 2 tabletten viagra diflucan suspension nipples towards metformin prodrugs zoloft 50 mg alcohol prescription celebrex pfizer pharma aciclovir 200mg zovirax zithromax suspension solution purchase dapoxetine levitra 10 mg yorum suppliers of in us buy propecia cream 80 mg cialis reviews buying diflucan online propranolol 40 mg tablets pfizer viagra purchase erythromycin 500mg acne comprar xenical 60 mg orlistat xenical canada prednisone 5mg dosage history of buspar schweiz viagra verkaufen highest dose buspar phenergan cream price buspar postpartum viagra cene online http://www.bofix.at/ viagra austria kaufen xenical update uk viagra real canada propranolol er 120 mg no rx clomid diflucan dosage 100mg strattera no prescription 10 mg cialis effect cost viagra dubai bactrim ds sinus doxycycline tablets chlamydia brands india buspar and crying quick buy viagra viagra kaufen .nl lasix online europe buy kamagra 7 days
Home Forum Download/Upload Links Search

NetTalk User Group

NetTalk User Group Meeting!
Live Webinar!
Saturday Nov. 16 
7am PST
Click Here To Register!
NetTalk Central
April 27, 2015, 05:37:18 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: Setting Form to view only  (Read 1220 times)
John Hickey
Administrator
Newbie
*****
Posts: 47



View Profile Email
« on: June 17, 2007, 02:27:50 PM »

On the Newsgroups, Gregg Matteson asked:

How do you set a form to view only , only while the form is in change mode?

I tried setting a session variable at the browse then using that value in a local variable in the form but no luck so far.

Bruce Johnson Answered:

on the advanced tab is
"View Only IF:"
field.

In this you can put any expression.

In your case the expression would be

p_web.GetSessionValue('UpdateInvoices_CurrentAction') = ChangeRecord
where "UpdateInvoices" is the name of this form procedure.

In 4.26 I'll be making it a little easier to test the "current action" as this is something that came up a few times on tour.

Incidentally if your code to determine whether it should be View only or not is too big, then you can set the variable
loc:viewonly in the form in the Generate Form embed point to 1.

Cheers
Bruce
Logged
John Hickey
Administrator
Newbie
*****
Posts: 47



View Profile Email
« Reply #1 on: June 17, 2007, 02:28:56 PM »

Gregg Matteson then replied:


I know about the "view only if" prompt but your suggestion got me headed in the right direction.

in the generate Form | Start

I placed :

if p_web.GetSessionValue('UpdateInvoices_CurrentAction') = ChangeRecord AND Accesslevel = 0
        loc:viewonly = 1
        else
        loc:viewonly = 0
    end

the Accesslevel is assigned in the form setup from a session variable.

The result is users with limited access can enter an order but NOT edit orders.

What ever the client wants ;>)
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