J
John
Ok, I posted in here a few days ago about a problem with apostrophes in text
fields and I tried a few of the suggestions and now I'm in so deep I looking
at scraping the whole thing because now I don't know where to begin. If
fixing it looks like it will take longer than starting over then I suppose I
should let this ship sink and swim to shore and regroup.
Here's the way I started. Not the best way I'm sure. I'm self taught so
for those of you that did this in college you have have an idea of what I'm
going through and all the pitfalls and chasms I keep falling into. Anyway,
here's the summary of my mess.
I started entering info into an Access db before I wrote a line of code. 2
tables: gigs and places. I wanted to keep "places" separate from "gigs" to
keep prevent redundant info in the db. This way (I thought) it would be
easier this way so the "places" info would always be there to call on
instead rewriting it everytime and if something new came up to provide and
opportunity for the user to enter the info separately then just reuse it as
it came up. I was going to "cheat" and just create separate recordsets...an
RS for "gigs" then just create another for "places". WELL don't we have
quite a mess now!! Arg. Here the problems I've run into...
It started with the delimiter problems. The apostrophes in text fields
wreaked havoc on my data calls. I've been evil and using "SELECT *" so it
hasn't come up in sql strings "yet". The problems came when I tried to
match records in recordsets to something generated in loops...like looping
records in a select tag in html to produce all the options in a dropbox.
The problem was with apostrophes the record would stop writing when it hit
that first apostrophe in the text field. SO I tried using "Replace" to turn
them all into ´ that ended up creating a bigger mess (and html kept
interpreting ´ into ' so I could get them to mesh) and in the DB so
the more I mess with the worse things got...chasing the train as it were...
I did try to go back and change the Replace to "''" rather than "´"
(hard to read, ain't it) thats quote 2 apostrophes quote. I didn't
understand that in prior posts until later. By this time this thing is a
mess......
I messed with Access and tried using the lookup wizard to link the tables
but, as you know, that produces numeric ID's so around and around we
go.....AAHHHH!
So then I start reading up on JOIN's, inner's, outer's, left's ,right,s.
None of them seem to be what I need (and I'm just getting a handle on
sql)...and my head is spinning while I watch the clock run out on this
project. I AM GOING NUTS!!!
Oh, and this is the site by the way. the front end is done. It's the
backend, the users admin side, that's causing all the problems.
http://thehalftonhorns.com
So this is what I what to do...
1). have 2 tables, "gigs" and "places"
2). be able to call on and update both in recordsets
Here's a list of books I have on hand if you want to point me in a direction
you know of...
Beginning Active Server Pages 3.0 (Wrox)
Beginning ASP Databases (Wrox)
Beginning Javascript (Wrox)
HTML Complete
MSDN Library -Visual Studio 6.0 (disk)
I really hope someone can help on this. I'm driving my wife and kids nuts
locked in this room for days turning into "monster daddy".
Thanks!!!!
John
fields and I tried a few of the suggestions and now I'm in so deep I looking
at scraping the whole thing because now I don't know where to begin. If
fixing it looks like it will take longer than starting over then I suppose I
should let this ship sink and swim to shore and regroup.
Here's the way I started. Not the best way I'm sure. I'm self taught so
for those of you that did this in college you have have an idea of what I'm
going through and all the pitfalls and chasms I keep falling into. Anyway,
here's the summary of my mess.
I started entering info into an Access db before I wrote a line of code. 2
tables: gigs and places. I wanted to keep "places" separate from "gigs" to
keep prevent redundant info in the db. This way (I thought) it would be
easier this way so the "places" info would always be there to call on
instead rewriting it everytime and if something new came up to provide and
opportunity for the user to enter the info separately then just reuse it as
it came up. I was going to "cheat" and just create separate recordsets...an
RS for "gigs" then just create another for "places". WELL don't we have
quite a mess now!! Arg. Here the problems I've run into...
It started with the delimiter problems. The apostrophes in text fields
wreaked havoc on my data calls. I've been evil and using "SELECT *" so it
hasn't come up in sql strings "yet". The problems came when I tried to
match records in recordsets to something generated in loops...like looping
records in a select tag in html to produce all the options in a dropbox.
The problem was with apostrophes the record would stop writing when it hit
that first apostrophe in the text field. SO I tried using "Replace" to turn
them all into ´ that ended up creating a bigger mess (and html kept
interpreting ´ into ' so I could get them to mesh) and in the DB so
the more I mess with the worse things got...chasing the train as it were...
I did try to go back and change the Replace to "''" rather than "´"
(hard to read, ain't it) thats quote 2 apostrophes quote. I didn't
understand that in prior posts until later. By this time this thing is a
mess......
I messed with Access and tried using the lookup wizard to link the tables
but, as you know, that produces numeric ID's so around and around we
go.....AAHHHH!
So then I start reading up on JOIN's, inner's, outer's, left's ,right,s.
None of them seem to be what I need (and I'm just getting a handle on
sql)...and my head is spinning while I watch the clock run out on this
project. I AM GOING NUTS!!!
Oh, and this is the site by the way. the front end is done. It's the
backend, the users admin side, that's causing all the problems.
http://thehalftonhorns.com
So this is what I what to do...
1). have 2 tables, "gigs" and "places"
2). be able to call on and update both in recordsets
Here's a list of books I have on hand if you want to point me in a direction
you know of...
Beginning Active Server Pages 3.0 (Wrox)
Beginning ASP Databases (Wrox)
Beginning Javascript (Wrox)
HTML Complete
MSDN Library -Visual Studio 6.0 (disk)
I really hope someone can help on this. I'm driving my wife and kids nuts
locked in this room for days turning into "monster daddy".
Thanks!!!!
John