Re: Create Table SQL not working
- From: "Gil, Not the Fish" <GilNottheFish@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 13 May 2005 23:29:01 -0700
I figured out the solution to my problem and I thought I would post it in
case anybody else has the same problem. Tim & Jeff seemed to be so
interested in my application ( which was running perfectly ) that they
couldn't listen to the problem I was having. The problem I had
concatenating the Number (converted to a string) to the end of a constant
strFileName was that the function Str() adds a space for the sign of the
number which when concatenated to the constant and included in the 'Create
Table' SQL statement must have put a character that the strSQL couldn't
accept so I would get a syntax error although everything seemed correct. .
So, after I made the Number a string I then took the sign away by using
Mid(Str(Number),2) and it returned ONLY the number part so I could create the
tables called Quilt1, Quilt2, Quilt3, etc. In order for this to make sense I
think you would have to go back and read the rest of the threads. I hope
this helps someone.
Thanx
"Tim Ferguson" wrote:
> "=?Utf-8?B?R2lsLCBOb3QgdGhlIEZpc2g=?="
> <GilNottheFish@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
> news:BEE9DEAA-7E4A-4AAC-8E50-1C8047D43B75@xxxxxxxxxxxxx:
>
> > Namely, how to concatenate the number to the
> > 'MeaningfulName' part of the filename so that the 'Create Table' SQL
> > string accepts it.
>
> I am with Jeff on this: it sounds less and less like a project with which
> Access's strengths would be helpful (i.e. security, mapping of complex
> data, rapid and easy forms design).
>
> In general, it's a big red warning for putting data into a table name. The
> meaningful name should be a field on the OneBigTable...
>
> All the best
>
>
> Tim F
>
>
.
- Follow-Ups:
- Re: Create Table SQL not working
- From: Jeff Boyce
- Re: Create Table SQL not working
- References:
- Create Table SQL not working
- From: Gil, Not the Fish
- Re: Create Table SQL not working
- From: Jeff Boyce
- Re: Create Table SQL not working
- From: Gil, Not the Fish
- Re: Create Table SQL not working
- From: Tim Ferguson
- Create Table SQL not working
- Prev by Date: monthly evaluation set up
- Next by Date: re:Best way to set up accounts and sub-accounts
- Previous by thread: Re: Create Table SQL not working
- Next by thread: Re: Create Table SQL not working
- Index(es):
Relevant Pages
|