SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

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 Dev Shed Forums Sponsor:
  #1  
Old September 1st, 2003, 01:53 PM
thenman thenman is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 11 thenman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
flash and access database(s)

I'm very experienced with Flash on the animation side, but I am now trying to teach myself the programming side, which I am very new to. My situation/questions is/are this:

I am building a Flash website in which the user selects from a drop down menu in Flash, and that sets a variable I called "tname"(so far this is working fine). I want to be able to have an Access Database set up so that depending on what name is selected, the same set of variables (tpiclink, tage, taddress, etc.) are returned with the values depending on the "tname" variable.

So far, I know how to access varibales from Access databases. So, my questions are these:

1. How do I set up an access database with similar fields but multiple entries for them (ie, address, age, etc. are the same, but these work for multiple names)?

2. Do I need only one Access database or one for each person?

3. How do I send the variable tname from the Flash file?

4. How does the ASP file read it, then send it to the Access database (keeping in mind that I know only fairly basic ASP commands).

5. Is there anything I have overlooked throughout my "quest" to make this work?


Thanks in advance.
The N Man

Reply With Quote
  #2  
Old September 5th, 2003, 04:53 AM
mushie mushie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 58 mushie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Quote:
1. How do I set up an access database with similar fields but multiple entries for them (ie, address, age, etc. are the same, but these work for multiple names)?


umm, by definition thats what a database is!
field 1--field2--field3--field4
record1
record2
record3

Quote:
2. Do I need only one Access database or one for each person?


definitely NOT one per person!
if you want to think of the database as a box, then its the big crate/palette that gets sent in delivery truck - the TABLES are the boxes, and the FIELDS are the content of those boxes.
Use multiple tables to break your information down into suitable chunks so that you arent duplicating data - its called normalisation.
i.e. three tables-

table1

Customer_ID Customer_name Address Tel_No
record1
record2
record3

table2

Order_ID Product_ID Customer_ID
record1
record2
record3

Product_ID Product_Description
record1
record2
record3

here the Customer_ID, Product_ID and Order_ID are 'keys' and can be used to reference the other tables, like get all Order_ID's from table2 where Product_ID = whatever.

Quote:
3. How do I send the variable tname from the Flash file?

look here for an explanation (albeit it incomplete)
macromedia's site is also a good place for this.
Quote:
4. How does the ASP file read it, then send it to the Access database (keeping in mind that I know only fairly basic ASP commands).

i know nothing worth talking about in relation to ASP so....there are more tutorials out there for flash/asp than there are for flash/php for some reason


Quote:
5. Is there anything I have overlooked throughout my "quest" to make this work?

GOOGLE

hope this has been of some use.
__________________
beware of geeks bearing animated gifs.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > flash and access database(s)


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 2 hosted by Hostway