Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > Re: an easy one...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 14 Topic 30650 of 31573
Post > Topic >>

Re: an easy one (it was easy)

by Arch <send.no@[EMAIL PROTECTED] > Jul 4, 2008 at 12:13 AM

On Fri, 04 Jul 2008 04:04:08 GMT, "Jim" <jimt@[EMAIL PROTECTED]
> wrote:

>just in case anyone else had a similar question, I figured this out by 
>mimicking the code in another database that uses an append sql statement
>
>Mine goes as such:
>dim strsql as string
>strsql = "INSERT INTO tblPayRollSub ( Employee, PayrollID )" _
>& "SELECT Employees.EmpName, (forms!frmpayrollheader!prheaderid) AS
PR_ID" _
>& "FROM Employees" _
>& "WHERE (((Employees.Status) = strstat) And ((Employees.Type) =
strtype))" 
>_
>& "ORDER BY Employees.EmpName;"
>
>
>Cheers,
>

I predict you're going to have problems with that. Just exactly what
are strstat and strtype?
 




 14 Posts in Topic:
an easy one
"Jim" <jimt@  2008-07-04 03:26:48 
Re: an easy one
Tom van Stiphout <no.s  2008-07-03 20:32:13 
Re: an easy one
"Jim" <jimt@  2008-07-04 03:41:36 
Re: an easy one
fredg <fgutkind@[EMAIL  2008-07-04 06:17:59 
Re: an easy one (it was easy)
"Jim" <jimt@  2008-07-04 04:04:08 
Re: an easy one (it was easy)
Arch <send.no@[EMAIL P  2008-07-04 00:13:56 
Re: an easy one (it was easy)
"Jim" <jimt@  2008-07-04 04:18:50 
Re: an easy one (it was easy)
"KC-Mass" <c  2008-07-04 07:38:33 
Re: an easy one (it was easy)
"Jim" <jimt@  2008-07-04 11:54:21 
Re: an easy one (it was easy)
"Rick Brandt" &  2008-07-04 07:28:41 
Re: an easy one (it was easy)
"KC-Mass" <c  2008-07-06 10:59:22 
Re: an easy one (it was easy)
"Rick Brandt" &  2008-07-07 16:50:48 
Re: an easy one (it was easy)
"KC-Mass" <c  2008-07-08 10:29:49 
Re: an easy one (it was easy)
Bob Quintal <rquintal@  2008-07-04 18:04:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 23:18:29 CST 2008.