[DUG] BDS2006 or Rad 2007 & the web
Charlie
kerscher at bellsouth.net
Wed Sep 2 12:27:29 NZST 2009
Thank you Steve, that code certainly doesn't look all that overwhelming to
me; yeah! I believe I know enough to take the result of the function and can
plug into an SQL to display that person's records.
I'll give it a try; but please forgive me in advance if I have to bother you
some more.
Appreciate the help so much,
Charlie
=================================
You can get the currently logged in user from code like this:
function Tdm.NetworkID: string;
var buffer : string;
buffSize : DWORD;
bRet: boolean;
begin
buffSize:=128;
SetLength(buffer,buffSize);
bRet := GetUserName(PChar(buffer), buffSize);
if bRet then
Result := strpas(PChar(buffer))
else
Result := '';
end;
Otherwise you may need them to login to your app separately.
Steve
> -----Original Message-----
> From: Charlie [mailto:kerscher at bellsouth.net]
> Sent: Wednesday, 2 September 2009 11:43 a.m.
> To: 'NZ Borland Developers Group - Delphi List'
> Subject: Re: [DUG] BDS2006 or Rad 2007 & the web
>
> By the way does anyone have experience with concurrent remote users
> accessing an application on the company's server. I realize
> that a Citrix
> server would allow multiple, concurrent connections? I need
> help with what
> happens after a user logs in. Namely, somehow I will need to
> take that login
> and use it to run and display a query for that customer's open orders.
> In subsequent programming I need to allow customers to log in
> and enter
> their own orders.
> If you are able to help me what will your fees be?
> Thanks again,
> Charlie
>
> Charlie Kerscher
> 'A Magisterium Faithful Catholic'
> Williamson GA
> Cell: 770.468.1757
>
>
> -----Original Message-----
> From: delphi-bounces at delphi.org.nz
> [mailto:delphi-bounces at delphi.org.nz] On
> Behalf Of Charlie
> Sent: Tuesday, September 01, 2009 7:23 PM
> To: 'NZ Borland Developers Group - Delphi List'
> Subject: Re: [DUG] BDS2006 or Rad 2007 & the web
>
> I've just been re-working an app to use firebird in D2010 and
> seems to
> work well. The server is compiled in D2010 and the client in D2007 -
> and I'm not having any unicode conversion problems (that I can tell).
>
> Alister, since I don't know anything about Firebird what is
> the best way
> (tutorial, sample apps, etc) for me to become capable of
> using Firebird as
> my database?
> Assuming I can get to a point of actually using Firebird, am
> I going to be
> able to convert my application which uses liberally InfoPower
> Suite 2007,
> JEDI, AceReporter, & SMImport components/report writer?
> Thanks,
> Charlie
>
> Alister Christie
> Computers for People
> Ph: 04 471 1849 Fax: 04 471 1266
> http://www.salespartner.co.nz
> PO Box 13085
> Johnsonville
> Wellington
>
>
>
> Richard Vowles wrote:
> > Don't use MySQL for a commercial app. You'll have to GPL
> your own app
> > to use it. Use Postgres or Firebird if you want non-MS. Firebird
> > support is in Delphi 2010 (not 2007)?
> >
> > 2009/9/1 Charlie <kerscher at bellsouth.net
> <mailto:kerscher at bellsouth.net>>
> >
> >
> > What are your feelings about MySql?
> >
> >
> >
> >
> > --
> > ---
> > Richard Vowles, Technical Advisor
> > Developers Inc Ltd
> > web. http://www.developers-inc.co.nz
> > ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384
> > skype. rvowles, LinkedIn, Twitter
> >
> >
> >
> --------------------------------------------------------------
> ----------
> >
> > _______________________________________________
> > NZ Borland Developers Group - Delphi mailing list
> > Post: delphi at delphi.org.nz
> > Admin: http://delphi.org.nz/mailman/listinfo/delphi
> > Unsubscribe: send an email to delphi-request at delphi.org.nz
> with Subject:
> unsubscribe
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz
> with Subject:
> unsubscribe
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz
> with Subject:
> unsubscribe
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz
> with Subject: unsubscribe
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.409 / Virus Database: 270.13.73/2338 - Release
> Date: 09/01/09 06:52:00
>
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
More information about the Delphi
mailing list