If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Brilliant Database > Quick help plz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Jan 2012
Posts: 81
Quick help plz

Hey guys please see attached file. One with actual database and one with guide. Need to just modify the script there.

Thanks
Attached Files
File Type: zip 2013.zip (1.14 MB, 9 views)
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Jul 2012
Location: Ireland
Posts: 578
Sounds to me like you need an IF, ELSE and a Switch.

Try this......
Does that do what you need?

Regards
James.
Attached Files
File Type: zip BD 2013v2.zip (1.00 MB, 10 views)
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Jan 2012
Posts: 81
Good so far, but i am getting error message when i press remove. See the guide2 document attached. I will like the {applied to invoice to disappear when remove is pressed}

Thanks for your speedy response bro!
Attached Thumbnails
Quick help plz-guide2.png  
Reply With Quote
  #4 (permalink)  
Old
Registered User
 
Join Date: Jul 2012
Location: Ireland
Posts: 578
That error has nothing to do with what I did.

The script you have in line 1 of that button is wrong. You are trying to clear a field, but you didn't specify what field you are trying to clear.

Try this version....

Regards
James
Attached Files
File Type: zip BD 2013v3.zip (1.00 MB, 5 views)
Reply With Quote
  #5 (permalink)  
Old
Registered User
 
Join Date: Jan 2012
Posts: 81
You are right, sorry. Works great thanks!!!
Reply With Quote
  #6 (permalink)  
Old
Registered User
 
Join Date: Jul 2012
Location: Ireland
Posts: 578
Happy to help.

Kind regards
James.
Reply With Quote
  #7 (permalink)  
Old
Registered User
 
Join Date: Jan 2012
Posts: 81
One quick question though, if someone where to manually remove the figure the {applied to invoice} remains. Could this disappear automatically when someone removes the figure manually also?

Thanks!
Reply With Quote
  #8 (permalink)  
Old
Registered User
 
Join Date: Jul 2012
Location: Ireland
Posts: 578
Yes, absolutely.
See attached file.

After the value is removed, and they click anywhere or move onto any other operation, the field disappears. Same goes if the enter in 0

Regards
James.
Attached Files
File Type: zip BD 2013v4.zip (1.01 MB, 11 views)
Reply With Quote
  #9 (permalink)  
Old
Registered User
 
Join Date: Jan 2012
Posts: 81
Many thanks again! Works great!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On