473,406 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

I'm working on a database that has no tables only forms

I have been employed by a company to update their database.

The old database was not on access, but the data can be exported to excel

When I opened the new Access database, there was only form, no tables.

How can you create tables for a database that already has forms, isn't this working backwards, and extremely difficult if you did not design the database.
Sep 10 '09 #1

✓ answered by NeoPa

I looked at the screenshot, but I have no idea why you posted it. It has no relevance that I can understand.

Anyway, try F11 to see your Database Window.

18 2210
NeoPa
32,556 Expert Mod 16PB
That really all depends on various information you haven't shared with us.

At the least I expect it would be a complicated process though.

If you're actually after some advice though, you'll need to share a bit more detailed information of your problem with us I'm afraid.
Sep 10 '09 #2
ADezii
8,834 Expert 8TB
@ratedaargh
  1. Does this Form have 1 or several Sub-Forms? This would be an indication of what prior Table Relationships may have been.
  2. See if the Form has a Record Source Property. You may luck out and see an SQL Statement which would indicate exactly what the Data Source for the Form was and the Tables involved.
  3. See if each Control on the Form has a Control Source Property which would indicate to which Field each Control was Bound.
Sep 11 '09 #3
Delerna
1,134 Expert 1GB
Could it be possible that the database does actually have tables but you can't see them because they are hidden.

In Access if you right click on a table and select properties.
There is a "hidden" option in there that, if checked, will hide the table from view.

If this is the case you will need to go to
tools/options/view and check the "hidden objects" option.

Its a pretty lame way of preventing users from directly accessing sensitive tables. Lame because it relies on the user not knowning how to force them to be shown.
Sep 13 '09 #4
ADezii
8,834 Expert 8TB
@Delerna
Very good point Delerna, one that should have been my first! (LOL)!
Sep 13 '09 #5
thankyou everyone, I have since found the tables, They were hidden, and while they are significantly lacking, they are there! The database is going along fine and dandy like.

While I was mucking around on the first day i created some more tables, which I now do not need, but can't seem to get rid of them. This seems like a totally lameo question, but how the hell do I delete tables, I can delete the records in the tables, but not the table!
Sep 15 '09 #6
NeoPa
32,556 Expert Mod 16PB
From the Database window select the Tables pane. Select a table then hit the Del key.
Sep 15 '09 #7
yeah you'd think it would be that simple, but these tables just won't delete, I hit the delete key so many times my puter froze!
Sep 16 '09 #8
NeoPa
32,556 Expert Mod 16PB
In that case there must be something non-standard about your database or the tables themselves. Obviously, without that information we cannot easily help you (as, whatever the difference is, you haven't shared with us yet).

If the database is not too large why not attach it and I'll have a look and see what I can see. When attaching your work please follow the following steps first :
  1. Remove anything not relevant to the problem. This is not necessary in all circumstances but some databases can be very bulky and some things do not effect the actual problem at all.
  2. If you've done anything in step 1 then make sure that the problem you're experiencing is still evident in the cut-down version.
  3. Compact the database.
  4. Put the database into a ZIP file.
  5. When posting, select Manage Attachments and add this new ZIP file.
Sep 16 '09 #9
unfortunatly I can not send you the database as that would be breaching the companies security, I'll just have to keep on trying. Yes there seems to be somethign non-standard about it indeedy!

thanks for your help
Sep 17 '09 #10
ADezii
8,834 Expert 8TB
@ratedaargh
Here is a real looooooooooooooooooong shot, but it still is worth a try. Attempt to DELETE your Tables programmatically by passing their Names as a Comma-Delimited String to a Public Sub-Routine as follows:
  1. Sub-Routine Definition
    Expand|Select|Wrap|Line Numbers
    1. Public Sub DeleteTables(strTables As String)
    2. On Error Resume Next
    3. Dim varTables As Variant
    4. Dim intCounter As Integer
    5.  
    6. varTables = Split(strTables, ",")
    7.  
    8. For intCounter = LBound(varTables) To UBound(varTables)
    9.   CurrentDb.TableDefs.Delete varTables(intCounter)
    10. Next
    11.  
    12. RefreshDatabaseWindow
    13. End Sub
  2. Sample Call to DeleteTables()
    Expand|Select|Wrap|Line Numbers
    1. Call DeleteTables("Table1,Table2,Table3,Table4,tblTest")
Sep 17 '09 #11
Megalog
378 Expert 256MB
Be sure to remove any table Relationships defined in the database as well (Database Tools->Relationships). If you try to delete a table that is part of a relationship, it should warn you first. Maybe this warning isnt appearing for some reason, and therefore nothing happens when hitting delete?
Sep 17 '09 #12
NeoPa
32,556 Expert Mod 16PB
@ratedaargh
To be honest, from a database we may be able to find the problem, but there's no guarantee really.

Normally though, as we too would like you to remove anything irrelevant before posting, I would have thought a sanitised copy would pass most security procedures. You know best of course. We can only talk generally.

Good luck anyway :)
Sep 17 '09 #13
NeoPa
32,556 Expert Mod 16PB
So much good posting since I last refreshed.

Megalog's idea is well worth testing. If this proves to be the case then you should look at setting warnings back on (I'll cover that).

ADezii's code is good for the whole job. A quick test of the viability of this would be (Copy and paste this into the Immediate Pane of your IDE) :
Expand|Select|Wrap|Line Numbers
  1. Call DoCmd.SetWarnings(True)
  2. Call CurrentDb.TableDefs("TableName").Delete
Make sure you replace "TableName" with a string containing a valid table from your database that you want deleted.
Sep 17 '09 #14
hi all, back to original question,

How do I find the tables?????

I found them last week by accident, but since have lost them again and can't remember how it was done! I can't find a tools/option/hidden files menu. Attached is a screen grab of what the menue looks like, any suggestions to get my tables back???????
Attached Files
File Type: zip screen grab databasedoc.zip (126.1 KB, 50 views)
Sep 22 '09 #15
NeoPa
32,556 Expert Mod 16PB
I looked at the screenshot, but I have no idea why you posted it. It has no relevance that I can understand.

Anyway, try F11 to see your Database Window.
Sep 22 '09 #16
Thank you, i don't know why i put the screen shot on either, just trying all angles!
Sep 22 '09 #17
NeoPa
32,556 Expert Mod 16PB
@ratedaargh
I can understand that ;)

I assume that the F11 worked for you then?
Sep 22 '09 #18
yes, amazing how one keystroke can make your day! once again, thankyou lifesaver NeoPa
Sep 22 '09 #19

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Dwayne Epps | last post by:
I have a current site that I'm working on that has multiple HTML forms that writes the information to an Access database using ASP. I've recieved input that Access can encounter data corruption...
7
by: Medved | last post by:
Hi, We have not a smallest access database (30 tables, 160 queries,35 forms,40 reports,15 pages) with some links to other databases and some sql queries from other databases.The databse is not...
2
by: RC | last post by:
I am updating/improving a working database for a non-profit organization. I am thinking of making a copy of the database at the office, bringing the copy to my house, making the changes and then...
1
by: Aravind | last post by:
Hi folks. My database project has the following: -------------------------------------------------------------------------------- tables: Member: MemName, MemNo , MemType, CourseFaculty...
1
by: KC | last post by:
I am using Access 2002, with a database template from MS Office. The Orders Management Database. I have tweaked this for use with our company. It is a small database with close to a 1000 records...
7
by: PC Datasheet | last post by:
Looking for suggestions ---- A database was designed for a national automobile inspection program. In it's simplest form, the database has two tables: TblOwner OwnerID <Year/Make/Model owned...
9
by: Pam Ammond | last post by:
I need the code to update the database when Save is clicked and a text field has changed. This should be very easy since I used Microsoft's wizards for the OleDBAdapter and OleDBConnection, and...
10
by: Jim Devenish | last post by:
I have a split front end/back end system. However I create a number of local tables to carry out certain operations. There is a tendency for the front end to bloat so I have set 'compact on...
1
by: jonbartlam | last post by:
Hi There I'm not sure what exactly is going wrong here. I'm writing an application that retreives a table from a database (tbl_internalfaults) and updates it. (Actually, just the status column will...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.