navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Update Access Database

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Update Access Database
Page: [1]
 
jjhill

 

Posts: 68
From: Randolph, MA, USA
Status: offline

 
Update Access Database - 2/23/2001 15:18:00   
Is there an Add-In Wizard or product that will provide the SQL info directly to FP2000 or indirectly?

I have an Access2000 Database that I would like to be able to edit through my website.
I am not a programmer.

I have gone thru the OutFront [Update database] and tried to use the custom query but I don't seem to understand it.
I was hopeing for an add-in or wizard that could help do what I need.

My table contains approx. 32 columns and has 25000 records.

Sorry, My website is not public so I can't show it to you.

Any Help would be greatly appreciated.

Jack

Shirley

 

Posts: 3127
Joined: 1/8/1999
From: Omaha, Ne USA
Status: offline

 
RE: Update Access Database - 2/23/2001 15:58:00   
http://support.microsoft.com/support/kb/articles/q240/0/90.asp?LNG=ENG&SA=ALLKB&FR=0

I am sure Spooky has an easier way.


(in reply to jjhill)
jjhill

 

Posts: 68
From: Randolph, MA, USA
Status: offline

 
RE: Update Access Database - 2/23/2001 21:59:00   
quote:
Originally posted by Shirley:
[URL=http://support.microsoft.com/support/kb/articles/q240/0/90.asp?LNG=ENG&SA=ALLKB&FR=0]http://support.microsoft.com/support/kb/articles/q240/0/90.asp?LNG=ENG&SA=ALLKB&FR=0[/U RL]

I am sure Spooky has an easier way.


Thank you for the Link. After installing it. It seems to be much the same as in OutFront. I will go through it and see if there are any differences. I was hoping for a wizard that will build it through questions.

Thanks
Jack


(in reply to jjhill)
jjhill

 

Posts: 68
From: Randolph, MA, USA
Status: offline

 
RE: Update Access Database - 2/26/2001 13:39:00   
quote:
Originally posted by jjhill:
Thank you for the Link. After installing it. It seems to be much the same as in OutFront. I will go through it and see if there are any differences. I was hoping for a wizard that will build it through questions.

Thanks
Jack


As I stated in my first post above, I am not a programmer. I know how to get to the Custom Query. But, Is there a way to update any or all of the 32 columns?
When you use the Custom Query do you have to list all the fields? Or just the Primary Key Field!

Thanks for any help provided.

Jack


(in reply to jjhill)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Update Access Database - 2/26/2001 19:43:00   
Can you explain a little more what you are trying to do? Sometimes, it can be easier to update the actual source, depending what you need to achieve.

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to jjhill)
jjhill

 

Posts: 68
From: Randolph, MA, USA
Status: offline

 
RE: Update Access Database - 2/26/2001 22:37:00   
quote:
Originally posted by Spooky:
Can you explain a little more what you are trying to do? Sometimes, it can be easier to update the actual source, depending what you need to achieve.


Spooky,

I have a Database that has 25000 records. Names Address Etc. There are 32 Fields - ID (Key) FirstName, LastName, Address, Telephone, Etc. I would like to be able to upday any one of the 32 fields.
Can this be done?

Thanks for your input.
Jack


(in reply to jjhill)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Update Access Database - 2/26/2001 23:26:00   
Updating singular records like that is certainly achievable. Which part do you think you need help with or what have you tried so far?

(in reply to jjhill)
jjhill

 

Posts: 68
From: Randolph, MA, USA
Status: offline

 
RE: Update Access Database - 2/27/2001 13:40:00   
quote:
Originally posted by Spooky:
Updating singular records like that is certainly achievable. Which part do you think you need help with or what have you tried so far?

Spooky,

Thanks for your help.
I have been able to creat a form with Database Results. I can see all records in one form and have created another form with a search on the ID (Key) field. This form when results returned is one record with all fields displayed.

-------
Say I search for 18334 under the ID Field.
Results Returned as follows:
ID = 18334
FirstName = Mary
LastName = Jones
Address = 123 Any Street
City = MyTown
State = AZ
Zip = 72231
Phone = (818)222-1234
CompanyName = XYZ Corp.
CoAddress = 246 Main Street
CoCity = Boston
CoState = MA
CoZip = 02020
CoPhone = (617)999-0000
Etc........

Could it be possible to edit (Update) any one or more of the fields content? What is the nessesary steps to do this.

Thanks
Jack


(in reply to jjhill)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Update Access Database - 2/27/2001 23:25:00   

From the www.outfront.net/spooky/update.htm page :

You would construct a form with 2 boxes called "phone" and "ID"

In the form options, post to Script - specify the DRW page name.

Add this code at step 2 :

UPDATE DISTINCTROW
TABLE
SET Phone ='::Phone::'
WHERE ID=::ID
::

It assumes you know the record number of the phone you wish to change!

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to jjhill)
jjhill

 

Posts: 68
From: Randolph, MA, USA
Status: offline

 
RE: Update Access Database - 2/28/2001 15:30:00   
quote:
Originally posted by Spooky:

From the www.outfront.net/spooky/update.htm page :

You would construct a form with 2 boxes called "phone" and "ID"

Thanks Spooky,
I will try it.
Jack

In the form options, post to Script - specify the DRW page name.

Add this code at step 2 :

UPDATE DISTINCTROW
TABLE
SET Phone ='::Phone::'
WHERE ID=::ID
::

It assumes you know the record number of the phone you wish to change!



(in reply to jjhill)
jjhill

 

Posts: 68
From: Randolph, MA, USA
Status: offline

 
RE: Update Access Database - 4/11/2001 20:59:00   
Spooky,
I was finally able to figure out how to make the Update.

New Problem,
Can you update a Yes/No field?
I have a field called Active and is a Y/N field.
When I added it to my SQL in DRW I would get an error - so I removed it and it worked fine.
Thanks for all your help.
Jack


(in reply to jjhill)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Update Access Database - 4/12/2001 17:09:00   
Do you recall the error?

(in reply to jjhill)
jjhill

 

Posts: 68
From: Randolph, MA, USA
Status: offline

 
RE: Update Access Database - 4/13/2001 17:19:00   
This is the Error:

Server error: Unable to retrieve schema information from the query:

UPDATE Randolph17Plus

SET

RandolphID='1',

FirstName='2',

LastName='3',

Delete='4'

WHERE ID=5

against a database using the connection string

DSN=sbhmain;DRIVER={Microsoft Access Driver (*.mdb)}.

The following error message comes from the database driver software; it may appear in a different language depending on how the driver is configured.
-------------------------------------------------------
[Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.

Source: Microsoft OLE DB Provider for ODBC Drivers
Number: -2147217900 (0x80040e14)

In Access2000 the Delete field is a Yes/No
If I remove it from the list the query works fine.
Thanks for your Help.
Jack


(in reply to jjhill)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Update Access Database
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts