Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPListings (Info Locked Info Locked)
 CJWSoft Support Info : ASPListings
Subject Info: adding more pictures A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
ark2
New User
New User


Joined: May/24/2006
Online Status: Offline
Info: 2
Added: May/24/2006 at 12:11am | IP Logged Quote ark2

Chris,

I have a problem adding more pictures, I changed the code below:

Set CmdEditAd = Server.CreateObject("ADODB.Recordset")
cmdTemp.CommandText = "SELECT Ads.* FROM Ads WHERE (Ad_ID = " & Ad_ID & ")"
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = ConnClassified
CmdEditAd.Open cmdTemp, , 0, 1

 Name = CmdEditAd("Name")
 Image1_Uploaded = CmdEditAd("Image1_Uploaded")
 Image1_FileExtension = CmdEditAd("Image1_FileExtension")
 Image2_Uploaded = CmdEditAd("Image2_Uploaded")
 Image2_FileExtension = CmdEditAd("Image2_FileExtension")
 Image3_Uploaded = CmdEditAd("Image3_Uploaded")
 Image3_FileExtension = CmdEditAd("Image3_FileExtension")
 Image4_Uploaded = CmdEditAd("Image4_Uploaded")
 Image4_FileExtension = CmdEditAd("Image4_FileExtension")
 Image5_Uploaded = CmdEditAd("Image5_Uploaded")
 Image5_FileExtension = CmdEditAd("Image5_FileExtension")
 Image6_Uploaded = CmdEditAd("Image6_Uploaded")
 Image6_FileExtension = CmdEditAd("Image6_FileExtension")
 Image7_Uploaded = CmdEditAd("Image7_Uploaded")
 Image7_FileExtension = CmdEditAd("Image7_FileExtension")
 Image8_Uploaded = CmdEditAd("Image8_Uploaded")
 Image8_FileExtension = CmdEditAd("Image8_FileExtension")
 Image9_Uploaded = CmdEditAd("Image9_Uploaded")
 Image9_FileExtension = CmdEditAd("Image9_FileExtension")
 Image10_Uploaded = CmdEditAd("Image10_Uploaded")
 Image10_FileExtension = CmdEditAd("Image10_FileExtension")
 Image11_Uploaded = CmdEditAd("Image11_Uploaded")
 Image11_FileExtension = CmdEditAd("Image11_FileExtension")
 Image12_Uploaded = CmdEditAd("Image12_Uploaded")
 Image12_FileExtension = CmdEditAd("Image12_FileExtension")

but I guess I need to also modify the database, and I can't open the access 2002 version using the tool I always use, stp admin,

Could you tell me how to add more pictures to your app?

they uploading fine, but show up as not uploaded, and pop up below the upload menu, which is fine, but I bet the front end will not
show them properly either unless I remove database check and only go by file check...

Is there a better way? simply adding options for them to database?

thanks!

Back to Top View ark2's Profile Search for other info by ark2
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: May/24/2006 at 12:17am | IP Logged Quote cwilliams

Basically adding more pictures means custom work to the code and database as you are doing. It is not supported.

I can tell you this. You should be probably be opening the database up with "Microsoft Access", not some other application. Chances are it doesnt like the fact that the database has a password on it is my guess. Work on the Access Databases using the real deal.

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
ark2
New User
New User


Joined: May/24/2006
Online Status: Offline
Info: 2
Added: May/24/2006 at 12:41am | IP Logged Quote ark2

ok, I simply forgot the password, changes made works fine now with 12 pictures
Back to Top View ark2's Profile Search for other info by ark2
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com