levitra generic patent pills buy cialis alytus no prescription needed canadian online pharmacy strattera 60 mg reviews 400 mg doxycycline publix propecia cost wellbutrin cost canada nexium 40 mg information valtrex recreational use what is tablets delovanje tablete cialis levitra usd levitra professional price uk online zovirax drug schedule viagra online safe doxycycline cause tingling priligy usa approval 2013 buspar and bipolar 40 mg sublingual cialis viagra generic 150mg lexapro buy cialis uk 10mg augmentin 500mg tablets buspar recreational uses http://www.bofix.at/index.php/Pharm247-zovirax-tabletten-fachinformation.php erythromycin pledgets acne celebrex generic names celebrex versus aspirin mg order amoxil 875 tablets used buspar symptoms doxycycline hyclate 20mg over the counter canada zoloft methadone together glucocorticosteroids prednisone no prescription cialis kaufen austria order female viagra synthroid 100 mg ingredients cialis muscle aches prednisone 1 mg dog levitra generic available cialis 20 mg avis propranolol antihypertensive drugs doxycycline 100mg x14 viagra drops uk getting high wellbutrin metformin stada 850mg prednisone and viruses synthroid drug rep viagra brown pill buy tablets india order doxycycline online generico italiano drug information lasix zithromax suspension instructions mexico companies only best price wellbutrin cialis without perscriptio cialis online originale safe to buy generic from uk uso prolongado cialis doxycycline drug category diflucan compresse costo buy generic online no prescription lisinopril tablets metabolism wholesale levitra hydrochlorothiazide 200 mg lek lisinopril uk singulair prednisone together metformin 850 mg dosierung synthroid purchase canada propranolol nausee doxycycline 400mg order online no prescription with a amex metformin rosiglitazone tablets medication levitra pillole genene pfizer viagra online india erythromycin 500 mg packungsbeilage crushing prednisone doxycycline 100mg webmd tableta viagra. cialis a cukrzyca augmentin pill strength without prescription propecia finasteride 5 mg augmentin bd 625mg lisinopril causes bruising lisinopril buy canada generic uk paypal kamagra tablet zithromax canada online kamagra indiano order tablets strattera no prescription propranolol bula 20mg mexican pharmacy doxycycline augmentin 500 125 mg dawkowanie price levitra uk people taking buspar viagra causes afib vand cialis 20 100 mg lisinopril hct 20mg prednisone daily use buy cialis lloyds viagra 100mg panvel wellbutrin cause infertility buy wellbutrin mexico generic usa vente viagra canada medication online no prescription 5mg cialis forum cialis generic image http://www.bofix.at/index.php/Pharm247-nexium-vs-generics.php augmentin 625 mg leaflet lbrand levitra 20mg viagra 50 mg 4 comprimidos generic name augmentin und pille viagra 100mg tesco cheap kamagra europe 40 mg sublingual cialis order cialis women cialis buy malaysia buy tablets australia levitra indiana purple viagra pill pills buy online bactrim desensitization australia viagra amsterdam kaufen cialis coupons ordiscounts viagra cvs price lasix 40 mg pill discount cialis free males using clomid buying cialis thailand clomid testosterone together gabapentin wellbutrin together metformin causes bloating zithromax suspension monograph global xenical 120 mg reviews discount no prescription levitra pola tablete lisinopril abz 5 mg ic prednisone used purchase in australia nexium 2012 sales nexium 20 mg presentacion http://www.bofix.at/index.php/Pharm247-viagra-tabletki.sk.php buspirone and fluoxetine acne drug tetracycline diflucan dosage 100mg levitra pillole best propecia price safe to buy generic from canada zydus metformin hcl cialis aetna cost viagra buy price nexium 40 mg nebenwirkungen lasix 40mg online levitra price ireland prednisone drug study buspar tryptophan directions cialis use viagra useage zoloft angustia viagra 3000 mg valtrex 1000 mg dose wellbutrin muscle spasm propecia 1mg order buy generic kamagra kamagra cheap
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 28, 2015, 06:23:45 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 1221 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