Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 To: Yull67
  
 
 
 Yull67
 Tags
Subject: RE: CAST Something AS M (binary) - ?
Thread ID: 143693 Message ID: 143812 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Friday, August 31, 2007 5:27:50 PM         
   


> >
> > I don't see how... The matter is - it's a UDF collecting entries from a grid's column populated with comboboxes. That is the thing looks like
> >
> > CAST(GetListEntries(lcPK) AS Whatever)

> > If I follow your advise, I guess I have to make a cursor TEMP (Fld1 M NOCPTRANS), shove the return from GetListEntries() into it and then SELECT &lcFlds, Fld1 FROM OtherTbl, TEMP - is it what you mean?
> >
> > Regards,
> >
> > Ilya
>
> Hi Ilya,
>
> All I meant in the first part of the post is to try and use CAST(getListEntries(lcPK) AS M).

Yeah, I tried it after your advise. To my surprise - it did work. I was reluctant to go without NOCPTRANS because, well, I remember the grief caused by upgrading from FPD2.5 to VFP3.0b all too well... Another thing is, that I will have to ensure there's CPDIALOG = OFF in our config file if I go without NOCPTRANS - but that's OK, I guess.

NOCPTRANS cannot be used as a parameter in this func, AFAIK. WRT your question, I'm sorry, I don't have VFP around,

Excuse moi, mon chere amie - huh?! What you're working with, then? MS Sequel + CPP/C#?

> Yull
>
> PS I'm a "he" alright. :) I didn't think it might be so confusing! :)

Well, mate, y'see, being originally from Europe, I thought that "Yull" might be either "Yullian/Julian" or "Yullia(na)/Jullia(nna)", and (unlike some other languages) there ain't no indication on the gender neither in verbs nor in adjectives in English, let alone nouns. And since there's no photo neither city/country of residence, only "Yull67" up there in the box... the rest is anybody's guess. And since witch hunt on "political incorrectness" is still rampant in the US (and more so in CA)... "better be safe than sorry"!

And I meant no offense, Sir!



Regards,

Ilya

ENTIRE THREAD

CAST Something AS M (binary) - ? Posted by Ilya Rabyy @ 8/31/2007 12:04:37 AM
RE: CAST Something AS M (binary) - ? Posted by Yull67 @ 8/31/2007 2:03:34 AM
RE: CAST Something AS M (binary) - ? Posted by Borislav Borissov @ 8/31/2007 9:00:13 AM
RE: CAST Something AS M (binary) - ? Posted by Ilya Rabyy @ 8/31/2007 4:42:08 PM
RE: CAST Something AS M (binary) - ? Posted by Ilya Rabyy @ 8/31/2007 4:33:42 PM
RE: CAST Something AS M (binary) - ? Posted by Yull67 @ 8/31/2007 4:54:00 PM
RE: CAST Something AS M (binary) - ? Posted by Ilya Rabyy @ 8/31/2007 5:27:50 PM
RE: CAST Something AS M (binary) - ? Posted by Yull67 @ 8/31/2007 6:05:46 PM
RE: CAST Something AS M (binary) - ? Posted by Ilya Rabyy @ 8/31/2007 6:33:09 PM
RE: CAST Something AS M (binary) - ? Posted by Cetin Basoz @ 8/31/2007 5:57:56 PM
RE: CAST Something AS M (binary) - ? Posted by Ilya Rabyy @ 8/31/2007 6:09:57 PM
RE: CAST Something AS M (binary) - ? Posted by Cetin Basoz @ 8/31/2007 11:32:32 PM