Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 6th, 2006, 09:40 AM
Mr.Si Mr.Si is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2006
Location: Storrington, West Sussex
Posts: 4 Mr.Si User rank is Private First Class (20 - 50 Reputation Level)Mr.Si User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 h 14 m 29 sec
Reputation Power: 0
Send a message via MSN to Mr.Si
Does my database's front end need to be done in VB?

Edit: I'm highly sorry moderators, I've just thought that this thread might be better placed in the Access Sub-Forums. Please would it be possible to move it if you feel it is necessary.

Hi there,

I'm rather new here. A good friend of mine known as RadioactiveFrog pointed me to here as I have a query regarding a db I want to create.

Basically I am working on a project to work as an Enquiry/Ordering System/database for the company I work for.

We have lots of different type of enquiry with different options depending on what type of project it is supposed to be.

So when the user is entering the enquiry or order into the system I need it to change the available options that the user can enter, in real time.

I.e. if one radio box is clicked, then some options become available and others get greyed out or disappear, and if a different one is clicked, then different options appear relevant to it, and the other ones disappear.
So "if statements" applenty!

Now my initial thoughts were to use MS Access (due to me not knowing MySQL or PHP etc) but Graham - RadioActiveFrog suggested it would be more like a VB front end. I don't know if you can do if statements in Access, but I know you can in VB.

Many thanks in advance for your help.

Si
Comments on this post
RadioactiveFrog agrees: welcome to the forums mate !!

Last edited by Mr.Si : April 6th, 2006 at 09:52 AM. Reason: Mistake

Reply With Quote
  #2  
Old April 6th, 2006, 11:57 AM
evansc evansc is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 258 evansc User rank is Private First Class (20 - 50 Reputation Level)evansc User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 4 m 16 sec
Reputation Power: 5
You can definitely do If statements in Access. It uses VBA as the programming language and for more sophisticated Access projects you HAVE to use VBA in at least some circumstances.

Put them on the "after update" event of your option buttons or something like that.

Syntax for or if/else:

IF (this is true) THEN
Make this happen
Else
make this happen
End If

Caution - if a value in your "this is true" section is a null, VBA does not like it. You have to have a value, even if it is zero or "", in order to evaluate a statement.
Comments on this post
RadioactiveFrog agrees: proxy rep for helping Mr.Si !!

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Does my database's front end need to be done in VB?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT