Re: query too Complex



mmm... Ok thanks for your help I'm afraid that I have to make a
workaround.... btw have you tried to store a large amout of data in the
table(s)?

Gerben.

"Anders Altberg" <x_pragma@xxxxxxxxx> wrote in message
news:u9KqCFYSFHA.248@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Gerben
> I actually made a new database and created the two tables MaliingEmail and
> Email, with all the columns listed in your view query. I then copied your
> CREATE VIEW statement from Outlook Express to my Command window and ran
> it.
> No problem creating the view or using the view.
> -Anders
>
> "Gerben Kessen" <gerben.kessen(@)wantit.nl> wrote in message
> news:eLbwQ8PSFHA.1096@xxxxxxxxxxxxxxxxxxxxxxx
>> Thanks again for your post.
>> But that's not the case. What I wrote in my first post. This statement is
>> working in vfp9 but only when I zap the tables or when I only select 1
> field
>> .... and .... it is still working in VFP7..
>>
>> Strange isn't it ?? Sys(3055) does not make any difference btw.
>>
>> Gerben.
>>
>>
>>
>> "Anders Altberg" <x_pragma@xxxxxxxxx> wrote in message
>> news:%238phPVPSFHA.3972@xxxxxxxxxxxxxxxxxxxxxxx
>> > Hi Gerben
>> > There's nothing wrong with the create view command as such; it worked
> for
>> > me
>> > in VFP9. Are you running this as a macro or trying to store the whole
>> > shebang in a string literal. In that case it's to long, 325 bytes where
>> > the
>> > maximum length of a string literal is 255.
>> > -Anders
>> >
>> > "Gerben Kessen" <gerben.kessen(@)wantit.nl> wrote in message
>> > news:u#x#qbDSFHA.204@xxxxxxxxxxxxxxxxxxxxxxx
>> >> This is the query:
>> >>
>> >> create view mvMailingEmail as ;
>> >> SELECT MailingEmail.id,MailingEmail.iEmail, MailingEmail.iPerson,
>> >> MailingEmail.iReservation,MailingEmail.dSent, MailingEmail.cEmaillog,
>> >> MailingEmail.iMailing,email.cEmailAddress as cEmailAddress;
>> >> FROM MailingEmail join Email on Email.id=MailingEmail.iEmail;
>> >> WHERE MailingEmail.iMailing=?lid
>> >>
>> >> The error is 1845
>> >>
>> >> Gerben.
>> >>
>> >> "Stefan Wuebbe" <stefan.wuebbe@xxxxxx> wrote in message
>> >> news:%23F%23ubU1RFHA.1176@xxxxxxxxxxxxxxxxxxxxxxx
>> >> >
>> >> > "Gerben Kessen" <gerben.kessen(@)wantit.nl> schrieb im Newsbeitrag
>> >> > news:uJNC%23kxRFHA.3544@xxxxxxxxxxxxxxxxxxxxxxx
>> >> >> Hi,
>> >> >>
>> >> >> I have some pretty large tables, about 2.000.000 records, creating
>> >> >> a
>> >> >> simple view which joins the tables gives an SQL query too
>> >> >> complex...
>> >> >> When I zap the table it works as expected. When I remove some
> fields
>> >> >> from the select it sometimes works
>> >> >> And... when I compile it in VFP7 it works without any problem.
>> >> >
>> >> > Hi Gerben,
>> >> > Which error number do you get? in Vfp9 only?
>> >> > Would Sys(3055) help?
>> >> >
>> >> >
>> >> > hth
>> >> > -Stefan
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > |\_/| ------ ProLib - programmers liberty -----------------
>> >> > (.. ) Our MVPs and MCPs make the Fox run....
>> >> > - / See us at www.prolib.de or www.AFPages.de
>> >> > -----------------------------------------------------------
>> >> >
>> >>
>> >>
>> >
>>
>>
>


.



Relevant Pages

  • Re: query too Complex
    ... What I wrote in my first post. ... working in vfp9 but only when I zap the tables or when I only select 1 field ... Are you running this as a macro or trying to store the whole ... > shebang in a string literal. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Mail order shipping schedule
    ... B&H Holiday Schedule: April 2008 ... this store takes a strict position. ... Because the Jerusalem municipality does not want it sold in restaurants (for ... Explaining it now, these two omissions from your first post, doesn't ...
    (soc.culture.jewish.moderated)
  • Re: Unique alpha numeric generator
    ... store the string in a table AND he's using VFP9. ... I respect your knowledge and expertise but ...
    (microsoft.public.fox.programmer.exchange)
  • Re: ..visited the new Guitar Center store in central MA, today.. HAHAHAHAHAHAHAHA
    ... I walk in, things look like ya normal Guitar Center store, tucked away behind ... some bedding store (doing more walk-in traffic, btw). ... of fake amp cabs. ... He then asks about my REEVES amp T-shirt, asking who they were, ...
    (alt.guitar.amps)
  • Re: Need VB code for add sequential records to table
    ... If the alpha part of the ... > "number" is always the same then there's no need to store it. ... BTW I ... > wouldn't user "Number" as a field name as it may cause confusion when you ...
    (microsoft.public.access.formscoding)