PC Review


Reply
Thread Tools Rate Thread

Adding a Hard Return or carriage return in an update query?

 
 
Lakota2k
Guest
Posts: n/a
 
      13th Sep 2008
Ok Here is the question..
I am running an update querry that is being called from a button in a form.
The query askes the user 2 questions?

Please enter the old serial number

then
Please enter a new serial number

Here is the catch:
I am asking these questions that will be answered by using a symbol scanner
and barcodes.
The scanner is attached to a tablet pc so adding an automatic hard return or
carriage return after the client has scanned the barcode would allow them to
keep scanning without having to stop scanning and use a pen tool to hit the
enter key.
The code looks like this:

UPDATE MONITOR SET MONITOR.[New Serial No] = [Scan New Monitor Serial Here]
WHERE (((MONITOR.SerialNo)=[Scan Serial Number Here]));

Is it possible to add a return after each question?
Thanks

Chris


 
Reply With Quote
 
 
 
 
Lakota2k
Guest
Posts: n/a
 
      15th Sep 2008
MGFoster:

Thanks for the answer but it leads me to one more question..

Where in the heck do I put that code?

I tried in a few locations but im not getting very far with it.

Any additional assistance would be greatly appreciated..

Chris


"MGFoster" wrote:

> Lakota2k wrote:
> > Ok Here is the question..
> > I am running an update querry that is being called from a button in a form.
> > The query askes the user 2 questions?
> >
> > Please enter the old serial number
> >
> > then
> > Please enter a new serial number
> >
> > Here is the catch:
> > I am asking these questions that will be answered by using a symbol scanner
> > and barcodes.
> > The scanner is attached to a tablet pc so adding an automatic hard return or
> > carriage return after the client has scanned the barcode would allow them to
> > keep scanning without having to stop scanning and use a pen tool to hit the
> > enter key.
> > The code looks like this:
> >
> > UPDATE MONITOR SET MONITOR.[New Serial No] = [Scan New Monitor Serial Here]
> > WHERE (((MONITOR.SerialNo)=[Scan Serial Number Here]));
> >
> > Is it possible to add a return after each question?

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Yes. But the new line can be 2 characters (MS systems) or 1 character
> (*nix systems, etc.). For MS systems use the characters Chr$(13) &
> Chr$(10) (that's CR & LF). For the *nix, etc. systems use the Chr$(13)
> character.
> --
> MGFoster:::mgf00 <at> earthlink <decimal-point> net
> Oakland, CA (USA)
> ** Respond only to this newsgroup. I DO NOT respond to emails **
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP for Personal Privacy 5.0
> Charset: noconv
>
> iQA/AwUBSMtUTIechKqOuFEgEQK/qwCfTeYsKWWgLtwSf5WtJUKrSs007poAoMHq
> APqHnIVzvtoM2mu7ALDb7nlZ
> =D6vv
> -----END PGP SIGNATURE-----
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding a Carriage Return or Line Feed character to an update query Paul Microsoft Access Queries 2 26th May 2010 01:37 AM
Carriage Return in an Update Query =?Utf-8?B?U3VlIENvbXBlbGxpbmc=?= Microsoft Access Queries 4 31st Oct 2008 04:26 PM
Adding a carriage return =?Utf-8?B?U3RlcGhhbmll?= Microsoft Access Form Coding 6 3rd Aug 2007 09:22 PM
Search and replace hard-line-return character, not carriage return =?Utf-8?B?VHlsZXIgVA==?= Microsoft Word Document Management 2 16th Aug 2006 09:11 PM
Adding a carriage return in a query ANDY PHILLEY Microsoft Access Queries 4 19th Mar 2004 03:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:27 AM.